Class: Stripe::Crypto::OnrampSessionCreateParams::WalletAddresses

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

Defined Under Namespace

Classes: DestinationTags

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(destination_tags: nil) ⇒ WalletAddresses

Returns a new instance of WalletAddresses.



23
24
25
# File 'lib/stripe/params/crypto/onramp_session_create_params.rb', line 23

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

Instance Attribute Details

#destination_tagsObject

The end customer's crypto wallet destination tag (for each network) to use for this transaction. This only applies for tag-based assets such as XLM.

  • When left null, the user enters their wallet in the onramp UI.


21
22
23
# File 'lib/stripe/params/crypto/onramp_session_create_params.rb', line 21

def destination_tags
  @destination_tags
end