Class: FedexWebServices::Soap::Rate::Commodity
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Commodity
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Commodity
name - SOAP::SOAPString
numberOfPieces - SOAP::SOAPNonNegativeInteger
description - SOAP::SOAPString
countryOfManufacture - SOAP::SOAPString
harmonizedCode - SOAP::SOAPString
weight - FedexWebServices::Soap::Rate::Weight
quantity - SOAP::SOAPNonNegativeInteger
quantityUnits - SOAP::SOAPString
additionalMeasures - FedexWebServices::Soap::Rate::Measure
unitPrice - FedexWebServices::Soap::Rate::Money
customsValue - FedexWebServices::Soap::Rate::Money
exciseConditions - FedexWebServices::Soap::Rate::EdtExciseCondition
exportLicenseNumber - SOAP::SOAPString
exportLicenseExpirationDate - SOAP::SOAPDate
cIMarksAndNumbers - SOAP::SOAPString
partNumber - SOAP::SOAPString
naftaDetail - FedexWebServices::Soap::Rate::NaftaCommodityDetail
Instance Attribute Summary collapse
-
#additionalMeasures ⇒ Object
Returns the value of attribute additionalMeasures.
-
#cIMarksAndNumbers ⇒ Object
Returns the value of attribute cIMarksAndNumbers.
-
#countryOfManufacture ⇒ Object
Returns the value of attribute countryOfManufacture.
-
#customsValue ⇒ Object
Returns the value of attribute customsValue.
-
#description ⇒ Object
Returns the value of attribute description.
-
#exciseConditions ⇒ Object
Returns the value of attribute exciseConditions.
-
#exportLicenseExpirationDate ⇒ Object
Returns the value of attribute exportLicenseExpirationDate.
-
#exportLicenseNumber ⇒ Object
Returns the value of attribute exportLicenseNumber.
-
#harmonizedCode ⇒ Object
Returns the value of attribute harmonizedCode.
-
#naftaDetail ⇒ Object
Returns the value of attribute naftaDetail.
-
#name ⇒ Object
Returns the value of attribute name.
-
#numberOfPieces ⇒ Object
Returns the value of attribute numberOfPieces.
-
#partNumber ⇒ Object
Returns the value of attribute partNumber.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#quantityUnits ⇒ Object
Returns the value of attribute quantityUnits.
-
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
Constructor Details
#initialize(name = nil, numberOfPieces = nil, description = nil, countryOfManufacture = nil, harmonizedCode = nil, weight = nil, quantity = nil, quantityUnits = nil, additionalMeasures = [], unitPrice = nil, customsValue = nil, exciseConditions = [], exportLicenseNumber = nil, exportLicenseExpirationDate = nil, cIMarksAndNumbers = nil, partNumber = nil, naftaDetail = nil) ⇒ Commodity
Returns a new instance of Commodity.
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 313 def initialize(name = nil, numberOfPieces = nil, description = nil, countryOfManufacture = nil, harmonizedCode = nil, weight = nil, quantity = nil, quantityUnits = nil, additionalMeasures = [], unitPrice = nil, customsValue = nil, exciseConditions = [], exportLicenseNumber = nil, exportLicenseExpirationDate = nil, cIMarksAndNumbers = nil, partNumber = nil, naftaDetail = nil) @name = name @numberOfPieces = numberOfPieces @description = description @countryOfManufacture = countryOfManufacture @harmonizedCode = harmonizedCode @weight = weight @quantity = quantity @quantityUnits = quantityUnits @additionalMeasures = additionalMeasures @unitPrice = unitPrice @customsValue = customsValue @exciseConditions = exciseConditions @exportLicenseNumber = exportLicenseNumber @exportLicenseExpirationDate = exportLicenseExpirationDate @cIMarksAndNumbers = cIMarksAndNumbers @partNumber = partNumber @naftaDetail = naftaDetail end |
Instance Attribute Details
#additionalMeasures ⇒ Object
Returns the value of attribute additionalMeasures.
303 304 305 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 303 def additionalMeasures @additionalMeasures end |
#cIMarksAndNumbers ⇒ Object
Returns the value of attribute cIMarksAndNumbers.
309 310 311 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 309 def cIMarksAndNumbers @cIMarksAndNumbers end |
#countryOfManufacture ⇒ Object
Returns the value of attribute countryOfManufacture.
298 299 300 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 298 def countryOfManufacture @countryOfManufacture end |
#customsValue ⇒ Object
Returns the value of attribute customsValue.
305 306 307 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 305 def customsValue @customsValue end |
#description ⇒ Object
Returns the value of attribute description.
297 298 299 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 297 def description @description end |
#exciseConditions ⇒ Object
Returns the value of attribute exciseConditions.
306 307 308 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 306 def exciseConditions @exciseConditions end |
#exportLicenseExpirationDate ⇒ Object
Returns the value of attribute exportLicenseExpirationDate.
308 309 310 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 308 def exportLicenseExpirationDate @exportLicenseExpirationDate end |
#exportLicenseNumber ⇒ Object
Returns the value of attribute exportLicenseNumber.
307 308 309 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 307 def exportLicenseNumber @exportLicenseNumber end |
#harmonizedCode ⇒ Object
Returns the value of attribute harmonizedCode.
299 300 301 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 299 def harmonizedCode @harmonizedCode end |
#naftaDetail ⇒ Object
Returns the value of attribute naftaDetail.
311 312 313 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 311 def naftaDetail @naftaDetail end |
#name ⇒ Object
Returns the value of attribute name.
295 296 297 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 295 def name @name end |
#numberOfPieces ⇒ Object
Returns the value of attribute numberOfPieces.
296 297 298 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 296 def numberOfPieces @numberOfPieces end |
#partNumber ⇒ Object
Returns the value of attribute partNumber.
310 311 312 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 310 def partNumber @partNumber end |
#quantity ⇒ Object
Returns the value of attribute quantity.
301 302 303 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 301 def quantity @quantity end |
#quantityUnits ⇒ Object
Returns the value of attribute quantityUnits.
302 303 304 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 302 def quantityUnits @quantityUnits end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
304 305 306 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 304 def unitPrice @unitPrice end |
#weight ⇒ Object
Returns the value of attribute weight.
300 301 302 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 300 def weight @weight end |