Class: Stripe::EphemeralKeyCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::EphemeralKeyCreateParams
- Defined in:
- lib/stripe/params/ephemeral_key_create_params.rb
Instance Attribute Summary collapse
-
#customer ⇒ Object
The ID of the Customer you’d like to modify using the resulting ephemeral key.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#issuing_card ⇒ Object
The ID of the Issuing Card you’d like to access using the resulting ephemeral key.
-
#nonce ⇒ Object
A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information.
-
#verification_session ⇒ Object
The ID of the Identity VerificationSession you’d like to access using the resulting ephemeral key.
Instance Method Summary collapse
-
#initialize(customer: nil, expand: nil, issuing_card: nil, nonce: nil, verification_session: nil) ⇒ EphemeralKeyCreateParams
constructor
A new instance of EphemeralKeyCreateParams.
Methods inherited from RequestParams
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 = @issuing_card = issuing_card @nonce = nonce @verification_session = verification_session end |
Instance Attribute Details
#customer ⇒ Object
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 |
#expand ⇒ Object
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 end |
#issuing_card ⇒ Object
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 |
#nonce ⇒ Object
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_session ⇒ Object
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 |