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

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

Defined Under Namespace

Classes: LiquidAsset, Wallet

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(liquid_asset: nil, wallet: nil) ⇒ AccountFunding

Returns a new instance of AccountFunding.



3322
3323
3324
3325
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3322

def initialize(liquid_asset: nil, wallet: nil)
  @liquid_asset = liquid_asset
  @wallet = wallet
end

Instance Attribute Details

#liquid_assetObject

Details for a liquid asset (crypto or security) funding transaction.



3318
3319
3320
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3318

def liquid_asset
  @liquid_asset
end

#walletObject

Details for a wallet funding transaction.



3320
3321
3322
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3320

def wallet
  @wallet
end