Class 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
90:           def acknowledge
91:             password ? Digest::MD5.hexdigest("#{password}#{order}") == params['RafraenUndirskriftSvar'] : true
92:           end
authorization_number() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 50
50:           def authorization_number
51:             params['Heimildarnumer']
52:           end
card_last_four() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 46
46:           def card_last_four
47:             params['KortnumerSidustu']
48:           end
card_type() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 42
42:           def card_type
43:             params['Kortategund']
44:           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
26:           def currency
27:             nil
28:           end
customer_address() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 62
62:           def customer_address
63:             params['Heimilisfang']
64:           end
customer_city() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 70
70:           def customer_city
71:             params['Stadur']
72:           end
customer_comment() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 82
82:           def customer_comment
83:             params['Athugasemdir']
84:           end
customer_country() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 74
74:           def customer_country
75:             params['Land']
76:           end
customer_email() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 78
78:           def customer_email
79:             params['Tolvupostfang']
80:           end
customer_name() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 58
58:           def customer_name
59:             params['Nafn']
60:           end
customer_zip() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 66
66:           def customer_zip
67:             params['Postnumer']
68:           end
gross() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 38
38:           def gross
39:             "%0.2f" % params['Upphaed'].to_s
40:           end
item_id() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 17
17:           def item_id
18:             params['Tilvisunarnumer']
19:           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
86:           def password
87:             @options[:credential2]
88:           end
received_at() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 34
34:           def received_at
35:             Time.parse(params['Dagsetning'].to_s)
36:           end
status() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 30
30:           def status
31:             "Completed" if acknowledge
32:           end
success?() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 8
 8:           def success?
 9:             status == 'Completed'
10:           end
Also aliased as: complete?
test?() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 13
13:           def test?
14:             @options[:test]
15:           end
transaction_id() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 22
22:           def transaction_id
23:             params['VefverslunSalaID']
24:           end
transaction_number() click to toggle source
    # File lib/active_merchant/billing/integrations/valitor/response_fields.rb, line 54
54:           def transaction_number
55:             params['Faerslunumer']
56:           end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.