Class: Privy::Models::OnrampSessionParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::OnrampSessionParams
- Defined in:
- lib/privy/models/onramp_session_params.rb,
sig/privy/models/onramp_session_params.rbs
Instance Attribute Summary collapse
- #crypto_customer_id ⇒ String
-
#destination_currency ⇒ String
Token identifier string.
- #destination_network ⇒ String
- #payment_token ⇒ String
- #source_amount ⇒ String
-
#source_currency ⇒ String
ISO 4217 fiat currency code.
- #wallet_address ⇒ String
Instance Method Summary collapse
-
#initialize(crypto_customer_id:, destination_currency:, destination_network:, payment_token:, source_amount:, source_currency:, wallet_address:) ⇒ Object
constructor
Some parameter documentations has been truncated, see OnrampSessionParams for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(crypto_customer_id:, destination_currency:, destination_network:, payment_token:, source_amount:, source_currency:, wallet_address:) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::OnrampSessionParams for more details.
Parameters for creating a Stripe onramp session.
|
|
# File 'lib/privy/models/onramp_session_params.rb', line 45
|
Instance Attribute Details
#crypto_customer_id ⇒ String
9 |
# File 'lib/privy/models/onramp_session_params.rb', line 9 required :crypto_customer_id, String |
#destination_currency ⇒ String
Token identifier string. EVM-shaped 40-hex token addresses normalize to checksum case, 16-byte Hyperliquid token IDs normalize to lowercase, and all other identifiers pass through unchanged.
17 |
# File 'lib/privy/models/onramp_session_params.rb', line 17 required :destination_currency, String |
#destination_network ⇒ String
22 |
# File 'lib/privy/models/onramp_session_params.rb', line 22 required :destination_network, String |
#payment_token ⇒ String
27 |
# File 'lib/privy/models/onramp_session_params.rb', line 27 required :payment_token, String |
#source_amount ⇒ String
32 |
# File 'lib/privy/models/onramp_session_params.rb', line 32 required :source_amount, String |
#source_currency ⇒ String
ISO 4217 fiat currency code. Three uppercase ASCII letters.
38 |
# File 'lib/privy/models/onramp_session_params.rb', line 38 required :source_currency, String |
#wallet_address ⇒ String
43 |
# File 'lib/privy/models/onramp_session_params.rb', line 43 required :wallet_address, String |
Instance Method Details
#to_hash ⇒ {
39 |
# File 'sig/privy/models/onramp_session_params.rbs', line 39
def to_hash: -> {
|