Class: Dodopayments::Models::DisputeListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/dispute_list_response.rb

Overview

Instance Attribute Summary collapse

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(amount: , business_id: , created_at: , currency: , dispute_id: , dispute_stage: , dispute_status: , payment_id: ) ⇒ Object

Some parameter documentations has been truncated, see Dodopayments::Models::DisputeListResponse for more details.

Parameters:

  • amount (String) (defaults to: )

    The amount involved in the dispute, represented as a string to accommodate preci

  • business_id (String) (defaults to: )

    The unique identifier of the business involved in the dispute.

  • created_at (Time) (defaults to: )

    The timestamp of when the dispute was created, in UTC.

  • currency (String) (defaults to: )

    The currency of the disputed amount, represented as an ISO 4217 currency code.

  • dispute_id (String) (defaults to: )

    The unique identifier of the dispute.

  • dispute_stage (Symbol, Dodopayments::Models::DisputeStage) (defaults to: )

    The current stage of the dispute process.

  • dispute_status (Symbol, Dodopayments::Models::DisputeStatus) (defaults to: )

    The current status of the dispute.

  • payment_id (String) (defaults to: )

    The unique identifier of the payment associated with the dispute.



# File 'lib/dodopayments/models/dispute_list_response.rb', line 56


Instance Attribute Details

#amountString

The amount involved in the dispute, represented as a string to accommodate precision.

Returns:

  • (String)


12
# File 'lib/dodopayments/models/dispute_list_response.rb', line 12

required :amount, String

#business_idString

The unique identifier of the business involved in the dispute.

Returns:

  • (String)


18
# File 'lib/dodopayments/models/dispute_list_response.rb', line 18

required :business_id, String

#created_atTime

The timestamp of when the dispute was created, in UTC.

Returns:

  • (Time)


24
# File 'lib/dodopayments/models/dispute_list_response.rb', line 24

required :created_at, Time

#currencyString

The currency of the disputed amount, represented as an ISO 4217 currency code.

Returns:

  • (String)


30
# File 'lib/dodopayments/models/dispute_list_response.rb', line 30

required :currency, String

#dispute_idString

The unique identifier of the dispute.

Returns:

  • (String)


36
# File 'lib/dodopayments/models/dispute_list_response.rb', line 36

required :dispute_id, String

#dispute_stageSymbol, Dodopayments::Models::DisputeStage

The current stage of the dispute process.



42
# File 'lib/dodopayments/models/dispute_list_response.rb', line 42

required :dispute_stage, enum: -> { Dodopayments::DisputeStage }

#dispute_statusSymbol, Dodopayments::Models::DisputeStatus

The current status of the dispute.



48
# File 'lib/dodopayments/models/dispute_list_response.rb', line 48

required :dispute_status, enum: -> { Dodopayments::DisputeStatus }

#payment_idString

The unique identifier of the payment associated with the dispute.

Returns:

  • (String)


54
# File 'lib/dodopayments/models/dispute_list_response.rb', line 54

required :payment_id, String