class PayTrace::EmailReceiptRequest
Methods to request an email receipt for a transaction
Public Class Methods
create(params = {})
click to toggle source
Send the request. Params: :email – the email address to send the receipt to :transaction_id – the transaction ID of the transaction to email :check_id – the check ID of the transaction to email Note: only use :transaction_id or :check_id – not both.
# File lib/paytrace/email_receipt_request.rb, line 13 def self.create(params = {}) PayTrace::API::Gateway.send_request(EMAIL_RECEIPT_METHOD, params, [:email], [:check_id, :transaction_id]) end