Class: FedexWebServices::Soap::Rate::DangerousGoodsContainer
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::DangerousGoodsContainer
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13DangerousGoodsContainer
packingType - FedexWebServices::Soap::Rate::HazardousContainerPackingType
containerType - SOAP::SOAPString
radioactiveContainerClass - FedexWebServices::Soap::Rate::RadioactiveContainerClassType
numberOfContainers - SOAP::SOAPNonNegativeInteger
hazardousCommodities - FedexWebServices::Soap::Rate::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.
725 726 727 728 729 730 731 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 725 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.
720 721 722 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 720 def containerType @containerType end |
#hazardousCommodities ⇒ Object
Returns the value of attribute hazardousCommodities.
723 724 725 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 723 def hazardousCommodities @hazardousCommodities end |
#numberOfContainers ⇒ Object
Returns the value of attribute numberOfContainers.
722 723 724 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 722 def numberOfContainers @numberOfContainers end |
#packingType ⇒ Object
Returns the value of attribute packingType.
719 720 721 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 719 def packingType @packingType end |
#radioactiveContainerClass ⇒ Object
Returns the value of attribute radioactiveContainerClass.
721 722 723 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 721 def radioactiveContainerClass @radioactiveContainerClass end |