Class: Privy::Models::BridgeFiatRejectionReason
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::BridgeFiatRejectionReason
- Defined in:
- lib/privy/models/bridge_fiat_rejection_reason.rb,
sig/privy/models/bridge_fiat_rejection_reason.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(reason:) ⇒ BridgeFiatRejectionReason
constructor
A rejection reason for a customer KYC verification.
- #to_hash ⇒ { reason: String }
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(reason:) ⇒ BridgeFiatRejectionReason
A rejection reason for a customer KYC verification.
|
|
# File 'lib/privy/models/bridge_fiat_rejection_reason.rb', line 11
|
Instance Attribute Details
#reason ⇒ String
9 |
# File 'lib/privy/models/bridge_fiat_rejection_reason.rb', line 9 required :reason, String |
Instance Method Details
#to_hash ⇒ { reason: String }
10 |
# File 'sig/privy/models/bridge_fiat_rejection_reason.rbs', line 10
def to_hash: -> { reason: String }
|