Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Card::PaymentDetails::MoneyServices::AccountFunding::LiquidAsset::Crypto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_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.



3298
3299
3300
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3298

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

Instance Attribute Details

#currency_codeObject

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



3296
3297
3298
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3296

def currency_code
  @currency_code
end