Class: OffsitePayments::Integrations::PaypalPaymentsAdvanced::Helper

Inherits:
OffsitePayments::Integrations::PayflowLink::Helper show all
Defined in:
lib/offsite_payments/integrations/paypal_payments_advanced.rb

Instance Attribute Summary

Attributes inherited from Helper

#fields

Instance Method Summary collapse

Methods inherited from OffsitePayments::Integrations::PayflowLink::Helper

#billing_address, #customer, #description, #form_fields

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.



16
17
18
19
# File 'lib/offsite_payments/integrations/paypal_payments_advanced.rb', line 16

def initialize(order, , options)
  super
  add_field('partner', 'PayPal')
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OffsitePayments::Helper