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.



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

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.



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

def adjustmentReason
  @adjustmentReason
end

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#giftWrapAmountObject

Returns the value of attribute giftWrapAmount.



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

def giftWrapAmount
  @giftWrapAmount
end

#giftWrapTaxAmountObject

Returns the value of attribute giftWrapTaxAmount.



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

def giftWrapTaxAmount
  @giftWrapTaxAmount
end

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#refundRequestedObject

Returns the value of attribute refundRequested.



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

def refundRequested
  @refundRequested
end

#refundRequestIDObject

Returns the value of attribute refundRequestID.



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

def refundRequestID
  @refundRequestID
end

#restockQuantityObject

Returns the value of attribute restockQuantity.



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

def restockQuantity
  @restockQuantity
end

#sellerRefundIDObject

Returns the value of attribute sellerRefundID.



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

def sellerRefundID
  @sellerRefundID
end

#shippingAmountObject

Returns the value of attribute shippingAmount.



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

def shippingAmount
  @shippingAmount
end

#shippingTaxAmountObject

Returns the value of attribute shippingTaxAmount.



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

def shippingTaxAmount
  @shippingTaxAmount
end

#sKUObject

Returns the value of attribute sKU.



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

def sKU
  @sKU
end

#taxAmountObject

Returns the value of attribute taxAmount.



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

def taxAmount
  @taxAmount
end