Class: FedexWebServices::Soap::Rate::DangerousGoodsContainer

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

Instance Method Summary collapse

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

#containerTypeObject

Returns the value of attribute containerType.



720
721
722
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 720

def containerType
  @containerType
end

#hazardousCommoditiesObject

Returns the value of attribute hazardousCommodities.



723
724
725
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 723

def hazardousCommodities
  @hazardousCommodities
end

#numberOfContainersObject

Returns the value of attribute numberOfContainers.



722
723
724
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 722

def numberOfContainers
  @numberOfContainers
end

#packingTypeObject

Returns the value of attribute packingType.



719
720
721
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 719

def packingType
  @packingType
end

#radioactiveContainerClassObject

Returns the value of attribute radioactiveContainerClass.



721
722
723
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 721

def radioactiveContainerClass
  @radioactiveContainerClass
end