Class: Dodopayments::Models::RefundListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::RefundListResponse
- Defined in:
- lib/dodopayments/models/refund_list_response.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The refunded amount.
-
#business_id ⇒ String
The unique identifier of the business issuing the refund.
-
#created_at ⇒ Time
The timestamp of when the refund was created in UTC.
-
#currency ⇒ Symbol, ...
The currency of the refund, represented as an ISO 4217 currency code.
-
#is_partial ⇒ Boolean
If true the refund is a partial refund.
-
#payment_id ⇒ String
The unique identifier of the payment associated with the refund.
-
#reason ⇒ String?
The reason provided for the refund, if any.
-
#refund_id ⇒ String
The unique identifier of the refund.
-
#status ⇒ Symbol, Dodopayments::Models::RefundStatus
The current status of the refund.
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(business_id: , created_at: , is_partial: , payment_id: , refund_id: , status: , amount: nil, currency: nil, reason: nil) ⇒ Object
|
|
# File 'lib/dodopayments/models/refund_list_response.rb', line 61
|
Instance Attribute Details
#amount ⇒ Integer?
The refunded amount.
47 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 47 optional :amount, Integer, nil?: true |
#business_id ⇒ String
The unique identifier of the business issuing the refund.
11 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 11 required :business_id, String |
#created_at ⇒ Time
The timestamp of when the refund was created in UTC.
17 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 17 required :created_at, Time |
#currency ⇒ Symbol, ...
The currency of the refund, represented as an ISO 4217 currency code.
53 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 53 optional :currency, enum: -> { Dodopayments::Currency }, nil?: true |
#is_partial ⇒ Boolean
If true the refund is a partial refund
23 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 23 required :is_partial, Dodopayments::Internal::Type::Boolean |
#payment_id ⇒ String
The unique identifier of the payment associated with the refund.
29 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 29 required :payment_id, String |
#reason ⇒ String?
The reason provided for the refund, if any. Optional.
59 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 59 optional :reason, String, nil?: true |
#refund_id ⇒ String
The unique identifier of the refund.
35 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 35 required :refund_id, String |
#status ⇒ Symbol, Dodopayments::Models::RefundStatus
The current status of the refund.
41 |
# File 'lib/dodopayments/models/refund_list_response.rb', line 41 required :status, enum: -> { Dodopayments::RefundStatus } |