Class: CalculatedShippingRateType

Inherits:
Object
  • Object
show all
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

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.



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

#carrierDetailsObject

Returns the value of attribute carrierDetails.



2092
2093
2094
# File 'lib/paypal-business/default.rb', line 2092

def carrierDetails
  @carrierDetails
end

#originatingPostalCodeObject

Returns the value of attribute originatingPostalCode.



2090
2091
2092
# File 'lib/paypal-business/default.rb', line 2090

def originatingPostalCode
  @originatingPostalCode
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



2091
2092
2093
# File 'lib/paypal-business/default.rb', line 2091

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



2093
2094
2095
# File 'lib/paypal-business/default.rb', line 2093

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



2094
2095
2096
# File 'lib/paypal-business/default.rb', line 2094

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



2095
2096
2097
# File 'lib/paypal-business/default.rb', line 2095

def weightMinor
  @weightMinor
end