Class: CommodityList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#codeCountryOfManufactureObject

Returns the value of attribute codeCountryOfManufacture.



208
209
210
# File 'lib/g4s/shipping/default.rb', line 208

def codeCountryOfManufacture
  @codeCountryOfManufacture
end

#commodityDescriptionObject

Returns the value of attribute commodityDescription.



202
203
204
# File 'lib/g4s/shipping/default.rb', line 202

def commodityDescription
  @commodityDescription
end

#commodityQuantityObject

Returns the value of attribute commodityQuantity.



204
205
206
# File 'lib/g4s/shipping/default.rb', line 204

def commodityQuantity
  @commodityQuantity
end

#commodityWeightObject

Returns the value of attribute commodityWeight.



207
208
209
# File 'lib/g4s/shipping/default.rb', line 207

def commodityWeight
  @commodityWeight
end

#customValueObject

Returns the value of attribute customValue.



206
207
208
# File 'lib/g4s/shipping/default.rb', line 206

def customValue
  @customValue
end

#harmonizedCodeObject

Returns the value of attribute harmonizedCode.



203
204
205
# File 'lib/g4s/shipping/default.rb', line 203

def harmonizedCode
  @harmonizedCode
end

#measurementObject

Returns the value of attribute measurement.



205
206
207
# File 'lib/g4s/shipping/default.rb', line 205

def measurement
  @measurement
end

#nameOnLabelObject

Returns the value of attribute nameOnLabel.



209
210
211
# File 'lib/g4s/shipping/default.rb', line 209

def nameOnLabel
  @nameOnLabel
end