Class: Increase::Models::CardPayment::Element::CardRefund

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.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)


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

required :amount, Integer

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


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

required :card_payment_id, String

#currencySymbol

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

Returns:

  • (Symbol)


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

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

#idString

The Card Refund identifier.

Returns:

  • (String)


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

required :id, String

#merchant_acceptor_idString

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

Returns:

  • (String)


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

required :merchant_acceptor_id, String

#merchant_category_codeString

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

Returns:

  • (String)


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

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


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

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


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

required :merchant_country, String

#merchant_nameString

The name of the merchant.

Returns:

  • (String)


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

required :merchant_name, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


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

required :merchant_state, String

#network_identifiersIncrease::Models::CardPayment::Element::CardRefund::NetworkIdentifiers

Network-specific identifiers for this refund.



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

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

#presentment_amountInteger

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

Returns:

  • (Integer)


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

required :presentment_amount, Integer

#presentment_currencyString

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

Returns:

  • (String)


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

required :presentment_currency, String

#purchase_detailsIncrease::Models::CardPayment::Element::CardRefund::PurchaseDetails

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



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

required :purchase_details, -> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails }

#transaction_idString

The identifier of the Transaction associated with this Transaction.

Returns:

  • (String)


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

required :transaction_id, String

#typeSymbol

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

Returns:

  • (Symbol)


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

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