Class: Increase::Models::Transaction::Source::CardRefund

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

Defined Under Namespace

Classes: NetworkIdentifiers, PurchaseDetails

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#amountInteger

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

Returns:

  • (Integer)


440
# File 'lib/increase/models/transaction.rb', line 440

required :amount, Integer

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


445
# File 'lib/increase/models/transaction.rb', line 445

required :card_payment_id, String

#currencySymbol

The ISO 4217 code for the transaction's settlement currency.

Returns:

  • (Symbol)


450
# File 'lib/increase/models/transaction.rb', line 450

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

#idString

The Card Refund identifier.

Returns:

  • (String)


435
# File 'lib/increase/models/transaction.rb', line 435

required :id, String

#merchant_acceptor_idString

The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.

Returns:

  • (String)


455
# File 'lib/increase/models/transaction.rb', line 455

required :merchant_acceptor_id, String

#merchant_category_codeString

The 4-digit MCC describing the merchant's business.

Returns:

  • (String)


460
# File 'lib/increase/models/transaction.rb', line 460

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


465
# File 'lib/increase/models/transaction.rb', line 465

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


470
# File 'lib/increase/models/transaction.rb', line 470

required :merchant_country, String

#merchant_nameString

The name of the merchant.

Returns:

  • (String)


475
# File 'lib/increase/models/transaction.rb', line 475

required :merchant_name, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


480
# File 'lib/increase/models/transaction.rb', line 480

required :merchant_state, String

#network_identifiersIncrease::Models::Transaction::Source::CardRefund::NetworkIdentifiers

Network-specific identifiers for this refund.



485
486
# File 'lib/increase/models/transaction.rb', line 485

required :network_identifiers,
-> { Increase::Models::Transaction::Source::CardRefund::NetworkIdentifiers }

#presentment_amountInteger

The amount in the minor unit of the transaction's presentment currency.

Returns:

  • (Integer)


491
# File 'lib/increase/models/transaction.rb', line 491

required :presentment_amount, Integer

#presentment_currencyString

The ISO 4217 code for the transaction's presentment currency.

Returns:

  • (String)


496
# File 'lib/increase/models/transaction.rb', line 496

required :presentment_currency, String

#purchase_detailsIncrease::Models::Transaction::Source::CardRefund::PurchaseDetails

Additional details about the card purchase, such as tax and industry-specific fields.



501
# File 'lib/increase/models/transaction.rb', line 501

required :purchase_details, -> { Increase::Models::Transaction::Source::CardRefund::PurchaseDetails }

#transaction_idString

The identifier of the Transaction associated with this Transaction.

Returns:

  • (String)


506
# File 'lib/increase/models/transaction.rb', line 506

required :transaction_id, String

#typeSymbol

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

Returns:

  • (Symbol)


511
# File 'lib/increase/models/transaction.rb', line 511

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