Class: Privy::Models::CreateOrUpdateFiatCustomerRequestInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/create_or_update_fiat_customer_request_input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • has_accepted_terms (Boolean)
  • provider (Symbol, Privy::Models::OnrampProvider)

    Valid set of onramp providers

  • kyc_redirect_url (String) (defaults to: nil)


# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 22

Instance Attribute Details

#has_accepted_termsBoolean

Returns:

  • (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_urlString?

Returns:

  • (String, nil)


20
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 20

optional :kyc_redirect_url, String

#providerSymbol, Privy::Models::OnrampProvider

Valid set of onramp providers

Returns:



15
# File 'lib/privy/models/create_or_update_fiat_customer_request_input.rb', line 15

required :provider, enum: -> { Privy::OnrampProvider }