Class: Dodopayments::Models::PaymentListResponse
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(brand_id: , created_at: , currency: , customer: , digital_products_delivered: , metadata: , payment_id: , total_amount: , payment_method: nil, payment_method_type: nil, status: nil, subscription_id: 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: , created_at: , currency: , customer: , digital_products_delivered: , metadata: , payment_id: , total_amount: , payment_method: nil, payment_method_type: nil, status: nil, subscription_id: nil) ⇒ Object
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 67
|
Instance Attribute Details
#brand_id ⇒ String
10
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 10
required :brand_id, String
|
#created_at ⇒ Time
15
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 15
required :created_at, Time
|
20
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 20
required :currency, enum: -> { Dodopayments::Currency }
|
#digital_products_delivered ⇒ Boolean
#payment_id ⇒ String
40
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 40
required :payment_id, String
|
#payment_method ⇒ String?
50
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 50
optional :payment_method, String, nil?: true
|
#payment_method_type ⇒ String?
55
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 55
optional :payment_method_type, String, nil?: true
|
#status ⇒ Symbol, ...
60
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 60
optional :status, enum: -> { Dodopayments::IntentStatus }, nil?: true
|
#subscription_id ⇒ String?
65
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 65
optional :subscription_id, String, nil?: true
|
#total_amount ⇒ Integer
45
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 45
required :total_amount, Integer
|