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")]],
  ["internationalPackagingHandlingCosts", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalPackagingHandlingCosts")]],
  ["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, internationalPackagingHandlingCosts = nil) ⇒ CalculatedShippingRateType

Returns a new instance of CalculatedShippingRateType.



15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
# File 'lib/eBay.rb', line 15940

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15934
15935
15936
# File 'lib/eBay.rb', line 15934

def __xmlele_any
  @__xmlele_any
end

#internationalPackagingHandlingCostsObject

Returns the value of attribute internationalPackagingHandlingCosts.



15933
15934
15935
# File 'lib/eBay.rb', line 15933

def internationalPackagingHandlingCosts
  @internationalPackagingHandlingCosts
end

#originatingPostalCodeObject

Returns the value of attribute originatingPostalCode.



15924
15925
15926
# File 'lib/eBay.rb', line 15924

def originatingPostalCode
  @originatingPostalCode
end

#packageDepthObject

Returns the value of attribute packageDepth.



15925
15926
15927
# File 'lib/eBay.rb', line 15925

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



15926
15927
15928
# File 'lib/eBay.rb', line 15926

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



15927
15928
15929
# File 'lib/eBay.rb', line 15927

def packageWidth
  @packageWidth
end

#packagingHandlingCostsObject

Returns the value of attribute packagingHandlingCosts.



15928
15929
15930
# File 'lib/eBay.rb', line 15928

def packagingHandlingCosts
  @packagingHandlingCosts
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



15929
15930
15931
# File 'lib/eBay.rb', line 15929

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



15930
15931
15932
# File 'lib/eBay.rb', line 15930

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



15931
15932
15933
# File 'lib/eBay.rb', line 15931

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



15932
15933
15934
# File 'lib/eBay.rb', line 15932

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



15936
15937
15938
# File 'lib/eBay.rb', line 15936

def set_any(elements)
  @__xmlele_any = elements
end