Class: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_dispute.rb,
sig/increase/models/card_dispute.rbs

Overview

See Also:

  • Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_canceled_recurring_transaction

Defined Under Namespace

Modules: CancellationTarget Classes: MerchantContactMethods

Instance Attribute Summary collapse

Class Method 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(cancellation_target:, merchant_contact_methods:, other_form_of_payment_explanation:, transaction_or_account_canceled_at:) ⇒ Object

Canceled recurring transaction. Present if and only if category is consumer_canceled_recurring_transaction.



# File 'lib/increase/models/card_dispute.rb', line 2676


Instance Attribute Details

#cancellation_targetSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::CancellationTarget

Cancellation target.



2654
2655
# File 'lib/increase/models/card_dispute.rb', line 2654

required :cancellation_target,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::CancellationTarget }

#merchant_contact_methodsIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods

Merchant contact methods.



2661
2662
# File 'lib/increase/models/card_dispute.rb', line 2661

required :merchant_contact_methods,
-> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods }

#other_form_of_payment_explanationString?

Other form of payment explanation.



2668
# File 'lib/increase/models/card_dispute.rb', line 2668

required :other_form_of_payment_explanation, String, nil?: true

#transaction_or_account_canceled_atDate

Transaction or account canceled at.



2674
# File 'lib/increase/models/card_dispute.rb', line 2674

required :transaction_or_account_canceled_at, Date

Class Method Details

.valuesArray<Symbol>



# File 'lib/increase/models/card_dispute.rb', line 2702


Instance Method Details

#to_hash{



1843
# File 'sig/increase/models/card_dispute.rbs', line 1843

def to_hash: -> {