class Ravelin::CheckoutTransaction

Represents a transaction as used in the checkout endpoint. As such it can have all the fields of a regular Transaction but only requires the fields of PreTransaction

Attributes

auth_code[RW]
avs_result_code[RW]
credit[RW]
currency[RW]
custom[RW]
cvv_result_code[RW]
debit[RW]
decline_code[RW]
email[RW]
gateway[RW]
gateway_reference[RW]
success[RW]
three_d_secure[RW]
time[RW]
transaction_id[RW]
type[RW]

Public Class Methods

new(params) click to toggle source
Calls superclass method
# File lib/ravelin/checkout_transaction.rb, line 24
def initialize(params)
  unless params['3ds'].nil?
    self.three_d_secure = ThreeDSecure.new(params['3ds'])
    params.delete('3ds')
  end

  super(params)
end