Class: Dodopayments::Models::GetDispute
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::GetDispute
- Defined in:
- lib/dodopayments/models/get_dispute.rb
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
-
#amount ⇒ String
The amount involved in the dispute, represented as a string to accommodate precision.
-
#business_id ⇒ String
The unique identifier of the business involved in the dispute.
-
#created_at ⇒ Time
The timestamp of when the dispute was created, in UTC.
-
#currency ⇒ String
The currency of the disputed amount, represented as an ISO 4217 currency code.
-
#customer ⇒ Dodopayments::Models::CustomerLimitedDetails
The customer who filed the dispute.
-
#dispute_id ⇒ String
The unique identifier of the dispute.
-
#dispute_stage ⇒ Symbol, Dodopayments::Models::DisputeStage
The current stage of the dispute process.
-
#dispute_status ⇒ Symbol, Dodopayments::Models::DisputeStatus
The current status of the dispute.
-
#payment_id ⇒ String
The unique identifier of the payment associated with the dispute.
-
#reason ⇒ String?
Reason for the dispute.
-
#remarks ⇒ String?
Remarks.
Instance Method Summary collapse
-
#initialize(amount: , business_id: , created_at: , currency: , customer: , dispute_id: , dispute_stage: , dispute_status: , payment_id: , reason: nil, remarks: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see GetDispute for more details.
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(amount: , business_id: , created_at: , currency: , customer: , dispute_id: , dispute_stage: , dispute_status: , payment_id: , reason: nil, remarks: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::GetDispute for more details.
|
|
# File 'lib/dodopayments/models/get_dispute.rb', line 74
|
Instance Attribute Details
#amount ⇒ String
The amount involved in the dispute, represented as a string to accommodate precision.
12 |
# File 'lib/dodopayments/models/get_dispute.rb', line 12 required :amount, String |
#business_id ⇒ String
The unique identifier of the business involved in the dispute.
18 |
# File 'lib/dodopayments/models/get_dispute.rb', line 18 required :business_id, String |
#created_at ⇒ Time
The timestamp of when the dispute was created, in UTC.
24 |
# File 'lib/dodopayments/models/get_dispute.rb', line 24 required :created_at, Time |
#currency ⇒ String
The currency of the disputed amount, represented as an ISO 4217 currency code.
30 |
# File 'lib/dodopayments/models/get_dispute.rb', line 30 required :currency, String |
#customer ⇒ Dodopayments::Models::CustomerLimitedDetails
The customer who filed the dispute
36 |
# File 'lib/dodopayments/models/get_dispute.rb', line 36 required :customer, -> { Dodopayments::CustomerLimitedDetails } |
#dispute_id ⇒ String
The unique identifier of the dispute.
42 |
# File 'lib/dodopayments/models/get_dispute.rb', line 42 required :dispute_id, String |
#dispute_stage ⇒ Symbol, Dodopayments::Models::DisputeStage
The current stage of the dispute process.
48 |
# File 'lib/dodopayments/models/get_dispute.rb', line 48 required :dispute_stage, enum: -> { Dodopayments::DisputeStage } |
#dispute_status ⇒ Symbol, Dodopayments::Models::DisputeStatus
The current status of the dispute.
54 |
# File 'lib/dodopayments/models/get_dispute.rb', line 54 required :dispute_status, enum: -> { Dodopayments::DisputeStatus } |
#payment_id ⇒ String
The unique identifier of the payment associated with the dispute.
60 |
# File 'lib/dodopayments/models/get_dispute.rb', line 60 required :payment_id, String |
#reason ⇒ String?
Reason for the dispute
66 |
# File 'lib/dodopayments/models/get_dispute.rb', line 66 optional :reason, String, nil?: true |
#remarks ⇒ String?
Remarks
72 |
# File 'lib/dodopayments/models/get_dispute.rb', line 72 optional :remarks, String, nil?: true |