Class: CalculatedShippingRateType
- Inherits:
-
Object
- Object
- CalculatedShippingRateType
- Defined in:
- lib/paypal-business/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.
2097 2098 2099 2100 2101 2102 2103 2104 |
# File 'lib/paypal-business/default.rb', line 2097 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.
2092 2093 2094 |
# File 'lib/paypal-business/default.rb', line 2092 def carrierDetails @carrierDetails end |
#originatingPostalCode ⇒ Object
Returns the value of attribute originatingPostalCode.
2090 2091 2092 |
# File 'lib/paypal-business/default.rb', line 2090 def originatingPostalCode @originatingPostalCode end |
#shippingIrregular ⇒ Object
Returns the value of attribute shippingIrregular.
2091 2092 2093 |
# File 'lib/paypal-business/default.rb', line 2091 def shippingIrregular @shippingIrregular end |
#shippingPackage ⇒ Object
Returns the value of attribute shippingPackage.
2093 2094 2095 |
# File 'lib/paypal-business/default.rb', line 2093 def shippingPackage @shippingPackage end |
#weightMajor ⇒ Object
Returns the value of attribute weightMajor.
2094 2095 2096 |
# File 'lib/paypal-business/default.rb', line 2094 def weightMajor @weightMajor end |
#weightMinor ⇒ Object
Returns the value of attribute weightMinor.
2095 2096 2097 |
# File 'lib/paypal-business/default.rb', line 2095 def weightMinor @weightMinor end |