Class: Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CryptoWallet

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(address: nil, memo: nil, network: nil) ⇒ CryptoWallet

Returns a new instance of CryptoWallet.



63
64
65
66
67
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 63

def initialize(address: nil, memo: nil, network: nil)
  @address = address
  @memo = memo
  @network = network
end

Instance Attribute Details

#addressObject

Crypto wallet address.



57
58
59
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 57

def address
  @address
end

#memoObject

Optional field, required if network supports memos (only “stellar” currently).



59
60
61
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 59

def memo
  @memo
end

#networkObject

Which rail we should use to make an Outbound money movement to this wallet.



61
62
63
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 61

def network
  @network
end