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

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



3587
3588
3589
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3587

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

Instance Attribute Details

#currency_codeObject

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



3585
3586
3587
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3585

def currency_code
  @currency_code
end