Class: ActiveMerchant::Billing::PaymentechOrbital::Request::ProfileManagement

Inherits:
Base
  • Object
show all
Defined in:
lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#gateway, #options

Instance Method Summary collapse

Methods inherited from Base

#address, #full_street_address, #headers, #to_a, #to_xml

Constructor Details

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

Returns a new instance of ProfileManagement.



16
17
18
19
20
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 16

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

Instance Attribute Details

#actionObject

Returns the value of attribute action.



6
7
8
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 6

def action
  @action
end

#credit_cardObject

Returns the value of attribute credit_card.



6
7
8
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 6

def credit_card
  @credit_card
end

Instance Method Details

#industry_typeObject



28
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 28

def industry_type; nil; end

#moneyObject



29
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 29

def money; nil; end

#request_typeObject



22
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 22

def request_type; "Profile"; end

#to_sObject



24
25
26
# File 'lib/active_merchant/billing/paymentech_orbital/request/profile_management.rb', line 24

def to_s
  "Profile #{@action}"
end