Class: PaymentechOrbitalRequest
- Inherits:
-
Object
- Object
- PaymentechOrbitalRequest
- Defined in:
- lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb
Direct Known Subclasses
EndOfDayRequest, NewOrderRequest, ProfileManagementRequest, VoidRequest
Instance Attribute Summary collapse
-
#gateway ⇒ Object
readonly
Returns the value of attribute gateway.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(options = {}) ⇒ PaymentechOrbitalRequest
constructor
A new instance of PaymentechOrbitalRequest.
- #to_xml ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ PaymentechOrbitalRequest
Returns a new instance of PaymentechOrbitalRequest.
4 5 6 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb', line 4 def initialize(={}) @options = end |
Instance Attribute Details
#gateway ⇒ Object (readonly)
Returns the value of attribute gateway.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb', line 2 def gateway @gateway end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb', line 2 def @options end |
Instance Method Details
#headers ⇒ Object
12 13 14 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb', line 12 def headers @_headers ||= [:headers] || {} end |
#to_xml ⇒ Object
8 9 10 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/paymentech_orbital_request.rb', line 8 def to_xml @_xml ||= build_request() end |