Class: Dodopayments::Models::WebhookPayload::Data::Dispute
- Inherits:
-
GetDispute
- Object
- Internal::Type::BaseModel
- GetDispute
- Dodopayments::Models::WebhookPayload::Data::Dispute
- Defined in:
- lib/dodopayments/models/webhook_payload.rb,
sig/dodopayments/models/webhook_payload.rbs
Instance Attribute Summary collapse
Attributes inherited from GetDispute
#amount, #brand_id, #business_id, #created_at, #currency, #customer, #dispute_id, #dispute_stage, #dispute_status, #is_resolved_by_rdr, #payment_id, #payment_provider, #reason, #remarks
Instance Method Summary collapse
-
#initialize ⇒ Dispute
constructor
A new instance of Dispute.
- #to_hash ⇒ { payload_type: :Dispute }
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 ⇒ Dispute
Returns a new instance of Dispute.
92 |
# File 'sig/dodopayments/models/webhook_payload.rbs', line 92
def initialize: (?payload_type: :Dispute) -> void
|
Instance Attribute Details
#payload_type ⇒ Symbol, :Dispute
110 |
# File 'lib/dodopayments/models/webhook_payload.rb', line 110 required :payload_type, const: :Dispute |
Instance Method Details
#to_hash ⇒ { payload_type: :Dispute }
94 |
# File 'sig/dodopayments/models/webhook_payload.rbs', line 94
def to_hash: -> { payload_type: :Dispute }
|