Class/Module Index [+]

Quicksearch

ActiveMerchant::Billing::Integrations::Valitor::ResponseFields

Public Instance Methods

acknowledge() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 90
def acknowledge
  password ? Digest::MD5.hexdigest("#{password}#{order}") == params['RafraenUndirskriftSvar'] : true
end
authorization_number() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 50
def authorization_number
  params['Heimildarnumer']
end
card_last_four() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 46
def card_last_four
  params['KortnumerSidustu']
end
card_type() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 42
def card_type
  params['Kortategund']
end
complete?() click to toggle source
Alias for: success?
currency() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 26
def currency
  nil
end
customer_address() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 62
def customer_address
  params['Heimilisfang']
end
customer_city() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 70
def customer_city
  params['Stadur']
end
customer_comment() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 82
def customer_comment
  params['Athugasemdir']
end
customer_country() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 74
def customer_country
  params['Land']
end
customer_email() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 78
def customer_email
  params['Tolvupostfang']
end
customer_name() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 58
def customer_name
  params['Nafn']
end
customer_zip() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 66
def customer_zip
  params['Postnumer']
end
gross() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 38
def gross
  "%0.2f" % params['Upphaed'].to_s
end
item_id() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 17
def item_id
  params['Tilvisunarnumer']
end
Also aliased as: order
order() click to toggle source
Alias for: item_id
password() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 86
def password
  @options[:credential2]
end
received_at() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 34
def received_at
  Time.parse(params['Dagsetning'].to_s)
end
status() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 30
def status
  "Completed" if acknowledge
end
success?() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 8
def success?
  status == 'Completed'
end
Also aliased as: complete?
test?() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 13
def test?
  @options[:test]
end
transaction_id() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 22
def transaction_id
  params['VefverslunSalaID']
end
transaction_number() click to toggle source
# File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 54
def transaction_number
  params['Faerslunumer']
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.