class OffsitePayments::Integrations::HiTrust::Helper

def amount=(money)

def amount=(money)
  cents = money.respond_to?(:cents) ? money.cents : money
  raise ArgumentError, "amount must be a Money object or an integer" if money.is_a?(String)
  raise ActionViewHelperError, "amount must be greater than $0.00" if cents.to_i <= 0
  add_field(mappings[:amount], cents)
end

def initialize(order, account, options = {})

* Query
* RefundRe
* Refund
* CaptureRe
* Capture
* AuthRe
* Auth
Transaction types
def initialize(order, account, options = {})
  super
  # Perform an authorization by default
  add_field('Type', 'Auth')
  # Capture the payment right away
  add_field('depositflag', '1')
  # Disable auto query - who knows what it does?
  add_field('queryflag', '1')
  add_field('orderdesc', 'Store purchase')
end