    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class com.ups.xmlsdk.xpci.Package

    java.lang.Object
       |
       +----com.ups.xmlsdk.xpci.Package

public class Package
extends Object
implements Serializable

The Package Class is to be used as a data container. The instance variables available in the Package Class are those provided by the XPCI for package activity.

##

Package()
  Package constructor.

##

getActivity()
  Returns the instance variable value for Package Activity.
getDescription()
  Returns the instance variable value for Package Description.
getDimensionalWeight()
  Returns the instance variable value for Package Dimensional Weight.
getDimensionalWeightUOMCode()
  Returns the instance variable value for Package Dimensional Weight Unit Of Measurement Code.
getDimensionalWeightUOMDesc()
  Returns the instance variable value for Package Dimensional Weight Unit of Measurement Description.
getDimensionsUOMCode()
  Returns the instance variable value for Package Dimensional Unit Of Measurement Code.
getDimensionsUOMDesc()
  Returns the instance variable value for Package Dimensional Unit Of Measurement Description.
getHeight()
  Returns the instance variable value for Package Height.
getLength()
  Returns the instance variable value for Package Length.
getOversizePackage()
  Returns the instance variable value for Package Oversize Package.
getPackageServiceOptions()
  Returns the instance variable value for Package Service Options.
getPackageWeight()
  Returns the instance variable value for Package Weight.
getPackageWeightUOMCode()
  Returns the instance variable value for Package Weight Unit Of Measurement Code.
getPackageWeightUOMDesc()
  Returns the instance variable value for Package Weight Unit Of Measurement Description.
getPackagingTypeCode()
  Returns the instance variable value for Package Type Code.
getPackagingTypeDesc()
  Returns the instance variable value for Package Type Description.
getReferenceNumbers()
  Returns the instance variable value for Package Reference Numbers.
getTrackingNumber()
  Returns the instance variable value for Package Tracking Number.
getWidth()
  Returns the instance variable value for Package Width.
is_void()
  Returns the instance variable value for Package Void Indicator.
isAdditionalHandling()
  Returns the instance variable value for Package Additional Handling Indicator.
set_void(boolean)
  Sets the instance variable value for Package Void Indicator.
setActivity(Vector)
  Sets the instance variable value for Package Activity.
setAdditionalHandling(boolean)
  Sets the instance variable value for Package Additional Handling Indicator.
setDescription(String)
  Sets the instance variable value for Package Description.
setDimensionalWeight(String)
  Sets the instance variable value for Package Dimensional Weight.
setDimensionalWeightUOMCode(String)
  Sets the instance variable value for Package Dimensional Weight Unit of Measurement Code.
setDimensionalWeightUOMDesc(String)
  Sets the instance variable value for Package Dimensional Weight Unit of Measurement Description.
setDimensionsUOMCode(String)
  Sets the instance variable value for Package Dimensions Unit of Measurement Code.
setDimensionsUOMDesc(String)
  Sets the instance variable value for Package Dimensions Unit of Measurement Code.
setHeight(String)
  Sets the instance variable value for Package Height.
setLength(String)
  Sets the instance variable value for Package Length.
setOversizePackage(String)
  Sets the instance variable value for Package Oversize Package.
setPackageServiceOptions(PackageServiceOptions)
  Sets the instance variable value for Package Service Options.
setPackageWeight(String)
  Sets the instance variable value for Package Weight.
setPackageWeightUOMCode(String)
  Sets the instance variable value for Package Weight Unit Of Measurement Code.
setPackageWeightUOMDesc(String)
  Sets the instance variable value for Package Weight Unit Of Measurement Description.
setPackagingTypeCode(String)
  Sets the instance variable value for Package Type Code.
setPackagingTypeDesc(String)
  Sets the instance variable value for Package Type Description.
setReferenceNumbers(Vector)
  Sets the instance variable value for Package Reference Numbers.
setTrackingNumber(String)
  Sets the instance variable value for Package Tracking Number.
setWidth(String)
  Sets the instance variable value for Package Width.
