Class: OffsitePayments::Integrations::Moneybookers::Helper

Inherits:
Helper
  • Object
show all
Defined in:
lib/offsite_payments/integrations/moneybookers.rb

Constant Summary collapse

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

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, inherited, mapping, #raw_html_fields, #shipping_address, #test?

Methods included from MoneyCompatibility

#to_cents

Constructor Details

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

Returns a new instance of Helper.



55
56
57
58
59
60
# File 'lib/offsite_payments/integrations/moneybookers.rb', line 55

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 OffsitePayments::Helper