Class: Increase::Models::CardPayment::Element::CardIncrement

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

#actionerSymbol

Whether this authorization was approved by Increase, the card network through stand-in processing, or the user through a real-time decision.

Returns:

  • (Symbol)


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

required :actioner, Increase::Enum.new(:user, :increase, :network)

#amountInteger

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

Returns:

  • (Integer)


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

required :amount, Integer

#card_authorization_idString

The identifier for the Card Authorization this increments.

Returns:

  • (String)


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

required :card_authorization_id, String

#currencySymbol

The ISO 4217 code for the increment's currency.

Returns:

  • (Symbol)


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

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

#idString

The Card Increment identifier.

Returns:

  • (String)


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

required :id, String

#networkSymbol

The card network used to process this card authorization.

Returns:

  • (Symbol)


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

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

#network_identifiersIncrease::Models::CardPayment::Element::CardIncrement::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



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

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

#network_risk_scoreInteger

The risk score generated by the card network. For Visa this is the Visa Advanced Authorization risk score, from 0 to 99, where 99 is the riskiest.

Returns:

  • (Integer)


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

required :network_risk_score, Integer

#pending_transaction_idString

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

Returns:

  • (String)


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

required :pending_transaction_id, String

#real_time_decision_idString

The identifier of the Real-Time Decision sent to approve or decline this incremental authorization.

Returns:

  • (String)


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

required :real_time_decision_id, String

#typeSymbol

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

Returns:

  • (Symbol)


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

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

#updated_authorization_amountInteger

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

Returns:

  • (Integer)


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

required :updated_authorization_amount, Integer