Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::CardPresent::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.



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_codeObject

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