Class: NewOrderRequest
- Inherits:
-
PaymentechOrbitalRequest
- Object
- PaymentechOrbitalRequest
- NewOrderRequest
- Defined in:
- lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb
Instance Attribute Summary collapse
-
#credit_card ⇒ Object
readonly
Returns the value of attribute credit_card.
-
#industry_type ⇒ Object
readonly
Returns the value of attribute industry_type.
-
#message_type ⇒ Object
readonly
Returns the value of attribute message_type.
-
#money ⇒ Object
readonly
Returns the value of attribute money.
Attributes inherited from PaymentechOrbitalRequest
Instance Method Summary collapse
-
#initialize(message_type, money, credit_card, options) ⇒ NewOrderRequest
constructor
A new instance of NewOrderRequest.
- #recurring? ⇒ Boolean
- #request_type ⇒ Object
Methods inherited from PaymentechOrbitalRequest
Constructor Details
#initialize(message_type, money, credit_card, options) ⇒ NewOrderRequest
Returns a new instance of NewOrderRequest.
4 5 6 7 8 9 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 4 def initialize(, money, credit_card, ) @message_type = @money = money @credit_card = credit_card super() end |
Instance Attribute Details
#credit_card ⇒ Object (readonly)
Returns the value of attribute credit_card.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 2 def credit_card @credit_card end |
#industry_type ⇒ Object (readonly)
Returns the value of attribute industry_type.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 2 def industry_type @industry_type end |
#message_type ⇒ Object (readonly)
Returns the value of attribute message_type.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 2 def @message_type end |
#money ⇒ Object (readonly)
Returns the value of attribute money.
2 3 4 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 2 def money @money end |
Instance Method Details
#recurring? ⇒ Boolean
22 23 24 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 22 def recurring? industry_type == "RC" end |
#request_type ⇒ Object
20 |
# File 'lib/active_merchant/billing/gateways/paymentech_orbital/new_order_request.rb', line 20 def request_type; "NewOrder"; end |