Class: ChannelAdvisor::OrderServiceSOAP::RefundItem
- Inherits:
-
Object
- Object
- ChannelAdvisor::OrderServiceSOAP::RefundItem
- 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
-
#adjustmentReason ⇒ Object
Returns the value of attribute adjustmentReason.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#refundRequested ⇒ Object
Returns the value of attribute refundRequested.
-
#refundRequestID ⇒ Object
Returns the value of attribute refundRequestID.
-
#shippingAmount ⇒ Object
Returns the value of attribute shippingAmount.
-
#shippingTaxAmount ⇒ Object
Returns the value of attribute shippingTaxAmount.
-
#sKU ⇒ Object
Returns the value of attribute sKU.
-
#taxAmount ⇒ Object
Returns the value of attribute taxAmount.
Instance Method Summary collapse
-
#initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, adjustmentReason = nil) ⇒ RefundItem
constructor
A new instance of RefundItem.
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
#adjustmentReason ⇒ Object
Returns the value of attribute adjustmentReason.
197 198 199 |
# File 'lib/channel_advisor/order_service/types.rb', line 197 def adjustmentReason @adjustmentReason end |
#amount ⇒ Object
Returns the value of attribute amount.
190 191 192 |
# File 'lib/channel_advisor/order_service/types.rb', line 190 def amount @amount end |
#quantity ⇒ Object
Returns the value of attribute quantity.
194 195 196 |
# File 'lib/channel_advisor/order_service/types.rb', line 194 def quantity @quantity end |
#refundRequested ⇒ Object
Returns the value of attribute refundRequested.
196 197 198 |
# File 'lib/channel_advisor/order_service/types.rb', line 196 def refundRequested @refundRequested end |
#refundRequestID ⇒ Object
Returns the value of attribute refundRequestID.
195 196 197 |
# File 'lib/channel_advisor/order_service/types.rb', line 195 def refundRequestID @refundRequestID end |
#shippingAmount ⇒ Object
Returns the value of attribute shippingAmount.
191 192 193 |
# File 'lib/channel_advisor/order_service/types.rb', line 191 def shippingAmount @shippingAmount end |
#shippingTaxAmount ⇒ Object
Returns the value of attribute shippingTaxAmount.
192 193 194 |
# File 'lib/channel_advisor/order_service/types.rb', line 192 def shippingTaxAmount @shippingTaxAmount end |
#sKU ⇒ Object
Returns the value of attribute sKU.
189 190 191 |
# File 'lib/channel_advisor/order_service/types.rb', line 189 def sKU @sKU end |
#taxAmount ⇒ Object
Returns the value of attribute taxAmount.
193 194 195 |
# File 'lib/channel_advisor/order_service/types.rb', line 193 def taxAmount @taxAmount end |