Class: FedexWebServices::Soap::Ship::DangerousGoodsContainer

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitions.rb

Overview

http://fedex.com/ws/ship/v12DangerousGoodsContainer

packingType - FedexWebServices::Soap::Ship::HazardousContainerPackingType
containerType - SOAP::SOAPString
radioactiveContainerClass - FedexWebServices::Soap::Ship::RadioactiveContainerClassType
numberOfContainers - SOAP::SOAPNonNegativeInteger
hazardousCommodities - FedexWebServices::Soap::Ship::HazardousCommodityContent

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(packingType = nil, containerType = nil, radioactiveContainerClass = nil, numberOfContainers = nil, hazardousCommodities = []) ⇒ DangerousGoodsContainer

Returns a new instance of DangerousGoodsContainer.



1044
1045
1046
1047
1048
1049
1050
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1044

def initialize(packingType = nil, containerType = nil, radioactiveContainerClass = nil, numberOfContainers = nil, hazardousCommodities = [])
  @packingType = packingType
  @containerType = containerType
  @radioactiveContainerClass = radioactiveContainerClass
  @numberOfContainers = numberOfContainers
  @hazardousCommodities = hazardousCommodities
end

Instance Attribute Details

#containerTypeObject

Returns the value of attribute containerType.



1039
1040
1041
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1039

def containerType
  @containerType
end

#hazardousCommoditiesObject

Returns the value of attribute hazardousCommodities.



1042
1043
1044
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1042

def hazardousCommodities
  @hazardousCommodities
end

#numberOfContainersObject

Returns the value of attribute numberOfContainers.



1041
1042
1043
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1041

def numberOfContainers
  @numberOfContainers
end

#packingTypeObject

Returns the value of attribute packingType.



1038
1039
1040
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1038

def packingType
  @packingType
end

#radioactiveContainerClassObject

Returns the value of attribute radioactiveContainerClass.



1040
1041
1042
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1040

def radioactiveContainerClass
  @radioactiveContainerClass
end