Class: ShipmentType

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

Overview

urn:ebay:apis:eBLBaseComponentsShipmentType

Constant Summary collapse

@@schema_type =
"ShipmentType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["estimatedDeliveryDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "EstimatedDeliveryDate")]],
  ["insuredValue", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuredValue")]],
  ["packageDepth", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageDepth")]],
  ["packageLength", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageLength")]],
  ["packageWidth", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PackageWidth")]],
  ["payPalShipmentID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayPalShipmentID")]],
  ["shipmentID", ["SOAP::SOAPLong", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShipmentID")]],
  ["postageTotal", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PostageTotal")]],
  ["printedTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PrintedTime")]],
  ["shipFromAddress", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShipFromAddress")]],
  ["shippingAddress", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingAddress")]],
  ["shippingCarrierUsed", ["ShippingCarrierCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingCarrierUsed")]],
  ["shippingFeature", ["ShippingFeatureCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingFeature")]],
  ["shippingPackage", ["ShippingPackageCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingPackage")]],
  ["shippingServiceUsed", ["Token", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServiceUsed")]],
  ["shipmentTrackingNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShipmentTrackingNumber")]],
  ["weightMajor", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WeightMajor")]],
  ["weightMinor", ["MeasureType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WeightMinor")]],
  ["itemTransactionID", ["ItemTransactionIDType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemTransactionID")]],
  ["deliveryDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DeliveryDate")]],
  ["deliveryStatus", ["ShipmentDeliveryStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DeliveryStatus")]],
  ["refundGrantedTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "RefundGrantedTime")]],
  ["refundRequestedTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "RefundRequestedTime")]],
  ["status", ["ShipmentStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(estimatedDeliveryDate = nil, insuredValue = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, payPalShipmentID = nil, shipmentID = nil, postageTotal = nil, printedTime = nil, shipFromAddress = nil, shippingAddress = nil, shippingCarrierUsed = nil, shippingFeature = [], shippingPackage = nil, shippingServiceUsed = nil, shipmentTrackingNumber = nil, weightMajor = nil, weightMinor = nil, itemTransactionID = [], deliveryDate = nil, deliveryStatus = nil, refundGrantedTime = nil, refundRequestedTime = nil, status = nil) ⇒ ShipmentType

Returns a new instance of ShipmentType.



22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
# File 'lib/eBay.rb', line 22391

def initialize(estimatedDeliveryDate = nil, insuredValue = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, payPalShipmentID = nil, shipmentID = nil, postageTotal = nil, printedTime = nil, shipFromAddress = nil, shippingAddress = nil, shippingCarrierUsed = nil, shippingFeature = [], shippingPackage = nil, shippingServiceUsed = nil, shipmentTrackingNumber = nil, weightMajor = nil, weightMinor = nil, itemTransactionID = [], deliveryDate = nil, deliveryStatus = nil, refundGrantedTime = nil, refundRequestedTime = nil, status = nil)
  @estimatedDeliveryDate = estimatedDeliveryDate
  @insuredValue = insuredValue
  @packageDepth = packageDepth
  @packageLength = packageLength
  @packageWidth = packageWidth
  @payPalShipmentID = payPalShipmentID
  @shipmentID = shipmentID
  @postageTotal = postageTotal
  @printedTime = printedTime
  @shipFromAddress = shipFromAddress
  @shippingAddress = shippingAddress
  @shippingCarrierUsed = shippingCarrierUsed
  @shippingFeature = shippingFeature
  @shippingPackage = shippingPackage
  @shippingServiceUsed = shippingServiceUsed
  @shipmentTrackingNumber = shipmentTrackingNumber
  @weightMajor = weightMajor
  @weightMinor = weightMinor
  @itemTransactionID = itemTransactionID
  @deliveryDate = deliveryDate
  @deliveryStatus = deliveryStatus
  @refundGrantedTime = refundGrantedTime
  @refundRequestedTime = refundRequestedTime
  @status = status
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22385
22386
22387
# File 'lib/eBay.rb', line 22385

def __xmlele_any
  @__xmlele_any
end

#deliveryDateObject

Returns the value of attribute deliveryDate.



22380
22381
22382
# File 'lib/eBay.rb', line 22380

def deliveryDate
  @deliveryDate
end

#deliveryStatusObject

Returns the value of attribute deliveryStatus.



22381
22382
22383
# File 'lib/eBay.rb', line 22381

def deliveryStatus
  @deliveryStatus
end

#estimatedDeliveryDateObject

Returns the value of attribute estimatedDeliveryDate.



22361
22362
22363
# File 'lib/eBay.rb', line 22361

def estimatedDeliveryDate
  @estimatedDeliveryDate
end

#insuredValueObject

Returns the value of attribute insuredValue.



22362
22363
22364
# File 'lib/eBay.rb', line 22362

def insuredValue
  @insuredValue
end

#itemTransactionIDObject

Returns the value of attribute itemTransactionID.



22379
22380
22381
# File 'lib/eBay.rb', line 22379

def itemTransactionID
  @itemTransactionID
end

#packageDepthObject

Returns the value of attribute packageDepth.



22363
22364
22365
# File 'lib/eBay.rb', line 22363

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



22364
22365
22366
# File 'lib/eBay.rb', line 22364

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



22365
22366
22367
# File 'lib/eBay.rb', line 22365

def packageWidth
  @packageWidth
end

#payPalShipmentIDObject

Returns the value of attribute payPalShipmentID.



22366
22367
22368
# File 'lib/eBay.rb', line 22366

def payPalShipmentID
  @payPalShipmentID
end

#postageTotalObject

Returns the value of attribute postageTotal.



22368
22369
22370
# File 'lib/eBay.rb', line 22368

def postageTotal
  @postageTotal
end

#printedTimeObject

Returns the value of attribute printedTime.



22369
22370
22371
# File 'lib/eBay.rb', line 22369

def printedTime
  @printedTime
end

#refundGrantedTimeObject

Returns the value of attribute refundGrantedTime.



22382
22383
22384
# File 'lib/eBay.rb', line 22382

def refundGrantedTime
  @refundGrantedTime
end

#refundRequestedTimeObject

Returns the value of attribute refundRequestedTime.



22383
22384
22385
# File 'lib/eBay.rb', line 22383

def refundRequestedTime
  @refundRequestedTime
end

#shipFromAddressObject

Returns the value of attribute shipFromAddress.



22370
22371
22372
# File 'lib/eBay.rb', line 22370

def shipFromAddress
  @shipFromAddress
end

#shipmentIDObject

Returns the value of attribute shipmentID.



22367
22368
22369
# File 'lib/eBay.rb', line 22367

def shipmentID
  @shipmentID
end

#shipmentTrackingNumberObject

Returns the value of attribute shipmentTrackingNumber.



22376
22377
22378
# File 'lib/eBay.rb', line 22376

def shipmentTrackingNumber
  @shipmentTrackingNumber
end

#shippingAddressObject

Returns the value of attribute shippingAddress.



22371
22372
22373
# File 'lib/eBay.rb', line 22371

def shippingAddress
  @shippingAddress
end

#shippingCarrierUsedObject

Returns the value of attribute shippingCarrierUsed.



22372
22373
22374
# File 'lib/eBay.rb', line 22372

def shippingCarrierUsed
  @shippingCarrierUsed
end

#shippingFeatureObject

Returns the value of attribute shippingFeature.



22373
22374
22375
# File 'lib/eBay.rb', line 22373

def shippingFeature
  @shippingFeature
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



22374
22375
22376
# File 'lib/eBay.rb', line 22374

def shippingPackage
  @shippingPackage
end

#shippingServiceUsedObject

Returns the value of attribute shippingServiceUsed.



22375
22376
22377
# File 'lib/eBay.rb', line 22375

def shippingServiceUsed
  @shippingServiceUsed
end

#statusObject

Returns the value of attribute status.



22384
22385
22386
# File 'lib/eBay.rb', line 22384

def status
  @status
end

#weightMajorObject

Returns the value of attribute weightMajor.



22377
22378
22379
# File 'lib/eBay.rb', line 22377

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



22378
22379
22380
# File 'lib/eBay.rb', line 22378

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



22387
22388
22389
# File 'lib/eBay.rb', line 22387

def set_any(elements)
  @__xmlele_any = elements
end