Sha256: 8201b75abef04ecaf9df34f291577ce049f8a8f45249b51117d8307124546f9e
Contents?: true
Size: 935 Bytes
Versions: 31
Compression:
Stored size: 935 Bytes
Contents
class Gillbus module CancelOrder Gillbus.register self, :cancel_order class Request < BaseRequest def path; '/online2/cancelOrder' end # orderNumber # The order number attr_accessor :order_number # cancelReason # Cancellation reason attr_accessor :cancel_reason def params compact( orderNumber: order_number, cancelReason: cancel_reason, ) end end class Response < BaseResponse class OrderCancel extend Fields # The order number field :number # The cancellation reason field :reason # The flag, which indicates successful order cancellation. field :confirmation, :yesno_bool # The request’s performing date # String. FIXME (Kiiv timezone?) field :date end field :order_cancel, OrderCancel end end end
Version data entries
31 entries across 31 versions & 1 rubygems