Class: Dodopayments::Models::Customer
Overview
Instance Attribute 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(business_id:, created_at:, customer_id:, email:, name:, metadata: nil, phone_number: nil) ⇒ Object
|
# File 'lib/dodopayments/models/customer.rb', line 43
|
Instance Attribute Details
#business_id ⇒ String
10
|
# File 'lib/dodopayments/models/customer.rb', line 10
required :business_id, String
|
#created_at ⇒ Time
15
|
# File 'lib/dodopayments/models/customer.rb', line 15
required :created_at, Time
|
#customer_id ⇒ String
20
|
# File 'lib/dodopayments/models/customer.rb', line 20
required :customer_id, String
|
#email ⇒ String
25
|
# File 'lib/dodopayments/models/customer.rb', line 25
required :email, String
|
Additional metadata for the customer
#name ⇒ String
30
|
# File 'lib/dodopayments/models/customer.rb', line 30
required :name, String
|
#phone_number ⇒ String?
41
|
# File 'lib/dodopayments/models/customer.rb', line 41
optional :phone_number, String, nil?: true
|