Class: FedexWebServices::Soap::Rate::FreightShipmentLineItem
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::FreightShipmentLineItem
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13FreightShipmentLineItem
freightClass - FedexWebServices::Soap::Rate::FreightClassType
packaging - FedexWebServices::Soap::Rate::PhysicalPackagingType
description - SOAP::SOAPString
weight - FedexWebServices::Soap::Rate::Weight
dimensions - FedexWebServices::Soap::Rate::Dimensions
volume - FedexWebServices::Soap::Rate::Volume
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#dimensions ⇒ Object
Returns the value of attribute dimensions.
-
#freightClass ⇒ Object
Returns the value of attribute freightClass.
-
#packaging ⇒ Object
Returns the value of attribute packaging.
-
#volume ⇒ Object
Returns the value of attribute volume.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize(freightClass = nil, packaging = nil, description = nil, weight = nil, dimensions = nil, volume = nil) ⇒ FreightShipmentLineItem
constructor
A new instance of FreightShipmentLineItem.
Constructor Details
#initialize(freightClass = nil, packaging = nil, description = nil, weight = nil, dimensions = nil, volume = nil) ⇒ FreightShipmentLineItem
Returns a new instance of FreightShipmentLineItem.
1350 1351 1352 1353 1354 1355 1356 1357 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1350 def initialize(freightClass = nil, packaging = nil, description = nil, weight = nil, dimensions = nil, volume = nil) @freightClass = freightClass @packaging = packaging @description = description @weight = weight @dimensions = dimensions @volume = volume end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
1345 1346 1347 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1345 def description @description end |
#dimensions ⇒ Object
Returns the value of attribute dimensions.
1347 1348 1349 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1347 def dimensions @dimensions end |
#freightClass ⇒ Object
Returns the value of attribute freightClass.
1343 1344 1345 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1343 def freightClass @freightClass end |
#packaging ⇒ Object
Returns the value of attribute packaging.
1344 1345 1346 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1344 def packaging @packaging end |
#volume ⇒ Object
Returns the value of attribute volume.
1348 1349 1350 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1348 def volume @volume end |
#weight ⇒ Object
Returns the value of attribute weight.
1346 1347 1348 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1346 def weight @weight end |