Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt
- Defined in:
- lib/increase/models/card_dispute_create_params.rb,
sig/increase/models/card_dispute_create_params.rbs
Overview
Instance Attribute Summary collapse
-
#canceled_at ⇒ Date
Canceled at.
-
#reason ⇒ String?
Reason.
Instance Method Summary collapse
-
#initialize ⇒ CardholderCancellationPriorToExpectedReceipt
constructor
A new instance of CardholderCancellationPriorToExpectedReceipt.
- #to_hash ⇒ { canceled_at: Date, reason: String }
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 ⇒ CardholderCancellationPriorToExpectedReceipt
Returns a new instance of CardholderCancellationPriorToExpectedReceipt.
1841 |
# File 'sig/increase/models/card_dispute_create_params.rbs', line 1841
def initialize: (canceled_at: Date, ?reason: String) -> void
|
Instance Attribute Details
#canceled_at ⇒ Date
Canceled at.
2022 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 2022 required :canceled_at, Date |
#reason ⇒ String?
Reason.
2028 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 2028 optional :reason, String |
Instance Method Details
#to_hash ⇒ { canceled_at: Date, reason: String }
1843 |
# File 'sig/increase/models/card_dispute_create_params.rbs', line 1843
def to_hash: -> { canceled_at: Date, reason: String }
|