Class: Increase::Models::CardPayment::Element::CardReversal

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.rb

Defined Under Namespace

Classes: NetworkIdentifiers

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#card_authorization_idString

The identifier for the Card Authorization this reverses.

Returns:

  • (String)


1339
# File 'lib/increase/models/card_payment.rb', line 1339

required :card_authorization_id, String

#currencySymbol

The ISO 4217 code for the reversal's currency.

Returns:

  • (Symbol)


1344
# File 'lib/increase/models/card_payment.rb', line 1344

required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD)

#idString

The Card Reversal identifier.

Returns:

  • (String)


1334
# File 'lib/increase/models/card_payment.rb', line 1334

required :id, String

#networkSymbol

The card network used to process this card authorization.

Returns:

  • (Symbol)


1349
# File 'lib/increase/models/card_payment.rb', line 1349

required :network, Increase::Enum.new(:visa)

#network_identifiersIncrease::Models::CardPayment::Element::CardReversal::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



1354
1355
# File 'lib/increase/models/card_payment.rb', line 1354

required :network_identifiers,
-> { Increase::Models::CardPayment::Element::CardReversal::NetworkIdentifiers }

#pending_transaction_idString

The identifier of the Pending Transaction associated with this Card Reversal.

Returns:

  • (String)


1360
# File 'lib/increase/models/card_payment.rb', line 1360

required :pending_transaction_id, String

#reversal_amountInteger

The amount of this reversal in the minor unit of the transaction's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


1365
# File 'lib/increase/models/card_payment.rb', line 1365

required :reversal_amount, Integer

#typeSymbol

A constant representing the object's type. For this resource it will always be card_reversal.

Returns:

  • (Symbol)


1370
# File 'lib/increase/models/card_payment.rb', line 1370

required :type, Increase::Enum.new(:card_reversal)

#updated_authorization_amountInteger

The amount left pending on the Card Authorization in the minor unit of the transaction's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


1375
# File 'lib/increase/models/card_payment.rb', line 1375

required :updated_authorization_amount, Integer