Class: CommodityList
- Inherits:
-
Object
- Object
- CommodityList
- Defined in:
- lib/g4s/shipping/default.rb,
lib/g4s/tracking/default.rb
Overview
/CommodityList
commodityDescription - SOAP::SOAPString
harmonizedCode - SOAP::SOAPString
commodityQuantity - SOAP::SOAPDouble
measurement - SOAP::SOAPString
customValue - SOAP::SOAPDouble
commodityWeight - SOAP::SOAPDouble
codeCountryOfManufacture - SOAP::SOAPString
nameOnLabel - SOAP::SOAPString
Instance Attribute Summary collapse
-
#codeCountryOfManufacture ⇒ Object
Returns the value of attribute codeCountryOfManufacture.
-
#commodityDescription ⇒ Object
Returns the value of attribute commodityDescription.
-
#commodityQuantity ⇒ Object
Returns the value of attribute commodityQuantity.
-
#commodityWeight ⇒ Object
Returns the value of attribute commodityWeight.
-
#customValue ⇒ Object
Returns the value of attribute customValue.
-
#harmonizedCode ⇒ Object
Returns the value of attribute harmonizedCode.
-
#measurement ⇒ Object
Returns the value of attribute measurement.
-
#nameOnLabel ⇒ Object
Returns the value of attribute nameOnLabel.
Instance Method Summary collapse
-
#initialize(commodityDescription = nil, harmonizedCode = nil, commodityQuantity = nil, measurement = nil, customValue = nil, commodityWeight = nil, codeCountryOfManufacture = nil, nameOnLabel = nil) ⇒ CommodityList
constructor
A new instance of CommodityList.
Constructor Details
#initialize(commodityDescription = nil, harmonizedCode = nil, commodityQuantity = nil, measurement = nil, customValue = nil, commodityWeight = nil, codeCountryOfManufacture = nil, nameOnLabel = nil) ⇒ CommodityList
Returns a new instance of CommodityList.
211 212 213 214 215 216 217 218 219 220 |
# File 'lib/g4s/shipping/default.rb', line 211 def initialize(commodityDescription = nil, harmonizedCode = nil, commodityQuantity = nil, measurement = nil, customValue = nil, commodityWeight = nil, codeCountryOfManufacture = nil, nameOnLabel = nil) @commodityDescription = commodityDescription @harmonizedCode = harmonizedCode @commodityQuantity = commodityQuantity @measurement = measurement @customValue = customValue @commodityWeight = commodityWeight @codeCountryOfManufacture = codeCountryOfManufacture @nameOnLabel = nameOnLabel end |
Instance Attribute Details
#codeCountryOfManufacture ⇒ Object
Returns the value of attribute codeCountryOfManufacture.
208 209 210 |
# File 'lib/g4s/shipping/default.rb', line 208 def codeCountryOfManufacture @codeCountryOfManufacture end |
#commodityDescription ⇒ Object
Returns the value of attribute commodityDescription.
202 203 204 |
# File 'lib/g4s/shipping/default.rb', line 202 def commodityDescription @commodityDescription end |
#commodityQuantity ⇒ Object
Returns the value of attribute commodityQuantity.
204 205 206 |
# File 'lib/g4s/shipping/default.rb', line 204 def commodityQuantity @commodityQuantity end |
#commodityWeight ⇒ Object
Returns the value of attribute commodityWeight.
207 208 209 |
# File 'lib/g4s/shipping/default.rb', line 207 def commodityWeight @commodityWeight end |
#customValue ⇒ Object
Returns the value of attribute customValue.
206 207 208 |
# File 'lib/g4s/shipping/default.rb', line 206 def customValue @customValue end |
#harmonizedCode ⇒ Object
Returns the value of attribute harmonizedCode.
203 204 205 |
# File 'lib/g4s/shipping/default.rb', line 203 def harmonizedCode @harmonizedCode end |
#measurement ⇒ Object
Returns the value of attribute measurement.
205 206 207 |
# File 'lib/g4s/shipping/default.rb', line 205 def measurement @measurement end |
#nameOnLabel ⇒ Object
Returns the value of attribute nameOnLabel.
209 210 211 |
# File 'lib/g4s/shipping/default.rb', line 209 def nameOnLabel @nameOnLabel end |