Class: Increase::Models::CardAuthorizationCreateResponse
- Defined in:
- lib/increase/models/card_authorization_create_response.rb
Instance Attribute Summary collapse
-
#declined_transaction ⇒ Increase::Models::DeclinedTransaction
If the authorization attempt fails, this will contain the resulting Declined Transaction object.
-
#pending_transaction ⇒ Increase::Models::PendingTransaction
If the authorization attempt succeeds, this will contain the resulting Pending Transaction object.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#declined_transaction ⇒ Increase::Models::DeclinedTransaction
If the authorization attempt fails, this will contain the resulting Declined Transaction object. The Declined Transaction's source
will be of category: card_decline
.
9 |
# File 'lib/increase/models/card_authorization_create_response.rb', line 9 required :declined_transaction, -> { Increase::Models::DeclinedTransaction } |
#pending_transaction ⇒ Increase::Models::PendingTransaction
If the authorization attempt succeeds, this will contain the resulting Pending Transaction object. The Pending Transaction's source
will be of category: card_authorization
.
14 |
# File 'lib/increase/models/card_authorization_create_response.rb', line 14 required :pending_transaction, -> { Increase::Models::PendingTransaction } |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be inbound_card_authorization_simulation_result
.
19 |
# File 'lib/increase/models/card_authorization_create_response.rb', line 19 required :type, Increase::Enum.new(:inbound_card_authorization_simulation_result) |