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::SOAPInt", 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", ["ShippingServiceCodeType", 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.



19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
# File 'lib/eBay.rb', line 19853

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.



19847
19848
19849
# File 'lib/eBay.rb', line 19847

def __xmlele_any
  @__xmlele_any
end

#deliveryDateObject

Returns the value of attribute deliveryDate.



19842
19843
19844
# File 'lib/eBay.rb', line 19842

def deliveryDate
  @deliveryDate
end

#deliveryStatusObject

Returns the value of attribute deliveryStatus.



19843
19844
19845
# File 'lib/eBay.rb', line 19843

def deliveryStatus
  @deliveryStatus
end

#estimatedDeliveryDateObject

Returns the value of attribute estimatedDeliveryDate.



19823
19824
19825
# File 'lib/eBay.rb', line 19823

def estimatedDeliveryDate
  @estimatedDeliveryDate
end

#insuredValueObject

Returns the value of attribute insuredValue.



19824
19825
19826
# File 'lib/eBay.rb', line 19824

def insuredValue
  @insuredValue
end

#itemTransactionIDObject

Returns the value of attribute itemTransactionID.



19841
19842
19843
# File 'lib/eBay.rb', line 19841

def itemTransactionID
  @itemTransactionID
end

#packageDepthObject

Returns the value of attribute packageDepth.



19825
19826
19827
# File 'lib/eBay.rb', line 19825

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



19826
19827
19828
# File 'lib/eBay.rb', line 19826

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



19827
19828
19829
# File 'lib/eBay.rb', line 19827

def packageWidth
  @packageWidth
end

#payPalShipmentIDObject

Returns the value of attribute payPalShipmentID.



19828
19829
19830
# File 'lib/eBay.rb', line 19828

def payPalShipmentID
  @payPalShipmentID
end

#postageTotalObject

Returns the value of attribute postageTotal.



19830
19831
19832
# File 'lib/eBay.rb', line 19830

def postageTotal
  @postageTotal
end

#printedTimeObject

Returns the value of attribute printedTime.



19831
19832
19833
# File 'lib/eBay.rb', line 19831

def printedTime
  @printedTime
end

#refundGrantedTimeObject

Returns the value of attribute refundGrantedTime.



19844
19845
19846
# File 'lib/eBay.rb', line 19844

def refundGrantedTime
  @refundGrantedTime
end

#refundRequestedTimeObject

Returns the value of attribute refundRequestedTime.



19845
19846
19847
# File 'lib/eBay.rb', line 19845

def refundRequestedTime
  @refundRequestedTime
end

#shipFromAddressObject

Returns the value of attribute shipFromAddress.



19832
19833
19834
# File 'lib/eBay.rb', line 19832

def shipFromAddress
  @shipFromAddress
end

#shipmentIDObject

Returns the value of attribute shipmentID.



19829
19830
19831
# File 'lib/eBay.rb', line 19829

def shipmentID
  @shipmentID
end

#shipmentTrackingNumberObject

Returns the value of attribute shipmentTrackingNumber.



19838
19839
19840
# File 'lib/eBay.rb', line 19838

def shipmentTrackingNumber
  @shipmentTrackingNumber
end

#shippingAddressObject

Returns the value of attribute shippingAddress.



19833
19834
19835
# File 'lib/eBay.rb', line 19833

def shippingAddress
  @shippingAddress
end

#shippingCarrierUsedObject

Returns the value of attribute shippingCarrierUsed.



19834
19835
19836
# File 'lib/eBay.rb', line 19834

def shippingCarrierUsed
  @shippingCarrierUsed
end

#shippingFeatureObject

Returns the value of attribute shippingFeature.



19835
19836
19837
# File 'lib/eBay.rb', line 19835

def shippingFeature
  @shippingFeature
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



19836
19837
19838
# File 'lib/eBay.rb', line 19836

def shippingPackage
  @shippingPackage
end

#shippingServiceUsedObject

Returns the value of attribute shippingServiceUsed.



19837
19838
19839
# File 'lib/eBay.rb', line 19837

def shippingServiceUsed
  @shippingServiceUsed
end

#statusObject

Returns the value of attribute status.



19846
19847
19848
# File 'lib/eBay.rb', line 19846

def status
  @status
end

#weightMajorObject

Returns the value of attribute weightMajor.



19839
19840
19841
# File 'lib/eBay.rb', line 19839

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



19840
19841
19842
# File 'lib/eBay.rb', line 19840

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



19849
19850
19851
# File 'lib/eBay.rb', line 19849

def set_any(elements)
  @__xmlele_any = elements
end