Class: Gillbus::CancelOrder::Request
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Gillbus::CancelOrder::Request
- Defined in:
- lib/gillbus/cancel_order.rb
Instance Attribute Summary collapse
-
#cancel_reason ⇒ Object
cancelReason Cancellation reason.
-
#order_number ⇒ Object
orderNumber The order number.
Instance Method Summary collapse
Methods inherited from BaseRequest
Constructor Details
This class inherits a constructor from Gillbus::BaseRequest
Instance Attribute Details
#cancel_reason ⇒ Object
cancelReason Cancellation reason
14 15 16 |
# File 'lib/gillbus/cancel_order.rb', line 14 def cancel_reason @cancel_reason end |
#order_number ⇒ Object
orderNumber The order number
10 11 12 |
# File 'lib/gillbus/cancel_order.rb', line 10 def order_number @order_number end |
Instance Method Details
#params ⇒ Object
16 17 18 19 20 21 |
# File 'lib/gillbus/cancel_order.rb', line 16 def params compact( orderNumber: order_number, cancelReason: cancel_reason, ) end |
#path ⇒ Object
6 |
# File 'lib/gillbus/cancel_order.rb', line 6 def path; '/online2/cancelOrder' end |