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



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

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



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

def adjustmentReason
  @adjustmentReason
end

#amountObject

Returns the value of attribute amount



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

def amount
  @amount
end

#clientOrderIdentifierObject

Returns the value of attribute clientOrderIdentifier



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

def clientOrderIdentifier
  @clientOrderIdentifier
end

#orderIDObject

Returns the value of attribute orderID



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

def orderID
  @orderID
end

#refundItemsObject

Returns the value of attribute refundItems



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

def refundItems
  @refundItems
end

#sellerRefundIDObject

Returns the value of attribute sellerRefundID



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

def sellerRefundID
  @sellerRefundID
end