Class: ChannelAdvisor::OrderServiceSOAP::RefundItem

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

Overview

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

sKU - SOAP::SOAPString
amount - SOAP::SOAPDecimal
shippingAmount - SOAP::SOAPDecimal
shippingTaxAmount - SOAP::SOAPDecimal
taxAmount - SOAP::SOAPDecimal
giftWrapAmount - SOAP::SOAPDecimal
giftWrapTaxAmount - SOAP::SOAPDecimal
quantity - SOAP::SOAPInt
refundRequestID - SOAP::SOAPInt
refundRequested - SOAP::SOAPBoolean
restockQuantity - SOAP::SOAPBoolean
adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
sellerRefundID - SOAP::SOAPString

Direct Known Subclasses

OrderLineItemRefundHistoryResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, giftWrapAmount = nil, giftWrapTaxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, restockQuantity = nil, adjustmentReason = nil, sellerRefundID = nil) ⇒ RefundItem

Returns a new instance of RefundItem



344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
# File 'lib/channel_advisor/order_service/types.rb', line 344

def initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, giftWrapAmount = nil, giftWrapTaxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, restockQuantity = nil, adjustmentReason = nil, sellerRefundID = nil)
  @sKU = sKU
  @amount = amount
  @shippingAmount = shippingAmount
  @shippingTaxAmount = shippingTaxAmount
  @taxAmount = taxAmount
  @giftWrapAmount = giftWrapAmount
  @giftWrapTaxAmount = giftWrapTaxAmount
  @quantity = quantity
  @refundRequestID = refundRequestID
  @refundRequested = refundRequested
  @restockQuantity = restockQuantity
  @adjustmentReason = adjustmentReason
  @sellerRefundID = sellerRefundID
end

Instance Attribute Details

#adjustmentReasonObject

Returns the value of attribute adjustmentReason



341
342
343
# File 'lib/channel_advisor/order_service/types.rb', line 341

def adjustmentReason
  @adjustmentReason
end

#amountObject

Returns the value of attribute amount



331
332
333
# File 'lib/channel_advisor/order_service/types.rb', line 331

def amount
  @amount
end

#giftWrapAmountObject

Returns the value of attribute giftWrapAmount



335
336
337
# File 'lib/channel_advisor/order_service/types.rb', line 335

def giftWrapAmount
  @giftWrapAmount
end

#giftWrapTaxAmountObject

Returns the value of attribute giftWrapTaxAmount



336
337
338
# File 'lib/channel_advisor/order_service/types.rb', line 336

def giftWrapTaxAmount
  @giftWrapTaxAmount
end

#quantityObject

Returns the value of attribute quantity



337
338
339
# File 'lib/channel_advisor/order_service/types.rb', line 337

def quantity
  @quantity
end

#refundRequestedObject

Returns the value of attribute refundRequested



339
340
341
# File 'lib/channel_advisor/order_service/types.rb', line 339

def refundRequested
  @refundRequested
end

#refundRequestIDObject

Returns the value of attribute refundRequestID



338
339
340
# File 'lib/channel_advisor/order_service/types.rb', line 338

def refundRequestID
  @refundRequestID
end

#restockQuantityObject

Returns the value of attribute restockQuantity



340
341
342
# File 'lib/channel_advisor/order_service/types.rb', line 340

def restockQuantity
  @restockQuantity
end

#sellerRefundIDObject

Returns the value of attribute sellerRefundID



342
343
344
# File 'lib/channel_advisor/order_service/types.rb', line 342

def sellerRefundID
  @sellerRefundID
end

#shippingAmountObject

Returns the value of attribute shippingAmount



332
333
334
# File 'lib/channel_advisor/order_service/types.rb', line 332

def shippingAmount
  @shippingAmount
end

#shippingTaxAmountObject

Returns the value of attribute shippingTaxAmount



333
334
335
# File 'lib/channel_advisor/order_service/types.rb', line 333

def shippingTaxAmount
  @shippingTaxAmount
end

#sKUObject

Returns the value of attribute sKU



330
331
332
# File 'lib/channel_advisor/order_service/types.rb', line 330

def sKU
  @sKU
end

#taxAmountObject

Returns the value of attribute taxAmount



334
335
336
# File 'lib/channel_advisor/order_service/types.rb', line 334

def taxAmount
  @taxAmount
end