Class: GlobalCollect::Requests::InsertOrderWithPayment
- Defined in:
- lib/global_collect/requests/insert_order_with_payment.rb
Instance Attribute Summary
Attributes inherited from Base
#action, #suggested_response_mixins, #version
Instance Method Summary collapse
-
#initialize(order_and_builder, payment_and_builder, *extra_pairs) ⇒ InsertOrderWithPayment
constructor
WDL §5.28 requires ORDER and PAYMENT nodes in PARAMS, but may optionally include AIRLINEDATA and ORDERLINES, as well.
Methods inherited from Composite
Methods inherited from Base
#default_xml_encoding_options, #to_xml
Constructor Details
#initialize(order_and_builder, payment_and_builder, *extra_pairs) ⇒ InsertOrderWithPayment
WDL §5.28 requires ORDER and PAYMENT nodes in PARAMS, but may optionally include AIRLINEDATA and ORDERLINES, as well.
5 6 7 8 |
# File 'lib/global_collect/requests/insert_order_with_payment.rb', line 5 def initialize(order_and_builder, payment_and_builder, *extra_pairs) all_pairs = [order_and_builder, payment_and_builder] + extra_pairs super("INSERT_ORDERWITHPAYMENT", all_pairs) end |