Class: Dodopayments::Models::CustomerLimitedDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CustomerLimitedDetails
- Defined in:
- lib/dodopayments/models/customer_limited_details.rb
Instance Attribute Summary collapse
-
#customer_id ⇒ String
Unique identifier for the customer.
-
#email ⇒ String
Email address of the customer.
-
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata associated with the customer.
-
#name ⇒ String
Full name of the customer.
-
#phone_number ⇒ String?
Phone number of the customer.
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(customer_id: , email: , name: , metadata: nil, phone_number: nil) ⇒ Object
|
|
# File 'lib/dodopayments/models/customer_limited_details.rb', line 36
|
Instance Attribute Details
#customer_id ⇒ String
Unique identifier for the customer
10 |
# File 'lib/dodopayments/models/customer_limited_details.rb', line 10 required :customer_id, String |
#email ⇒ String
Email address of the customer
16 |
# File 'lib/dodopayments/models/customer_limited_details.rb', line 16 required :email, String |
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata associated with the customer
28 |
# File 'lib/dodopayments/models/customer_limited_details.rb', line 28 optional :metadata, Dodopayments::Internal::Type::HashOf[String] |
#name ⇒ String
Full name of the customer
22 |
# File 'lib/dodopayments/models/customer_limited_details.rb', line 22 required :name, String |
#phone_number ⇒ String?
Phone number of the customer
34 |
# File 'lib/dodopayments/models/customer_limited_details.rb', line 34 optional :phone_number, String, nil?: true |