Class: Increase::Models::CardPayment::Element
- Defined in:
- lib/increase/models/card_payment.rb
Defined Under Namespace
Classes: CardAuthorization, CardAuthorizationExpiration, CardDecline, CardFuelConfirmation, CardIncrement, CardRefund, CardReversal, CardSettlement, CardValidation
Instance Attribute Summary collapse
-
#card_authorization ⇒ Increase::Models::CardPayment::Element::CardAuthorization
A Card Authorization object.
-
#card_authorization_expiration ⇒ Increase::Models::CardPayment::Element::CardAuthorizationExpiration
A Card Authorization Expiration object.
-
#card_decline ⇒ Increase::Models::CardPayment::Element::CardDecline
A Card Decline object.
-
#card_fuel_confirmation ⇒ Increase::Models::CardPayment::Element::CardFuelConfirmation
A Card Fuel Confirmation object.
-
#card_increment ⇒ Increase::Models::CardPayment::Element::CardIncrement
A Card Increment object.
-
#card_refund ⇒ Increase::Models::CardPayment::Element::CardRefund
A Card Refund object.
-
#card_reversal ⇒ Increase::Models::CardPayment::Element::CardReversal
A Card Reversal object.
-
#card_settlement ⇒ Increase::Models::CardPayment::Element::CardSettlement
A Card Settlement object.
-
#card_validation ⇒ Increase::Models::CardPayment::Element::CardValidation
A Card Validation object.
-
#category ⇒ Symbol
The type of the resource.
-
#created_at ⇒ String
The ISO 8601 date and time at which the card payment element was created.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#card_authorization ⇒ Increase::Models::CardPayment::Element::CardAuthorization
A Card Authorization object. This field will be present in the JSON response if and only if category
is equal to card_authorization
.
55 |
# File 'lib/increase/models/card_payment.rb', line 55 required :card_authorization, -> { Increase::Models::CardPayment::Element::CardAuthorization } |
#card_authorization_expiration ⇒ Increase::Models::CardPayment::Element::CardAuthorizationExpiration
A Card Authorization Expiration object. This field will be present in the JSON response if and only if category
is equal to card_authorization_expiration
.
60 61 |
# File 'lib/increase/models/card_payment.rb', line 60 required :card_authorization_expiration, -> { Increase::Models::CardPayment::Element::CardAuthorizationExpiration } |
#card_decline ⇒ Increase::Models::CardPayment::Element::CardDecline
A Card Decline object. This field will be present in the JSON response if and only if category
is equal to card_decline
.
66 |
# File 'lib/increase/models/card_payment.rb', line 66 required :card_decline, -> { Increase::Models::CardPayment::Element::CardDecline } |
#card_fuel_confirmation ⇒ Increase::Models::CardPayment::Element::CardFuelConfirmation
A Card Fuel Confirmation object. This field will be present in the JSON response if and only if category
is equal to card_fuel_confirmation
.
71 |
# File 'lib/increase/models/card_payment.rb', line 71 required :card_fuel_confirmation, -> { Increase::Models::CardPayment::Element::CardFuelConfirmation } |
#card_increment ⇒ Increase::Models::CardPayment::Element::CardIncrement
A Card Increment object. This field will be present in the JSON response if and only if category
is equal to card_increment
.
76 |
# File 'lib/increase/models/card_payment.rb', line 76 required :card_increment, -> { Increase::Models::CardPayment::Element::CardIncrement } |
#card_refund ⇒ Increase::Models::CardPayment::Element::CardRefund
A Card Refund object. This field will be present in the JSON response if and only if category
is equal to card_refund
.
81 |
# File 'lib/increase/models/card_payment.rb', line 81 required :card_refund, -> { Increase::Models::CardPayment::Element::CardRefund } |
#card_reversal ⇒ Increase::Models::CardPayment::Element::CardReversal
A Card Reversal object. This field will be present in the JSON response if and only if category
is equal to card_reversal
.
86 |
# File 'lib/increase/models/card_payment.rb', line 86 required :card_reversal, -> { Increase::Models::CardPayment::Element::CardReversal } |
#card_settlement ⇒ Increase::Models::CardPayment::Element::CardSettlement
A Card Settlement object. This field will be present in the JSON response if and only if category
is equal to card_settlement
.
91 |
# File 'lib/increase/models/card_payment.rb', line 91 required :card_settlement, -> { Increase::Models::CardPayment::Element::CardSettlement } |
#card_validation ⇒ Increase::Models::CardPayment::Element::CardValidation
A Card Validation object. This field will be present in the JSON response if and only if category
is equal to card_validation
.
96 |
# File 'lib/increase/models/card_payment.rb', line 96 required :card_validation, -> { Increase::Models::CardPayment::Element::CardValidation } |
#category ⇒ Symbol
The type of the resource. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/increase/models/card_payment.rb', line 101 required :category, Increase::Enum.new( :card_authorization, :card_validation, :card_decline, :card_reversal, :card_authorization_expiration, :card_increment, :card_settlement, :card_refund, :card_fuel_confirmation, :other ) |
#created_at ⇒ String
The ISO 8601 date and time at which the card payment element was created.
118 |
# File 'lib/increase/models/card_payment.rb', line 118 required :created_at, String |