class AlphaCard::Refund

Implementation of Alpha Card Services Refund transaction.

@example

refund = AlphaCard::Refund.new(transaction_id: '981562', amount: '1.00')
refund.create

#=> #<AlphaCard::Response:0x1a0fda ...>

Constants

ORIGIN_TRANSACTION_VARIABLES

Original AlphaCard transaction variables names

Public Instance Methods

type() click to toggle source

Transaction type (default is 'refund')

@attribute [r] type

# File lib/alpha_card/transactions/refund.rb, line 19
attribute :type, default: 'refund', writable: false