Class: Dodopayments::Models::Brand
Overview
Defined Under Namespace
Modules: VerificationStatus
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(brand_id: , business_id: , enabled: , statement_descriptor: , verification_enabled: , verification_status: , description: nil, image: nil, name: nil, reason_for_hold: nil, support_email: nil, url: nil) ⇒ Object
constructor
==, #==, #[], 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(brand_id: , business_id: , enabled: , statement_descriptor: , verification_enabled: , verification_status: , description: nil, image: nil, name: nil, reason_for_hold: nil, support_email: nil, url: nil) ⇒ Object
|
# File 'lib/dodopayments/models/brand.rb', line 68
|
Instance Attribute Details
#brand_id ⇒ String
10
|
# File 'lib/dodopayments/models/brand.rb', line 10
required :brand_id, String
|
#business_id ⇒ String
15
|
# File 'lib/dodopayments/models/brand.rb', line 15
required :business_id, String
|
#description ⇒ String?
40
|
# File 'lib/dodopayments/models/brand.rb', line 40
optional :description, String, nil?: true
|
#enabled ⇒ Boolean
20
|
# File 'lib/dodopayments/models/brand.rb', line 20
required :enabled, Dodopayments::Internal::Type::Boolean
|
#image ⇒ String?
45
|
# File 'lib/dodopayments/models/brand.rb', line 45
optional :image, String, nil?: true
|
#name ⇒ String?
50
|
# File 'lib/dodopayments/models/brand.rb', line 50
optional :name, String, nil?: true
|
#reason_for_hold ⇒ String?
Incase the brand verification fails or is put on hold
56
|
# File 'lib/dodopayments/models/brand.rb', line 56
optional :reason_for_hold, String, nil?: true
|
#statement_descriptor ⇒ String
25
|
# File 'lib/dodopayments/models/brand.rb', line 25
required :statement_descriptor, String
|
#support_email ⇒ String?
61
|
# File 'lib/dodopayments/models/brand.rb', line 61
optional :support_email, String, nil?: true
|
#url ⇒ String?
66
|
# File 'lib/dodopayments/models/brand.rb', line 66
optional :url, String, nil?: true
|
#verification_enabled ⇒ Boolean
30
|
# File 'lib/dodopayments/models/brand.rb', line 30
required :verification_enabled, Dodopayments::Internal::Type::Boolean
|
35
|
# File 'lib/dodopayments/models/brand.rb', line 35
required :verification_status, enum: -> { Dodopayments::Brand::VerificationStatus }
|