Class: Privy::Models::BridgeFiatCustomerResponse
Defined Under Namespace
Modules: Provider, Status
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(has_accepted_terms:, provider:, status:, kyc_url: nil, rejection_reasons: nil) ⇒ Object
The response for getting a native onramp provider customer.
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 32
|
Instance Attribute Details
#has_accepted_terms ⇒ Boolean
9
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 9
required :has_accepted_terms, Privy::Internal::Type::Boolean
|
#kyc_url ⇒ String?
25
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 25
optional :kyc_url, String
|
14
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 14
required :provider, enum: -> { Privy::BridgeFiatCustomerResponse::Provider }
|
30
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 30
optional :rejection_reasons, -> { Privy::Internal::Type::ArrayOf[Privy::BridgeFiatRejectionReason] }
|
Status of the KYC verification process.
20
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 20
required :status, enum: -> { Privy::BridgeFiatCustomerResponse::Status }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/privy/models/bridge_fiat_customer_response.rb', line 51
|
Instance Method Details
#to_hash ⇒ {
37
|
# File 'sig/privy/models/bridge_fiat_customer_response.rbs', line 37
def to_hash: -> {
|