Class: FlatShippingRateType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsFlatShippingRateType

Constant Summary collapse

@@schema_type =
"FlatShippingRateType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["additionalShippingCosts", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AdditionalShippingCosts")]],
  ["flatShippingHandlingCosts", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FlatShippingHandlingCosts")]],
  ["insuranceFee", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceFee")]],
  ["insuranceOption", ["InsuranceOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceOption")]],
  ["shippingService", ["ShippingServiceCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingService")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(additionalShippingCosts = nil, flatShippingHandlingCosts = nil, insuranceFee = nil, insuranceOption = nil, shippingService = nil) ⇒ FlatShippingRateType

Returns a new instance of FlatShippingRateType.



2125
2126
2127
2128
2129
2130
2131
# File 'lib/paypal-business/default.rb', line 2125

def initialize(additionalShippingCosts = nil, flatShippingHandlingCosts = nil, insuranceFee = nil, insuranceOption = nil, shippingService = nil)
  @additionalShippingCosts = additionalShippingCosts
  @flatShippingHandlingCosts = flatShippingHandlingCosts
  @insuranceFee = insuranceFee
  @insuranceOption = insuranceOption
  @shippingService = shippingService
end

Instance Attribute Details

#additionalShippingCostsObject

Returns the value of attribute additionalShippingCosts.



2119
2120
2121
# File 'lib/paypal-business/default.rb', line 2119

def additionalShippingCosts
  @additionalShippingCosts
end

#flatShippingHandlingCostsObject

Returns the value of attribute flatShippingHandlingCosts.



2120
2121
2122
# File 'lib/paypal-business/default.rb', line 2120

def flatShippingHandlingCosts
  @flatShippingHandlingCosts
end

#insuranceFeeObject

Returns the value of attribute insuranceFee.



2121
2122
2123
# File 'lib/paypal-business/default.rb', line 2121

def insuranceFee
  @insuranceFee
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



2122
2123
2124
# File 'lib/paypal-business/default.rb', line 2122

def insuranceOption
  @insuranceOption
end

#shippingServiceObject

Returns the value of attribute shippingService.



2123
2124
2125
# File 'lib/paypal-business/default.rb', line 2123

def shippingService
  @shippingService
end