Class: CalculatedShippingRateType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsCalculatedShippingRateType

Constant Summary collapse

@@schema_type =
"CalculatedShippingRateType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["originatingPostalCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OriginatingPostalCode")]],
["packageDepth", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageDepth")]],
["packageLength", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageLength")]],
["packageWidth", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageWidth")]],
["packagingHandlingCosts", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackagingHandlingCosts")]],
["shippingIrregular", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingIrregular")]],
["shippingPackage", ["ShippingPackageCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingPackage")]],
["weightMajor", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WeightMajor")]],
["weightMinor", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WeightMinor")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(originatingPostalCode = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, packagingHandlingCosts = nil, shippingIrregular = nil, shippingPackage = nil, weightMajor = nil, weightMinor = nil) ⇒ CalculatedShippingRateType

Returns a new instance of CalculatedShippingRateType.



12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
# File 'lib/eBay.rb', line 12647

def initialize(originatingPostalCode = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, packagingHandlingCosts = nil, shippingIrregular = nil, shippingPackage = nil, weightMajor = nil, weightMinor = nil)
  @originatingPostalCode = originatingPostalCode
  @packageDepth = packageDepth
  @packageLength = packageLength
  @packageWidth = packageWidth
  @packagingHandlingCosts = packagingHandlingCosts
  @shippingIrregular = shippingIrregular
  @shippingPackage = shippingPackage
  @weightMajor = weightMajor
  @weightMinor = weightMinor
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12641
12642
12643
# File 'lib/eBay.rb', line 12641

def __xmlele_any
  @__xmlele_any
end

#originatingPostalCodeObject

Returns the value of attribute originatingPostalCode.



12632
12633
12634
# File 'lib/eBay.rb', line 12632

def originatingPostalCode
  @originatingPostalCode
end

#packageDepthObject

Returns the value of attribute packageDepth.



12633
12634
12635
# File 'lib/eBay.rb', line 12633

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



12634
12635
12636
# File 'lib/eBay.rb', line 12634

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



12635
12636
12637
# File 'lib/eBay.rb', line 12635

def packageWidth
  @packageWidth
end

#packagingHandlingCostsObject

Returns the value of attribute packagingHandlingCosts.



12636
12637
12638
# File 'lib/eBay.rb', line 12636

def packagingHandlingCosts
  @packagingHandlingCosts
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



12637
12638
12639
# File 'lib/eBay.rb', line 12637

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



12638
12639
12640
# File 'lib/eBay.rb', line 12638

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



12639
12640
12641
# File 'lib/eBay.rb', line 12639

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



12640
12641
12642
# File 'lib/eBay.rb', line 12640

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



12643
12644
12645
# File 'lib/eBay.rb', line 12643

def set_any(elements)
  @__xmlele_any = elements
end