toString()
  Returns a String representation of the Package's state, token delimeted (=).

##

Package

     public Package()

  Package constructor.

##

getActivity

     public Vector getActivity()

  Returns the instance variable value for Package Activity.

  Returns:
    java.util.Vector

getDescription

     public String getDescription()

  Returns the instance variable value for Package Description.

  Returns:
    java.lang.String

getDimensionalWeight

     public String getDimensionalWeight()

  Returns the instance variable value for Package Dimensional Weight.

  Returns:
    java.lang.String

getDimensionalWeightUOMCode

     public String getDimensionalWeightUOMCode()

  Returns the instance variable value for Package Dimensional Weight Unit Of Measurement Code.

  Returns:
    java.lang.String

getDimensionalWeightUOMDesc

     public String getDimensionalWeightUOMDesc()

  Returns the instance variable value for Package Dimensional Weight Unit of Measurement Description.

  Returns:
    java.lang.String

getDimensionsUOMCode

     public String getDimensionsUOMCode()

  Returns the instance variable value for Package Dimensional Unit Of Measurement Code.

  Returns:
    java.lang.String

getDimensionsUOMDesc

     public String getDimensionsUOMDesc()

  Returns the instance variable value for Package Dimensional Unit Of Measurement Description.

  Returns:
    java.lang.String

getHeight

     public String getHeight()

  Returns the instance variable value for Package Height.

  Returns:
    java.lang.String

getLength

     public String getLength()

  Returns the instance variable value for Package Length.

  Returns:
    java.lang.String

getOversizePackage

     public String getOversizePackage()

  Returns the instance variable value for Package Oversize Package.

  Returns:
    java.lang.String

getPackageServiceOptions

     public PackageServiceOptions getPackageServiceOptions()

  Returns the instance variable value for Package Service Options.

  Returns:
    com.ups.xml.beans.PackageServiceOptions

getPackageWeight

     public String getPackageWeight()

  Returns the instance variable value for Package Weight.

  Returns:
    java.lang.String

getPackageWeightUOMCode

     public String getPackageWeightUOMCode()

  Returns the instance variable value for Package Weight Unit Of Measurement Code.

  Returns:
    java.lang.String

getPackageWeightUOMDesc

     public String getPackageWeightUOMDesc()

  Returns the instance variable value for Package Weight Unit Of Measurement Description.

  Returns:
    java.lang.String

getPackagingTypeCode

     public String getPackagingTypeCode()

  Returns the instance variable value for Package Type Code.

  Returns:
    java.lang.String

getPackagingTypeDesc

     public String getPackagingTypeDesc()

  Returns the instance variable value for Package Type Description.

  Returns:
    java.lang.String

getReferenceNumbers

     public Vector getReferenceNumbers()

  Returns the instance variable value for Package Reference Numbers.

  Returns:
    java.util.Vector

getTrackingNumber

     public String getTrackingNumber()

  Returns the instance variable value for Package Tracking Number.

  Returns:
    java.lang.String

getWidth

     public String getWidth()

  Returns the instance variable value for Package Width.

  Returns:
    java.lang.String

is_void

     public boolean is_void()

  Returns the instance variable value for Package Void Indicator.

  Returns:
    boolean

isAdditionalHandling

     public boolean isAdditionalHandling()

  Returns the instance variable value for Package Additional Handling Indicator.

  Returns:
    boolean

set_void

     public void set_void(boolean new_void)

  Sets the instance variable value for Package Void Indicator.

  Parameters:
    new_void - boolean

setActivity

     public void setActivity(Vector newActivity)

  Sets the instance variable value for Package Activity.

  Parameters:
    newActivity - java.util.Vector

setAdditionalHandling

     public void setAdditionalHandling(boolean newAdditionalHandling)

  Sets the instance variable value for Package Additional Handling Indicator.

  Parameters:
    newAdditionalHandling - boolean

setDescription

     public void setDescription(String newDescription)

  Sets the instance variable value for Package Description.

  Parameters:
    newDescription - java.lang.String

