Class: ActiveMerchant::Billing::PaymentExpressResponse
- Defined in:
- lib/active_merchant/billing/gateways/payment_express.rb
Instance Attribute Summary
Attributes inherited from Response
#authorization, #avs_result, #cvv_result, #emv_authorization, #error_code, #message, #network_transaction_id, #params, #test
Instance Method Summary collapse
-
#token ⇒ Object
add a method to response so we can easily get the token for Validate transactions.
Methods inherited from Response
#failure?, #fraud_review?, #initialize, #success?, #test?
Constructor Details
This class inherits a constructor from ActiveMerchant::Billing::Response
Instance Method Details
#token ⇒ Object
add a method to response so we can easily get the token for Validate transactions
368 369 370 |
# File 'lib/active_merchant/billing/gateways/payment_express.rb', line 368 def token @params['billing_id'] || @params['dps_billing_id'] || @params['dps_txn_ref'] end |