Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::CardPresent::PaymentDetails::MoneyServices::AccountFunding::LiquidAsset::Crypto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



3595
3596
3597
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3595

def initialize(currency_code: nil)
  @currency_code = currency_code
end

Instance Attribute Details

#currency_codeObject

The cryptocurrency currency code (e.g. BTC, ETH).



3593
3594
3595
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3593

def currency_code
  @currency_code
end