Class: GlobalCollect::Requests::CancelPayment
Instance Attribute Summary
Attributes inherited from Base
#action, #suggested_response_mixins, #version
Instance Method Summary (collapse)
- - (Object) fields
-
- (CancelPayment) initialize(order_id, effort_id, attempt_id)
constructor
WDL ??5.2.
- - (Object) wrapper
Methods inherited from Simple
Methods inherited from Base
#default_xml_encoding_options, #to_xml
Constructor Details
- (CancelPayment) initialize(order_id, effort_id, attempt_id)
WDL ??5.2
4 5 6 7 8 9 10 |
# File 'lib/global_collect/requests/cancel_payment.rb', line 4 def initialize(order_id, effort_id, attempt_id) super("CANCEL_PAYMENT", { "ORDERID" => order_id, "EFFORTID" => effort_id, "ATTEMPTID" => attempt_id }) end |
Instance Method Details
- (Object) fields
14 15 16 17 18 19 20 |
# File 'lib/global_collect/requests/cancel_payment.rb', line 14 def fields { "ORDERID" => ["N10", "R"], "EFFORTID" => ["N5", "R"], "ATTEMPTID" => ["N5", "R"] } end |
- (Object) wrapper
12 |
# File 'lib/global_collect/requests/cancel_payment.rb', line 12 def wrapper; "PAYMENT"; end |