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.



17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
# File 'lib/eBay.rb', line 17477

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.



17471
17472
17473
# File 'lib/eBay.rb', line 17471

def __xmlele_any
  @__xmlele_any
end

#deliveryDateObject

Returns the value of attribute deliveryDate.



17466
17467
17468
# File 'lib/eBay.rb', line 17466

def deliveryDate
  @deliveryDate
end

#deliveryStatusObject

Returns the value of attribute deliveryStatus.



17467
17468
17469
# File 'lib/eBay.rb', line 17467

def deliveryStatus
  @deliveryStatus
end

#estimatedDeliveryDateObject

Returns the value of attribute estimatedDeliveryDate.



17447
17448
17449
# File 'lib/eBay.rb', line 17447

def estimatedDeliveryDate
  @estimatedDeliveryDate
end

#insuredValueObject

Returns the value of attribute insuredValue.



17448
17449
17450
# File 'lib/eBay.rb', line 17448

def insuredValue
  @insuredValue
end

#itemTransactionIDObject

Returns the value of attribute itemTransactionID.



17465
17466
17467
# File 'lib/eBay.rb', line 17465

def itemTransactionID
  @itemTransactionID
end

#packageDepthObject

Returns the value of attribute packageDepth.



17449
17450
17451
# File 'lib/eBay.rb', line 17449

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



17450
17451
17452
# File 'lib/eBay.rb', line 17450

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



17451
17452
17453
# File 'lib/eBay.rb', line 17451

def packageWidth
  @packageWidth
end

#payPalShipmentIDObject

Returns the value of attribute payPalShipmentID.



17452
17453
17454
# File 'lib/eBay.rb', line 17452

def payPalShipmentID
  @payPalShipmentID
end

#postageTotalObject

Returns the value of attribute postageTotal.



17454
17455
17456
# File 'lib/eBay.rb', line 17454

def postageTotal
  @postageTotal
end

#printedTimeObject

Returns the value of attribute printedTime.



17455
17456
17457
# File 'lib/eBay.rb', line 17455

def printedTime
  @printedTime
end

#refundGrantedTimeObject

Returns the value of attribute refundGrantedTime.



17468
17469
17470
# File 'lib/eBay.rb', line 17468

def refundGrantedTime
  @refundGrantedTime
end

#refundRequestedTimeObject

Returns the value of attribute refundRequestedTime.



17469
17470
17471
# File 'lib/eBay.rb', line 17469

def refundRequestedTime
  @refundRequestedTime
end

#shipFromAddressObject

Returns the value of attribute shipFromAddress.



17456
17457
17458
# File 'lib/eBay.rb', line 17456

def shipFromAddress
  @shipFromAddress
end

#shipmentIDObject

Returns the value of attribute shipmentID.



17453
17454
17455
# File 'lib/eBay.rb', line 17453

def shipmentID
  @shipmentID
end

#shipmentTrackingNumberObject

Returns the value of attribute shipmentTrackingNumber.



17462
17463
17464
# File 'lib/eBay.rb', line 17462

def shipmentTrackingNumber
  @shipmentTrackingNumber
end

#shippingAddressObject

Returns the value of attribute shippingAddress.



17457
17458
17459
# File 'lib/eBay.rb', line 17457

def shippingAddress
  @shippingAddress
end

#shippingCarrierUsedObject

Returns the value of attribute shippingCarrierUsed.



17458
17459
17460
# File 'lib/eBay.rb', line 17458

def shippingCarrierUsed
  @shippingCarrierUsed
end

#shippingFeatureObject

Returns the value of attribute shippingFeature.



17459
17460
17461
# File 'lib/eBay.rb', line 17459

def shippingFeature
  @shippingFeature
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



17460
17461
17462
# File 'lib/eBay.rb', line 17460

def shippingPackage
  @shippingPackage
end

#shippingServiceUsedObject

Returns the value of attribute shippingServiceUsed.



17461
17462
17463
# File 'lib/eBay.rb', line 17461

def shippingServiceUsed
  @shippingServiceUsed
end

#statusObject

Returns the value of attribute status.



17470
17471
17472
# File 'lib/eBay.rb', line 17470

def status
  @status
end

#weightMajorObject

Returns the value of attribute weightMajor.



17463
17464
17465
# File 'lib/eBay.rb', line 17463

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



17464
17465
17466
# File 'lib/eBay.rb', line 17464

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



17473
17474
17475
# File 'lib/eBay.rb', line 17473

def set_any(elements)
  @__xmlele_any = elements
end