Class: ProfileManagementRequest

Inherits:
PaymentechOrbitalRequest show all
Defined in:
lib/active_merchant/billing/gateways/paymentech_orbital/profile_management_request.rb

Instance Attribute Summary collapse

Attributes inherited from PaymentechOrbitalRequest

#gateway, #options

Instance Method Summary collapse

Methods inherited from PaymentechOrbitalRequest

#headers, #to_xml

Constructor Details

#initialize(action, credit_card = nil, options = {}) ⇒ ProfileManagementRequest

Returns a new instance of ProfileManagementRequest.



12
13
14
15
16
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/profile_management_request.rb', line 12

def initialize(action, credit_card=nil, options={})
  @action = action
  @credit_card = credit_card
  super(options)
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



2
3
4
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/profile_management_request.rb', line 2

def action
  @action
end

#credit_cardObject

Returns the value of attribute credit_card.



2
3
4
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/profile_management_request.rb', line 2

def credit_card
  @credit_card
end

Instance Method Details

#request_typeObject



18
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/profile_management_request.rb', line 18

def request_type; "Profile"; end