Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping.Providers Namespace / Package Class
Properties Methods


In This Topic
    Package Class Members
    In This Topic

    The following tables list the members exposed by Package.

    Public Constructors
     NameDescription
    Public Constructor Initializes a new instance of the Package class.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the height of the package.  
    Public Property Gets or sets the length of the package.  
    Public Property Gets or sets the unit of measure.  
    Public Property Gets or sets the number of packages having common properties.  
    Public Property Gets or sets the name for the package.  
    Public Property Gets or sets the retail value of the package.  
    Public Property Gets or sets the weight of the package.  
    Public Property Gets or sets the unit of weight.  
    Public Property Gets or sets the width of the package.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  Composes the package such that it is no more than the given maximum weight. If the weight is greater than the maximum weight, splits this package in multiple packages. i.e; Multiplier is updated.  
    Public Method Converts all dimensions, weight and price of this package to whole numbers  
    Public Method Converts weight and dimensions of this package to new units  
    Public Method Converts dimensions of this package to the given measurement unit  
    Public Method Converts dimensions of this package to whole numbers  
    Public Method Converts price of this package to whole number  
    Public Method Converts weight of this package to the given weight unit  
    Public Method Converts weight and price of this package to whole numbers  
    Public Method Converts weight of this package to whole number  
    Public Method Rearranges the dimensions so that length is the largest dimension and height is the smallest  
    Public Method Rounds dimensions, weight and price of this package upto given decimals  
    Public Method Rounds the dimensions of this package upto given decimals  
    Public Method Rounds the price of this package upto given decimals  
    Public Method Rounds the weight of this package upto given decimals  
    Public Method Rounds price and weight of this package upto given decimals  
    Public MethodReturns a string that represents the current object.  
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also