Class: FedexWebServices::Soap::Rate::Commodity

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

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

#additionalMeasuresObject

Returns the value of attribute additionalMeasures.



303
304
305
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 303

def additionalMeasures
  @additionalMeasures
end

#cIMarksAndNumbersObject

Returns the value of attribute cIMarksAndNumbers.



309
310
311
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 309

def cIMarksAndNumbers
  @cIMarksAndNumbers
end

#countryOfManufactureObject

Returns the value of attribute countryOfManufacture.



298
299
300
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 298

def countryOfManufacture
  @countryOfManufacture
end

#customsValueObject

Returns the value of attribute customsValue.



305
306
307
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 305

def customsValue
  @customsValue
end

#descriptionObject

Returns the value of attribute description.



297
298
299
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 297

def description
  @description
end

#exciseConditionsObject

Returns the value of attribute exciseConditions.



306
307
308
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 306

def exciseConditions
  @exciseConditions
end

#exportLicenseExpirationDateObject

Returns the value of attribute exportLicenseExpirationDate.



308
309
310
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 308

def exportLicenseExpirationDate
  @exportLicenseExpirationDate
end

#exportLicenseNumberObject

Returns the value of attribute exportLicenseNumber.



307
308
309
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 307

def exportLicenseNumber
  @exportLicenseNumber
end

#harmonizedCodeObject

Returns the value of attribute harmonizedCode.



299
300
301
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 299

def harmonizedCode
  @harmonizedCode
end

#naftaDetailObject

Returns the value of attribute naftaDetail.



311
312
313
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 311

def naftaDetail
  @naftaDetail
end

#nameObject

Returns the value of attribute name.



295
296
297
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 295

def name
  @name
end

#numberOfPiecesObject

Returns the value of attribute numberOfPieces.



296
297
298
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 296

def numberOfPieces
  @numberOfPieces
end

#partNumberObject

Returns the value of attribute partNumber.



310
311
312
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 310

def partNumber
  @partNumber
end

#quantityObject

Returns the value of attribute quantity.



301
302
303
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 301

def quantity
  @quantity
end

#quantityUnitsObject

Returns the value of attribute quantityUnits.



302
303
304
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 302

def quantityUnits
  @quantityUnits
end

#unitPriceObject

Returns the value of attribute unitPrice.



304
305
306
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 304

def unitPrice
  @unitPrice
end

#weightObject

Returns the value of attribute weight.



300
301
302
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 300

def weight
  @weight
end