Class: InternationalShippingServiceOptionsType

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

Overview

urn:ebay:apis:eBLBaseComponentsInternationalShippingServiceOptionsType

Constant Summary collapse

@@schema_type =
"InternationalShippingServiceOptionsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["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")]],
  ["shipToLocation", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShipToLocation")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shippingService = nil, shippingServiceCost = nil, shippingServiceAdditionalCost = nil, shippingServicePriority = nil, shipToLocation = []) ⇒ InternationalShippingServiceOptionsType

Returns a new instance of InternationalShippingServiceOptionsType.



18207
18208
18209
18210
18211
18212
18213
18214
# File 'lib/eBay.rb', line 18207

def initialize(shippingService = nil, shippingServiceCost = nil, shippingServiceAdditionalCost = nil, shippingServicePriority = nil, shipToLocation = [])
  @shippingService = shippingService
  @shippingServiceCost = shippingServiceCost
  @shippingServiceAdditionalCost = shippingServiceAdditionalCost
  @shippingServicePriority = shippingServicePriority
  @shipToLocation = shipToLocation
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18201
18202
18203
# File 'lib/eBay.rb', line 18201

def __xmlele_any
  @__xmlele_any
end

#shippingServiceObject

Returns the value of attribute shippingService.



18196
18197
18198
# File 'lib/eBay.rb', line 18196

def shippingService
  @shippingService
end

#shippingServiceAdditionalCostObject

Returns the value of attribute shippingServiceAdditionalCost.



18198
18199
18200
# File 'lib/eBay.rb', line 18198

def shippingServiceAdditionalCost
  @shippingServiceAdditionalCost
end

#shippingServiceCostObject

Returns the value of attribute shippingServiceCost.



18197
18198
18199
# File 'lib/eBay.rb', line 18197

def shippingServiceCost
  @shippingServiceCost
end

#shippingServicePriorityObject

Returns the value of attribute shippingServicePriority.



18199
18200
18201
# File 'lib/eBay.rb', line 18199

def shippingServicePriority
  @shippingServicePriority
end

#shipToLocationObject

Returns the value of attribute shipToLocation.



18200
18201
18202
# File 'lib/eBay.rb', line 18200

def shipToLocation
  @shipToLocation
end

Instance Method Details

#set_any(elements) ⇒ Object



18203
18204
18205
# File 'lib/eBay.rb', line 18203

def set_any(elements)
  @__xmlele_any = elements
end