class EwayRapid::Models::Transaction

The details of a transaction that will be processed either via the responsive shared page, by transparent redirect, by Direct, or one that is captured from a previous Authorisation transaction

Attributes

amex_ec_data[RW]

(v40+ only) A token used to configure AMEX Express Checkout

auth_transaction_id[RW]

The Transaction ID of an authorisation to capture

cancel_url[RW]

The URL that the shared page redirects to if a customer cancels the transaction (responsive shared page only)

capture[RW]

Set to true to capture funds immediately, false to authorise only

checkout_payment[RW]

Setting this to true will process a PayPal Checkout payment.

checkout_payment?[RW]

Setting this to true will process a PayPal Checkout payment.

checkout_url[RW]

The URL that the customer is to be returned to after logging in to their PayPal account. (transparent redirect & responsive shared page with PayPal Checkout only)

currency_code[RW]

(v40+ query response only) The ISO 4217 numeric currency code (e.g. AUD = 036)

custom_view[RW]

Set the theme of the Responsive Shared Page from 12 available themes

customer[RW]

Customer details for the transaction

customer_read_only[RW]

When set to false, cardholders will be able to edit the information on the Responsive Shared Page

customer_read_only?[RW]

When set to false, cardholders will be able to edit the information on the Responsive Shared Page

device_id[RW]

The identification name/number for the device or application processing the transaction

fraud_action[RW]

(v40+ query response only) The fraud action that occurred if any. One of NotChallenged, Allow, Review, PreAuth, Processed, Approved, Block

header_text[RW]

Short text description to be placed under the logo on the Responsive Shared Page

language[RW]

Language code determines the language that the shared page will be displayed in. One of: EN (English, default), ES (Spanish)

line_items[RW]

Array of line items for the transaction

logo_url[RW]

The URL of the merchant's logo to display on the Responsive Shared Page

max_refund[RW]

(v40+ query response only) The maximum amount that could be refunded from this transaction

options[RW]

Array of options to pass to eWAY

original_transaction_id[RW]

(v40+ query response only) Contains the original transaction ID if the queried transaction is a refund

partner_id[RW]

The partner ID generated from an eWAY partner agreement

payment_details[RW]

Payment details for the transaction

redirect_url[RW]

The URL that the shared page redirects to after a payment is processed (transparent redirect & responsive shared page only)

save_customer[RW]

Set to true to create a token customer when the transaction is complete

secured_card_data[RW]

Card data ID, used for Secure Fields, Visa Checkout, AMEX Express Checkout and Android Pay

shipping_details[RW]

Shipping details fo the transaction

source[RW]

(v40+ query response only) Reserved for future use

third_party_wallet_id[RW]

Deprecated, use secured_card_data

token_customer_id[RW]

An eWAY-issued ID that represents the Token customer that was loaded or created for this transaction (if applicable)

transaction_captured[RW]

(v40+ query response only) True if funds were captured in the transaction

transaction_date_time[RW]

(v40+ query response only) The date and time the transaction took place

transaction_type[RW]

The type of transaction being performed - use Enums::TransactionType

verify_customer_email[RW]

Set whether the customer's email should be confirmed using Beagle Verify

verify_customer_email?[RW]

Set whether the customer's email should be confirmed using Beagle Verify

verify_customer_phone[RW]

Set whether the customer's phone number should be confirmed using Beagle Verify

verify_customer_phone?[RW]

Set whether the customer's phone number should be confirmed using Beagle Verify

Public Class Methods

new() click to toggle source
# File lib/eway_rapid/models/models.rb, line 329
def initialize
  @capture = true
end