Class: CalculatedShippingRateType
- Inherits:
-
Object
- Object
- CalculatedShippingRateType
- 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
-
#carrierDetails ⇒ Object
Returns the value of attribute carrierDetails.
-
#originatingPostalCode ⇒ Object
Returns the value of attribute originatingPostalCode.
-
#shippingIrregular ⇒ Object
Returns the value of attribute shippingIrregular.
-
#shippingPackage ⇒ Object
Returns the value of attribute shippingPackage.
-
#weightMajor ⇒ Object
Returns the value of attribute weightMajor.
-
#weightMinor ⇒ Object
Returns the value of attribute weightMinor.
Instance Method Summary collapse
-
#initialize(originatingPostalCode = nil, shippingIrregular = nil, carrierDetails = [], shippingPackage = nil, weightMajor = nil, weightMinor = nil) ⇒ CalculatedShippingRateType
constructor
A new instance of CalculatedShippingRateType.
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
#carrierDetails ⇒ Object
Returns the value of attribute carrierDetails.
1912 1913 1914 |
# File 'lib/v_paypal/default.rb', line 1912 def carrierDetails @carrierDetails end |
#originatingPostalCode ⇒ Object
Returns the value of attribute originatingPostalCode.
1910 1911 1912 |
# File 'lib/v_paypal/default.rb', line 1910 def originatingPostalCode @originatingPostalCode end |
#shippingIrregular ⇒ Object
Returns the value of attribute shippingIrregular.
1911 1912 1913 |
# File 'lib/v_paypal/default.rb', line 1911 def shippingIrregular @shippingIrregular end |
#shippingPackage ⇒ Object
Returns the value of attribute shippingPackage.
1913 1914 1915 |
# File 'lib/v_paypal/default.rb', line 1913 def shippingPackage @shippingPackage end |
#weightMajor ⇒ Object
Returns the value of attribute weightMajor.
1914 1915 1916 |
# File 'lib/v_paypal/default.rb', line 1914 def weightMajor @weightMajor end |
#weightMinor ⇒ Object
Returns the value of attribute weightMinor.
1915 1916 1917 |
# File 'lib/v_paypal/default.rb', line 1915 def weightMinor @weightMinor end |