Class: Straddle::Models::Paykeys::AccountValidationDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::Paykeys::AccountValidationDetails
- Defined in:
- lib/straddle/models/paykeys/account_validation_details.rb,
sig/straddle/models/paykeys/account_validation_details.rbs
Instance Attribute Summary collapse
-
#codes ⇒ Array<String>
Result codes returned by the account-validation check.
- #decision ⇒ Symbol, Straddle::Models::Paykeys::PaykeyVerificationResult
-
#reason ⇒ String?
Reason for the account-validation decision.
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(codes:, decision:, reason: nil) ⇒ Object
|
|
# File 'lib/straddle/models/paykeys/account_validation_details.rb', line 24
|
Instance Attribute Details
#codes ⇒ Array<String>
Result codes returned by the account-validation check.
11 |
# File 'lib/straddle/models/paykeys/account_validation_details.rb', line 11 required :codes, Straddle::Internal::Type::ArrayOf[String] |
#decision ⇒ Symbol, Straddle::Models::Paykeys::PaykeyVerificationResult
16 |
# File 'lib/straddle/models/paykeys/account_validation_details.rb', line 16 required :decision, enum: -> { Straddle::Paykeys::PaykeyVerificationResult } |
#reason ⇒ String?
Reason for the account-validation decision.
22 |
# File 'lib/straddle/models/paykeys/account_validation_details.rb', line 22 optional :reason, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
24 |
# File 'sig/straddle/models/paykeys/account_validation_details.rbs', line 24 def to_hash: -> { |