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