Class: FedexWebServices::Soap::Ship::DangerousGoodsContainer
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::DangerousGoodsContainer
- 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
-
#containerType ⇒ Object
Returns the value of attribute containerType.
-
#hazardousCommodities ⇒ Object
Returns the value of attribute hazardousCommodities.
-
#numberOfContainers ⇒ Object
Returns the value of attribute numberOfContainers.
-
#packingType ⇒ Object
Returns the value of attribute packingType.
-
#radioactiveContainerClass ⇒ Object
Returns the value of attribute radioactiveContainerClass.
Instance Method Summary collapse
-
#initialize(packingType = nil, containerType = nil, radioactiveContainerClass = nil, numberOfContainers = nil, hazardousCommodities = []) ⇒ DangerousGoodsContainer
constructor
A new instance of DangerousGoodsContainer.
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
#containerType ⇒ Object
Returns the value of attribute containerType.
1039 1040 1041 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1039 def containerType @containerType end |
#hazardousCommodities ⇒ Object
Returns the value of attribute hazardousCommodities.
1042 1043 1044 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1042 def hazardousCommodities @hazardousCommodities end |
#numberOfContainers ⇒ Object
Returns the value of attribute numberOfContainers.
1041 1042 1043 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1041 def numberOfContainers @numberOfContainers end |
#packingType ⇒ Object
Returns the value of attribute packingType.
1038 1039 1040 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1038 def packingType @packingType end |
#radioactiveContainerClass ⇒ Object
Returns the value of attribute radioactiveContainerClass.
1040 1041 1042 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1040 def radioactiveContainerClass @radioactiveContainerClass end |