Class: FedexWebServices::Soap::Rate::FreightShipmentLineItem

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

Instance Method Summary collapse

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

#descriptionObject

Returns the value of attribute description.



1345
1346
1347
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1345

def description
  @description
end

#dimensionsObject

Returns the value of attribute dimensions.



1347
1348
1349
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1347

def dimensions
  @dimensions
end

#freightClassObject

Returns the value of attribute freightClass.



1343
1344
1345
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1343

def freightClass
  @freightClass
end

#packagingObject

Returns the value of attribute packaging.



1344
1345
1346
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1344

def packaging
  @packaging
end

#volumeObject

Returns the value of attribute volume.



1348
1349
1350
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1348

def volume
  @volume
end

#weightObject

Returns the value of attribute weight.



1346
1347
1348
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1346

def weight
  @weight
end