Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute_create_params.rb

Overview

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: , transaction_or_account_canceled_at: , other_form_of_payment_explanation: nil) ⇒ Object

Canceled recurring transaction. Required if and only if ‘category` is `consumer_canceled_recurring_transaction`.

Parameters:



# File 'lib/increase/models/card_dispute_create_params.rb', line 754

Instance Attribute Details

#cancellation_targetSymbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::CancellationTarget

Cancellation target.



732
733
# File 'lib/increase/models/card_dispute_create_params.rb', line 732

required :cancellation_target,
enum: -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::CancellationTarget }

#merchant_contact_methodsIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods

Merchant contact methods.



739
740
# File 'lib/increase/models/card_dispute_create_params.rb', line 739

required :merchant_contact_methods,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods }

#other_form_of_payment_explanationString?

Other form of payment explanation.

Returns:

  • (String, nil)


752
# File 'lib/increase/models/card_dispute_create_params.rb', line 752

optional :other_form_of_payment_explanation, String

#transaction_or_account_canceled_atDate

Transaction or account canceled at.

Returns:

  • (Date)


746
# File 'lib/increase/models/card_dispute_create_params.rb', line 746

required :transaction_or_account_canceled_at, Date

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_dispute_create_params.rb', line 778