Class: Increase::Models::CardPayment::Element::CardSettlement

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)


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

required :amount, Integer

#card_authorizationString

The Card Authorization that was created prior to this Card Settlement, if one exists.

Returns:

  • (String)


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

required :card_authorization, String

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


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

required :card_payment_id, String

#currencySymbol

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

Returns:

  • (Symbol)


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

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

#idString

The Card Settlement identifier.

Returns:

  • (String)


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

required :id, String

#merchant_acceptor_idString

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

Returns:

  • (String)


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

required :merchant_acceptor_id, String

#merchant_category_codeString

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

Returns:

  • (String)


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

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


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

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


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

required :merchant_country, String

#merchant_nameString

The name of the merchant.

Returns:

  • (String)


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

required :merchant_name, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


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

required :merchant_state, String

#network_identifiersIncrease::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers

Network-specific identifiers for this refund.



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

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

#pending_transaction_idString

The identifier of the Pending Transaction associated with this Transaction.

Returns:

  • (String)


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

required :pending_transaction_id, String

#presentment_amountInteger

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

Returns:

  • (Integer)


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

required :presentment_amount, Integer

#presentment_currencyString

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

Returns:

  • (String)


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

required :presentment_currency, String

#purchase_detailsIncrease::Models::CardPayment::Element::CardSettlement::PurchaseDetails

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



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

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

#transaction_idString

The identifier of the Transaction associated with this Transaction.

Returns:

  • (String)


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

required :transaction_id, String

#typeSymbol

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

Returns:

  • (Symbol)


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

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