Class: Stripe::EphemeralKeyCreateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/ephemeral_key_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(customer: nil, expand: nil, issuing_card: nil, nonce: nil, verification_session: nil) ⇒ EphemeralKeyCreateParams

Returns a new instance of EphemeralKeyCreateParams.



17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 17

def initialize(
  customer: nil,
  expand: nil,
  issuing_card: nil,
  nonce: nil,
  verification_session: nil
)
  @customer = customer
  @expand = expand
  @issuing_card = issuing_card
  @nonce = nonce
  @verification_session = verification_session
end

Instance Attribute Details

#customerObject

The ID of the Customer you’d like to modify using the resulting ephemeral key.



7
8
9
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 7

def customer
  @customer
end

#expandObject

Specifies which fields in the response should be expanded.



9
10
11
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 9

def expand
  @expand
end

#issuing_cardObject

The ID of the Issuing Card you’d like to access using the resulting ephemeral key.



11
12
13
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 11

def issuing_card
  @issuing_card
end

#nonceObject

A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information.



13
14
15
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 13

def nonce
  @nonce
end

#verification_sessionObject

The ID of the Identity VerificationSession you’d like to access using the resulting ephemeral key



15
16
17
# File 'lib/stripe/params/ephemeral_key_create_params.rb', line 15

def verification_session
  @verification_session
end