Class: GlobalCollect::Requests::SetPayment
- Defined in:
- lib/global_collect/requests/set_payment.rb
Instance Attribute Summary
Attributes inherited from Base
#action, #suggested_response_mixins, #version
Instance Method Summary collapse
-
#initialize(payment_and_builder, *extra_pairs) ⇒ SetPayment
constructor
WDL §5.33 requires a PAYMENT node and allows more optional nodes.
Methods inherited from Composite
Methods inherited from Base
#default_xml_encoding_options, #to_xml
Constructor Details
#initialize(payment_and_builder, *extra_pairs) ⇒ SetPayment
WDL §5.33 requires a PAYMENT node and allows more optional nodes
4 5 6 7 |
# File 'lib/global_collect/requests/set_payment.rb', line 4 def initialize(payment_and_builder, *extra_pairs) all_pairs = [payment_and_builder] + extra_pairs super("SET_PAYMENT", all_pairs) end |