Class: Privy::Models::StripeKYCTier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::StripeKYCTier
- Defined in:
- lib/privy/models/stripe_kyc_tier.rb,
sig/privy/models/stripe_kyc_tier.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(tier:, verification_status:, verification_errors: nil) ⇒ Object
constructor
A KYC tier with its verification status.
- #to_hash ⇒ {
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(tier:, verification_status:, verification_errors: nil) ⇒ Object
A KYC tier with its verification status.
|
|
# File 'lib/privy/models/stripe_kyc_tier.rb', line 21
|
Instance Attribute Details
#tier ⇒ String
9 |
# File 'lib/privy/models/stripe_kyc_tier.rb', line 9 required :tier, String |
#verification_errors ⇒ Array<String>?
19 |
# File 'lib/privy/models/stripe_kyc_tier.rb', line 19 optional :verification_errors, Privy::Internal::Type::ArrayOf[String] |
#verification_status ⇒ String
14 |
# File 'lib/privy/models/stripe_kyc_tier.rb', line 14 required :verification_status, String |
Instance Method Details
#to_hash ⇒ {
25 |
# File 'sig/privy/models/stripe_kyc_tier.rbs', line 25
def to_hash: -> {
|