Class: Privy::Models::CreateOrUpdateFiatCustomerRequestInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::CreateOrUpdateFiatCustomerRequestInput
- Defined in:
- lib/privy/models/create_or_update_fiat_customer_request_input.rb
Instance Attribute Summary collapse
- #has_accepted_terms ⇒ Boolean
- #kyc_redirect_url ⇒ String?
-
#provider ⇒ Symbol, Privy::Models::OnrampProvider
Valid set of onramp providers.
Instance Method Summary collapse
-
#initialize(has_accepted_terms:, provider:, kyc_redirect_url: nil) ⇒ Object
constructor
The request input for creating (or updating) a native onramp provider customer.
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(has_accepted_terms:, provider:, kyc_redirect_url: nil) ⇒ Object
The request input for creating (or updating) a native onramp provider customer.
|
|
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 22
|
Instance Attribute Details
#has_accepted_terms ⇒ Boolean
9 |
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 9 required :has_accepted_terms, Privy::Internal::Type::Boolean |
#kyc_redirect_url ⇒ String?
20 |
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 20 optional :kyc_redirect_url, String |
#provider ⇒ Symbol, Privy::Models::OnrampProvider
Valid set of onramp providers
15 |
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 15 required :provider, enum: -> { Privy::OnrampProvider } |