class AlphaCard::Credit

Implementation of Alpha Card Services Credit transaction.

@example

credit = AlphaCard::Credit.new(card_expiration_date: '0117', card_number: '4111111111111111', amount: '1.00')
credit.create(order)

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

Public Instance Methods

type() click to toggle source

Transaction type (default is 'credit')

@attribute [r] type

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