Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::CardPresent::PaymentDetails::MoneyServices::AccountFunding::LiquidAsset::Crypto
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::CardPresent::PaymentDetails::MoneyServices::AccountFunding::LiquidAsset::Crypto
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
The cryptocurrency currency code (e.g. BTC, ETH).
Instance Method Summary collapse
-
#initialize(currency_code: nil) ⇒ Crypto
constructor
A new instance of Crypto.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(currency_code: nil) ⇒ Crypto
Returns a new instance of Crypto.
3609 3610 3611 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3609 def initialize(currency_code: nil) @currency_code = currency_code end |
Instance Attribute Details
#currency_code ⇒ Object
The cryptocurrency currency code (e.g. BTC, ETH).
3607 3608 3609 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3607 def currency_code @currency_code end |