Class: Dodopayments::Models::CustomerUpdateParams
Overview
Constant Summary
Internal::Type::RequestParameters::Dodopayments
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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(customer_id:, email: nil, metadata: nil, name: nil, phone_number: nil, request_options: {}) ⇒ Object
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 38
|
Instance Attribute Details
#customer_id ⇒ String
13
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 13
required :customer_id, String
|
#email ⇒ String?
18
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 18
optional :email, String, nil?: true
|
Additional metadata for the customer
24
25
26
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 24
optional :metadata,
-> { Dodopayments::Internal::Type::HashOf[union: Dodopayments::MetadataItem] },
nil?: true
|
#name ⇒ String?
31
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 31
optional :name, String, nil?: true
|
#phone_number ⇒ String?
36
|
# File 'lib/dodopayments/models/customer_update_params.rb', line 36
optional :phone_number, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
36
|
# File 'sig/dodopayments/models/customer_update_params.rbs', line 36
def to_hash: -> {
|