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
quantity - SOAP::SOAPInt
refundRequestID - SOAP::SOAPInt
refundRequested - SOAP::SOAPBoolean
adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RefundItem.



199
200
201
202
203
204
205
206
207
208
209
# File 'lib/channel_advisor/order_service/types.rb', line 199

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

Instance Attribute Details

#adjustmentReasonObject

Returns the value of attribute adjustmentReason.



197
198
199
# File 'lib/channel_advisor/order_service/types.rb', line 197

def adjustmentReason
  @adjustmentReason
end

#amountObject

Returns the value of attribute amount.



190
191
192
# File 'lib/channel_advisor/order_service/types.rb', line 190

def amount
  @amount
end

#quantityObject

Returns the value of attribute quantity.



194
195
196
# File 'lib/channel_advisor/order_service/types.rb', line 194

def quantity
  @quantity
end

#refundRequestedObject

Returns the value of attribute refundRequested.



196
197
198
# File 'lib/channel_advisor/order_service/types.rb', line 196

def refundRequested
  @refundRequested
end

#refundRequestIDObject

Returns the value of attribute refundRequestID.



195
196
197
# File 'lib/channel_advisor/order_service/types.rb', line 195

def refundRequestID
  @refundRequestID
end

#shippingAmountObject

Returns the value of attribute shippingAmount.



191
192
193
# File 'lib/channel_advisor/order_service/types.rb', line 191

def shippingAmount
  @shippingAmount
end

#shippingTaxAmountObject

Returns the value of attribute shippingTaxAmount.



192
193
194
# File 'lib/channel_advisor/order_service/types.rb', line 192

def shippingTaxAmount
  @shippingTaxAmount
end

#sKUObject

Returns the value of attribute sKU.



189
190
191
# File 'lib/channel_advisor/order_service/types.rb', line 189

def sKU
  @sKU
end

#taxAmountObject

Returns the value of attribute taxAmount.



193
194
195
# File 'lib/channel_advisor/order_service/types.rb', line 193

def taxAmount
  @taxAmount
end