Class: Dodopayments::Models::PaymentListResponse
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(brand_id:, created_at:, currency:, customer:, digital_products_delivered:, has_license_key:, metadata:, payment_id:, total_amount:, dispute_status: nil, invoice_id: nil, invoice_url: nil, payment_method: nil, payment_method_type: nil, refund_status: 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:, has_license_key:, metadata:, payment_id:, total_amount:, dispute_status: nil, invoice_id: nil, invoice_url: nil, payment_method: nil, payment_method_type: nil, refund_status: nil, status: nil, subscription_id: nil) ⇒ Object
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 97
|
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
#dispute_status ⇒ Symbol, ...
The most recent dispute status for this payment. None if no disputes exist.
56
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 56
optional :dispute_status, enum: -> { Dodopayments::DisputeStatus }, nil?: true
|
#has_license_key ⇒ Boolean
#invoice_id ⇒ String?
Invoice ID for this payment. Uses India-specific invoice ID if available.
62
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 62
optional :invoice_id, String, nil?: true
|
#invoice_url ⇒ String?
URL to download the invoice PDF for this payment.
68
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 68
optional :invoice_url, String, nil?: true
|
#payment_id ⇒ String
45
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 45
required :payment_id, String
|
#payment_method ⇒ String?
73
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 73
optional :payment_method, String, nil?: true
|
#payment_method_type ⇒ String?
78
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 78
optional :payment_method_type, String, nil?: true
|
#refund_status ⇒ Symbol, ...
Summary of the refund status for this payment. None if no succeeded refunds exist.
#status ⇒ Symbol, ...
90
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 90
optional :status, enum: -> { Dodopayments::IntentStatus }, nil?: true
|
#subscription_id ⇒ String?
95
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 95
optional :subscription_id, String, nil?: true
|
#total_amount ⇒ Integer
50
|
# File 'lib/dodopayments/models/payment_list_response.rb', line 50
required :total_amount, Integer
|