Class: ActiveMerchant::Billing::Integrations::PaypalPaymentsAdvanced::Helper

Inherits:
ActiveMerchant::Billing::Integrations::PayflowLink::Helper show all
Defined in:
lib/active_merchant/billing/integrations/paypal_payments_advanced/helper.rb

Instance Attribute Summary

Attributes inherited from Helper

#fields

Instance Method Summary collapse

Methods inherited from ActiveMerchant::Billing::Integrations::PayflowLink::Helper

#billing_address, #customer, #form_fields

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.



7
8
9
10
# File 'lib/active_merchant/billing/integrations/paypal_payments_advanced/helper.rb', line 7

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 ActiveMerchant::Billing::Integrations::Helper