Class: EBay::ShipPackageDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsShipPackageDetailsType

measurementUnit - EBay::MeasurementSystemCodeType
packageDepth - EBay::MeasureType
packageLength - EBay::MeasureType
packageWidth - EBay::MeasureType
shippingIrregular - SOAP::SOAPBoolean
shippingPackage - EBay::ShippingPackageCodeType
weightMajor - EBay::MeasureType
weightMinor - EBay::MeasureType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(measurementUnit = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, shippingIrregular = nil, shippingPackage = nil, weightMajor = nil, weightMinor = nil) ⇒ ShipPackageDetailsType

Returns a new instance of ShipPackageDetailsType.



32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
# File 'lib/eBay.rb', line 32298

def initialize(measurementUnit = nil, packageDepth = nil, packageLength = nil, packageWidth = nil, shippingIrregular = nil, shippingPackage = nil, weightMajor = nil, weightMinor = nil)
  @measurementUnit = measurementUnit
  @packageDepth = packageDepth
  @packageLength = packageLength
  @packageWidth = packageWidth
  @shippingIrregular = shippingIrregular
  @shippingPackage = shippingPackage
  @weightMajor = weightMajor
  @weightMinor = weightMinor
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



32292
32293
32294
# File 'lib/eBay.rb', line 32292

def __xmlele_any
  @__xmlele_any
end

#measurementUnitObject

Returns the value of attribute measurementUnit.



32284
32285
32286
# File 'lib/eBay.rb', line 32284

def measurementUnit
  @measurementUnit
end

#packageDepthObject

Returns the value of attribute packageDepth.



32285
32286
32287
# File 'lib/eBay.rb', line 32285

def packageDepth
  @packageDepth
end

#packageLengthObject

Returns the value of attribute packageLength.



32286
32287
32288
# File 'lib/eBay.rb', line 32286

def packageLength
  @packageLength
end

#packageWidthObject

Returns the value of attribute packageWidth.



32287
32288
32289
# File 'lib/eBay.rb', line 32287

def packageWidth
  @packageWidth
end

#shippingIrregularObject

Returns the value of attribute shippingIrregular.



32288
32289
32290
# File 'lib/eBay.rb', line 32288

def shippingIrregular
  @shippingIrregular
end

#shippingPackageObject

Returns the value of attribute shippingPackage.



32289
32290
32291
# File 'lib/eBay.rb', line 32289

def shippingPackage
  @shippingPackage
end

#weightMajorObject

Returns the value of attribute weightMajor.



32290
32291
32292
# File 'lib/eBay.rb', line 32290

def weightMajor
  @weightMajor
end

#weightMinorObject

Returns the value of attribute weightMinor.



32291
32292
32293
# File 'lib/eBay.rb', line 32291

def weightMinor
  @weightMinor
end

Instance Method Details

#set_any(elements) ⇒ Object



32294
32295
32296
# File 'lib/eBay.rb', line 32294

def set_any(elements)
  @__xmlele_any = elements
end