Sha256: 5a5b035a0d17058d159a9ccc76686092b30c459d3855aca8e4a80a2661df4d1e
Contents?: true
Size: 777 Bytes
Versions: 2
Compression:
Stored size: 777 Bytes
Contents
module EWS # :nodoc: module Transaction # :nodoc: # This class encapsulates all the data returned from the E-xact Web Service. class Response < EWS::Transaction::Request attr_accessor :logon_message, :error_number, :error_description, :transaction_error, :transaction_approved attr_accessor :exact_resp_code, :exact_message, :bank_resp_code, :bank_message, :bank_resp_code_2 attr_accessor :sequence_no, :avs, :cvv2, :retrieval_ref_no, :cavv_response attr_accessor :merchant_name, :merchant_address, :merchant_city, :merchant_province, :merchant_country, :merchant_postal, :merchant_url, :CTR # Indicates whether or not the transaction was approved def approved? self.transaction_approved == 1 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exact4r-0.5.1 | ./lib/ews/transaction/response.rb |
exact4r-0.5 | lib/ews/transaction/response.rb |