Class: Dodopayments::Models::Customers::CustomerWallet
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 ⇒ Object
26
|
# File 'sig/dodopayments/models/customers/customer_wallet.rbs', line 26
def initialize: (
|
Instance Attribute Details
#balance ⇒ Integer
10
|
# File 'lib/dodopayments/models/customers/customer_wallet.rb', line 10
required :balance, Integer
|
#created_at ⇒ Time
15
|
# File 'lib/dodopayments/models/customers/customer_wallet.rb', line 15
required :created_at, Time
|
20
|
# File 'lib/dodopayments/models/customers/customer_wallet.rb', line 20
required :currency, enum: -> { Dodopayments::Currency }
|
#customer_id ⇒ String
25
|
# File 'lib/dodopayments/models/customers/customer_wallet.rb', line 25
required :customer_id, String
|
#updated_at ⇒ Time
30
|
# File 'lib/dodopayments/models/customers/customer_wallet.rb', line 30
required :updated_at, Time
|
Instance Method Details
#to_hash ⇒ {
34
|
# File 'sig/dodopayments/models/customers/customer_wallet.rbs', line 34
def to_hash: -> {
|