Class: ChannelAdvisor::OrderServiceSOAP::RefundOrderRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/order_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersRefundOrderRequest

clientOrderIdentifier - SOAP::SOAPString
orderID - SOAP::SOAPInt
amount - SOAP::SOAPDecimal
adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
sellerRefundID - SOAP::SOAPString
refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clientOrderIdentifier = nil, orderID = nil, amount = nil, adjustmentReason = nil, sellerRefundID = nil, refundItems = nil) ⇒ RefundOrderRequest

Returns a new instance of RefundOrderRequest.



300
301
302
303
304
305
306
307
# File 'lib/channel_advisor/order_service/types.rb', line 300

def initialize(clientOrderIdentifier = nil, orderID = nil, amount = nil, adjustmentReason = nil, sellerRefundID = nil, refundItems = nil)
  @clientOrderIdentifier = clientOrderIdentifier
  @orderID = orderID
  @amount = amount
  @adjustmentReason = adjustmentReason
  @sellerRefundID = sellerRefundID
  @refundItems = refundItems
end

Instance Attribute Details

#adjustmentReasonObject

Returns the value of attribute adjustmentReason.



296
297
298
# File 'lib/channel_advisor/order_service/types.rb', line 296

def adjustmentReason
  @adjustmentReason
end

#amountObject

Returns the value of attribute amount.



295
296
297
# File 'lib/channel_advisor/order_service/types.rb', line 295

def amount
  @amount
end

#clientOrderIdentifierObject

Returns the value of attribute clientOrderIdentifier.



293
294
295
# File 'lib/channel_advisor/order_service/types.rb', line 293

def clientOrderIdentifier
  @clientOrderIdentifier
end

#orderIDObject

Returns the value of attribute orderID.



294
295
296
# File 'lib/channel_advisor/order_service/types.rb', line 294

def orderID
  @orderID
end

#refundItemsObject

Returns the value of attribute refundItems.



298
299
300
# File 'lib/channel_advisor/order_service/types.rb', line 298

def refundItems
  @refundItems
end

#sellerRefundIDObject

Returns the value of attribute sellerRefundID.



297
298
299
# File 'lib/channel_advisor/order_service/types.rb', line 297

def sellerRefundID
  @sellerRefundID
end