Class/Module Index [+]

Quicksearch

ActiveMerchant::Billing::Integrations::EPaymentPlans

Public Class Methods

notification(post, options = {}) click to toggle source
# File lib/active_merchant/billing/integrations/e_payment_plans.rb, line 38
def self.notification(post, options = {})
  Notification.new(post, options)
end
notification_confirmation_url() click to toggle source
# File lib/active_merchant/billing/integrations/e_payment_plans.rb, line 26
def self.notification_confirmation_url
  mode = ActiveMerchant::Billing::Base.integration_mode
  case mode
  when :production
    "#{production_url}/order/confirmation"
  when :test
    "#{test_url}/order/confirmation"
  else
    raise StandardError, "Integration mode set to an invalid value: #{mode}"
  end
end
return(query_string, options = {}) click to toggle source
# File lib/active_merchant/billing/integrations/e_payment_plans.rb, line 42
def self.return(query_string, options = {})
  Return.new(query_string, options)
end
service_url() click to toggle source
# File lib/active_merchant/billing/integrations/e_payment_plans.rb, line 14
def self.service_url
  mode = ActiveMerchant::Billing::Base.integration_mode
  case mode
  when :production
    "#{production_url}/order/purchase"
  when :test
    "#{test_url}/order/purchase"
  else
    raise StandardError, "Integration mode set to an invalid value: #{mode}"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.