Class: ActiveMerchant::Billing::Integrations::Moneybookers::Helper

Inherits:
Helper
  • Object
show all
Defined in:
lib/active_merchant/billing/integrations/moneybookers/helper.rb

Constant Summary collapse

MAPPED_COUNTRY_CODES =
{
  'SE' => 'SV', 
  'DK' => 'DA'
}
SUPPORTED_COUNTRY_CODES =
[
  'FI', 'DE', 'ES', 'FR', 
  'IT','PL', 'GR', 'RO', 
  'RU', 'TR', 'CN', 'CZ', 'NL'
]

Instance Attribute Summary

Attributes inherited from Helper

#fields

Instance Method Summary collapse

Methods inherited from Helper

#add_field, #add_fields, #add_raw_html_field, #billing_address, #form_fields, #form_method, mapping, #raw_html_fields, #shipping_address, #test?

Constructor Details

#initialize(order, account, options = {}) ⇒ Helper

Returns a new instance of Helper.



41
42
43
44
45
46
# File 'lib/active_merchant/billing/integrations/moneybookers/helper.rb', line 41

def initialize(order, , options = {})
  super
  add_tracking_token
  add_default_parameters
  add_seller_details(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveMerchant::Billing::Integrations::Helper