Class: Increase::Models::CardAuthorizationCreateResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_authorization_create_response.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#declined_transactionIncrease::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_transactionIncrease::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 }

#typeSymbol

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

Returns:

  • (Symbol)


19
# File 'lib/increase/models/card_authorization_create_response.rb', line 19

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