Class: FedexWebServices::Soap::Ship::Commodity
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Commodity
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Commodity
name - SOAP::SOAPString
numberOfPieces - SOAP::SOAPNonNegativeInteger
description - SOAP::SOAPString
countryOfManufacture - SOAP::SOAPString
harmonizedCode - SOAP::SOAPString
weight - FedexWebServices::Soap::Ship::Weight
quantity - SOAP::SOAPNonNegativeInteger
quantityUnits - SOAP::SOAPString
additionalMeasures - FedexWebServices::Soap::Ship::Measure
unitPrice - FedexWebServices::Soap::Ship::Money
customsValue - FedexWebServices::Soap::Ship::Money
exciseConditions - FedexWebServices::Soap::Ship::EdtExciseCondition
exportLicenseNumber - SOAP::SOAPString
exportLicenseExpirationDate - SOAP::SOAPDate
cIMarksAndNumbers - SOAP::SOAPString
partNumber - SOAP::SOAPString
naftaDetail - FedexWebServices::Soap::Ship::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.
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 353 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.
343 344 345 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 343 def additionalMeasures @additionalMeasures end |
#cIMarksAndNumbers ⇒ Object
Returns the value of attribute cIMarksAndNumbers.
349 350 351 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 349 def cIMarksAndNumbers @cIMarksAndNumbers end |
#countryOfManufacture ⇒ Object
Returns the value of attribute countryOfManufacture.
338 339 340 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 338 def countryOfManufacture @countryOfManufacture end |
#customsValue ⇒ Object
Returns the value of attribute customsValue.
345 346 347 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 345 def customsValue @customsValue end |
#description ⇒ Object
Returns the value of attribute description.
337 338 339 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 337 def description @description end |
#exciseConditions ⇒ Object
Returns the value of attribute exciseConditions.
346 347 348 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 346 def exciseConditions @exciseConditions end |
#exportLicenseExpirationDate ⇒ Object
Returns the value of attribute exportLicenseExpirationDate.
348 349 350 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 348 def exportLicenseExpirationDate @exportLicenseExpirationDate end |
#exportLicenseNumber ⇒ Object
Returns the value of attribute exportLicenseNumber.
347 348 349 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 347 def exportLicenseNumber @exportLicenseNumber end |
#harmonizedCode ⇒ Object
Returns the value of attribute harmonizedCode.
339 340 341 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 339 def harmonizedCode @harmonizedCode end |
#naftaDetail ⇒ Object
Returns the value of attribute naftaDetail.
351 352 353 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 351 def naftaDetail @naftaDetail end |
#name ⇒ Object
Returns the value of attribute name.
335 336 337 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 335 def name @name end |
#numberOfPieces ⇒ Object
Returns the value of attribute numberOfPieces.
336 337 338 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 336 def numberOfPieces @numberOfPieces end |
#partNumber ⇒ Object
Returns the value of attribute partNumber.
350 351 352 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 350 def partNumber @partNumber end |
#quantity ⇒ Object
Returns the value of attribute quantity.
341 342 343 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 341 def quantity @quantity end |
#quantityUnits ⇒ Object
Returns the value of attribute quantityUnits.
342 343 344 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 342 def quantityUnits @quantityUnits end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
344 345 346 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 344 def unitPrice @unitPrice end |
#weight ⇒ Object
Returns the value of attribute weight.
340 341 342 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 340 def weight @weight end |