Name | Description | |
---|---|---|
Package Constructor | Initializes a new instance of the Package class. |
The following tables list the members exposed by Package.
Name | Description | |
---|---|---|
Package Constructor | Initializes a new instance of the Package class. |
Name | Description | |
---|---|---|
Height | Gets or sets the height of the package. | |
Length | Gets or sets the length of the package. | |
MeasurementUnit | Gets or sets the unit of measure. | |
Multiplier | Gets or sets the number of packages having common properties. | |
Name | Gets or sets the name for the package. | |
RetailValue | Gets or sets the retail value of the package. | |
Weight | Gets or sets the weight of the package. | |
WeightUnit | Gets or sets the unit of weight. | |
Width | Gets or sets the width of the package. |
Name | Description | |
---|---|---|
Compose | Overloaded. 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. | |
ConvertAllToWholeNumbers | Converts all dimensions, weight and price of this package to whole numbers | |
ConvertBoth | Converts weight and dimensions of this package to new units | |
ConvertDimensions | Converts dimensions of this package to the given measurement unit | |
ConvertDimsToWholeNumbers | Converts dimensions of this package to whole numbers | |
ConvertPriceToWholeNumber | Converts price of this package to whole number | |
ConvertWeight | Converts weight of this package to the given weight unit | |
ConvertWeightAndPriceToWholeNumbers | Converts weight and price of this package to whole numbers | |
ConvertWeightToWholeNumber | Converts weight of this package to whole number | |
RearrangeDimensions | Rearranges the dimensions so that length is the largest dimension and height is the smallest | |
RoundAll | Rounds dimensions, weight and price of this package upto given decimals | |
RoundDimensions | Rounds the dimensions of this package upto given decimals | |
RoundPrice | Rounds the price of this package upto given decimals | |
RoundWeight | Rounds the weight of this package upto given decimals | |
RoundWeightAndPrice | Rounds price and weight of this package upto given decimals | |
ToString | Returns a string that represents the current object. |
Name | Description | |
---|---|---|
ToQueryString | Overloaded. Use this method to bulid query string from NameValueCollection |