Class: CalculatedShippingRateType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.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")]],
  ["shippingIrregular", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingIrregular")]],
  ["carrierDetails", ["ShippingCarrierDetailsType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CarrierDetails")]],
  ["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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(originatingPostalCode = nil, shippingIrregular = nil, carrierDetails = [], shippingPackage = nil, weightMajor = nil, weightMinor = nil) ⇒ CalculatedShippingRateType

Returns a new instance of CalculatedShippingRateType.



1917
1918
1919
1920
1921
1922
1923
1924
# File 'lib/v_paypal/default.rb', line 1917

def initialize(originatingPostalCode = nil, shippingIrregular = nil, carrierDetails = [], shippingPackage = nil, weightMajor = nil, weightMinor = nil)
  @originatingPostalCode = originatingPostalCode
  @shippingIrregular = shippingIrregular
  @carrierDetails = carrierDetails
  @shippingPackage = shippingPackage
  @weightMajor = weightMajor
  @weightMinor = weightMinor
end

Instance Attribute Details

#carrierDetailsObject

Returns the value of attribute carrierDetails.



1912
1913
1914
# File 'lib/v_paypal/default.rb', line 1912

def carrierDetails
  @carrierDetails
end

#originatingPostalCodeObject

Returns the value of attribute originatingPostalCode.



1910
1911
1912
# File 'lib/v_paypal/default.rb', line 1910

def originatingPostalCode
  @originatingPostalCode
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



1911
1912
1913
# File 'lib/v_paypal/default.rb', line 1911

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



1913
1914
1915
# File 'lib/v_paypal/default.rb', line 1913

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



1914
1915
1916
# File 'lib/v_paypal/default.rb', line 1914

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



1915
1916
1917
# File 'lib/v_paypal/default.rb', line 1915

def weightMinor
  @weightMinor
end