Class: ShippingServiceOptionsType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsShippingServiceOptionsType

Constant Summary collapse

@@schema_type =
"ShippingServiceOptionsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["shippingInsuranceCost", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingInsuranceCost")]],
  ["shippingService", ["Token", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingService")]],
  ["shippingServiceCost", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServiceCost")]],
  ["shippingServiceAdditionalCost", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServiceAdditionalCost")]],
  ["shippingServicePriority", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServicePriority")]],
  ["expeditedService", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExpeditedService")]],
  ["shippingTimeMin", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingTimeMin")]],
  ["shippingTimeMax", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingTimeMax")]],
  ["shippingSurcharge", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingSurcharge")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shippingInsuranceCost = nil, shippingService = nil, shippingServiceCost = nil, shippingServiceAdditionalCost = nil, shippingServicePriority = nil, expeditedService = nil, shippingTimeMin = nil, shippingTimeMax = nil, shippingSurcharge = nil) ⇒ ShippingServiceOptionsType

Returns a new instance of ShippingServiceOptionsType.



22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
# File 'lib/eBay.rb', line 22614

def initialize(shippingInsuranceCost = nil, shippingService = nil, shippingServiceCost = nil, shippingServiceAdditionalCost = nil, shippingServicePriority = nil, expeditedService = nil, shippingTimeMin = nil, shippingTimeMax = nil, shippingSurcharge = nil)
  @shippingInsuranceCost = shippingInsuranceCost
  @shippingService = shippingService
  @shippingServiceCost = shippingServiceCost
  @shippingServiceAdditionalCost = shippingServiceAdditionalCost
  @shippingServicePriority = shippingServicePriority
  @expeditedService = expeditedService
  @shippingTimeMin = shippingTimeMin
  @shippingTimeMax = shippingTimeMax
  @shippingSurcharge = shippingSurcharge
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22608
22609
22610
# File 'lib/eBay.rb', line 22608

def __xmlele_any
  @__xmlele_any
end

#expeditedServiceObject

Returns the value of attribute expeditedService.



22604
22605
22606
# File 'lib/eBay.rb', line 22604

def expeditedService
  @expeditedService
end

#shippingInsuranceCostObject

Returns the value of attribute shippingInsuranceCost.



22599
22600
22601
# File 'lib/eBay.rb', line 22599

def shippingInsuranceCost
  @shippingInsuranceCost
end

#shippingServiceObject

Returns the value of attribute shippingService.



22600
22601
22602
# File 'lib/eBay.rb', line 22600

def shippingService
  @shippingService
end

#shippingServiceAdditionalCostObject

Returns the value of attribute shippingServiceAdditionalCost.



22602
22603
22604
# File 'lib/eBay.rb', line 22602

def shippingServiceAdditionalCost
  @shippingServiceAdditionalCost
end

#shippingServiceCostObject

Returns the value of attribute shippingServiceCost.



22601
22602
22603
# File 'lib/eBay.rb', line 22601

def shippingServiceCost
  @shippingServiceCost
end

#shippingServicePriorityObject

Returns the value of attribute shippingServicePriority.



22603
22604
22605
# File 'lib/eBay.rb', line 22603

def shippingServicePriority
  @shippingServicePriority
end

#shippingSurchargeObject

Returns the value of attribute shippingSurcharge.



22607
22608
22609
# File 'lib/eBay.rb', line 22607

def shippingSurcharge
  @shippingSurcharge
end

#shippingTimeMaxObject

Returns the value of attribute shippingTimeMax.



22606
22607
22608
# File 'lib/eBay.rb', line 22606

def shippingTimeMax
  @shippingTimeMax
end

#shippingTimeMinObject

Returns the value of attribute shippingTimeMin.



22605
22606
22607
# File 'lib/eBay.rb', line 22605

def shippingTimeMin
  @shippingTimeMin
end

Instance Method Details

#set_any(elements) ⇒ Object



22610
22611
22612
# File 'lib/eBay.rb', line 22610

def set_any(elements)
  @__xmlele_any = elements
end