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.



14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
# File 'lib/eBay.rb', line 14266

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.



14260
14261
14262
# File 'lib/eBay.rb', line 14260

def __xmlele_any
  @__xmlele_any
end

#originatingPostalCodeObject

Returns the value of attribute originatingPostalCode.



14251
14252
14253
# File 'lib/eBay.rb', line 14251

def originatingPostalCode
  @originatingPostalCode
end

#packageDepthObject

Returns the value of attribute packageDepth.



14252
14253
14254
# File 'lib/eBay.rb', line 14252

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



14253
14254
14255
# File 'lib/eBay.rb', line 14253

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



14254
14255
14256
# File 'lib/eBay.rb', line 14254

def packageWidth
  @packageWidth
end

#packagingHandlingCostsObject

Returns the value of attribute packagingHandlingCosts.



14255
14256
14257
# File 'lib/eBay.rb', line 14255

def packagingHandlingCosts
  @packagingHandlingCosts
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



14256
14257
14258
# File 'lib/eBay.rb', line 14256

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



14257
14258
14259
# File 'lib/eBay.rb', line 14257

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



14258
14259
14260
# File 'lib/eBay.rb', line 14258

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



14259
14260
14261
# File 'lib/eBay.rb', line 14259

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



14262
14263
14264
# File 'lib/eBay.rb', line 14262

def set_any(elements)
  @__xmlele_any = elements
end