setDimensionalWeight

     public void setDimensionalWeight(String newDimensionalWeight)

  Sets the instance variable value for Package Dimensional Weight.

  Parameters:
    newDimensionalWeight - java.lang.String

setDimensionalWeightUOMCode

     public void setDimensionalWeightUOMCode(String newDimensionalWeightUOMCode)

  Sets the instance variable value for Package Dimensional Weight Unit of Measurement Code.

  Parameters:
    newDimensionalWeightUOMCode - java.lang.String

setDimensionalWeightUOMDesc

     public void setDimensionalWeightUOMDesc(String newDimensionalWeightUOMDesc)

  Sets the instance variable value for Package Dimensional Weight Unit of Measurement Description.

  Parameters:
    newDimensionalWeightUOMDesc - java.lang.String

setDimensionsUOMCode

     public void setDimensionsUOMCode(String newDimensionsUOMCode)

  Sets the instance variable value for Package Dimensions Unit of Measurement Code.

  Parameters:
    newDimensionsUOM - java.lang.String

setDimensionsUOMDesc

     public void setDimensionsUOMDesc(String newDimensionsUOMDesc)

  Sets the instance variable value for Package Dimensions Unit of Measurement Code.

  Parameters:
    newDimensionsUOM - java.lang.String

setHeight

     public void setHeight(String newHeight)

  Sets the instance variable value for Package Height.

  Parameters:
    newHeight - java.lang.String

setLength

     public void setLength(String newLength)

  Sets the instance variable value for Package Length.

  Parameters:
    newLength - java.lang.String

setOversizePackage

     public void setOversizePackage(String newOversizePackage)

  Sets the instance variable value for Package Oversize Package.

  Parameters:
    newOversizePackage - java.lang.String

setPackageServiceOptions

     public void setPackageServiceOptions(PackageServiceOptions newPackageServiceOptions)

  Sets the instance variable value for Package Service Options.

  Parameters:
    newPackageServiceOptions - com.ups.xml.beans.PackageServiceOptions

setPackageWeight

     public void setPackageWeight(String newPackageWeight)

  Sets the instance variable value for Package Weight.

  Parameters:
    newPackageWeight - java.lang.String

setPackageWeightUOMCode

     public void setPackageWeightUOMCode(String newPackageWeightUOMCode)

  Sets the instance variable value for Package Weight Unit Of Measurement Code.

  Parameters:
    newPackageWeightUOMCode - java.lang.String

setPackageWeightUOMDesc

     public void setPackageWeightUOMDesc(String newPackageWeightUOMDesc)

  Sets the instance variable value for Package Weight Unit Of Measurement Description.

  Parameters:
    newPackageWeightUOMDesc - java.lang.String

setPackagingTypeCode

     public void setPackagingTypeCode(String newPackagingTypeCode)

  Sets the instance variable value for Package Type Code.

  Parameters:
    newPackagingTypeCode - java.lang.String

setPackagingTypeDesc

     public void setPackagingTypeDesc(String newPackagingTypeDesc)

  Sets the instance variable value for Package Type Description.

  Parameters:
    newPackagingTypeDesc - java.lang.String

setReferenceNumbers

     public void setReferenceNumbers(Vector newReferenceNumbers)

  Sets the instance variable value for Package Reference Numbers.

  Parameters:
    newReferenceNumbers - java.util.Vector

setTrackingNumber

     public void setTrackingNumber(String newTrackingNumber)

  Sets the instance variable value for Package Tracking Number.

  Parameters:
    newTrackingNumber - java.lang.String

setWidth

     public void setWidth(String newWidth)

  Sets the instance variable value for Package Width.

  Parameters:
    newWidth - java.lang.String

toString

     public String toString()

  Returns a String representation of the Package's state, token delimeted (=).

  Returns:
    java.lang.String
  Overrides:
    toString in class Object

    All Packages  Class Hierarchy  This Package  Previous  Next  Index