Version: current

# Class ShippingPackage

Located at cart_shipping/code/ShippingPackage.php

## Methods summary

`public static` | # `set_default_dimensions( mixed $dimensions )`
`public static` | # `get_default_dimensions( )`
`public` | # `__construct( mixed $weight = 0, mixed $options = array(), mixed $dimensions = array() )`
`public` | # `toArray( )`
`public` | # `__toString( )`
`public` | # `Weight( )`
`public` | # `Cost( )`
`public` | # `quantity( )`
`public` | # `Volume( )` Calculate total volume, based on given dimensions Calculate total volume, based on given dimensions
`public` | # `Height( )`
`public` | # `Width( )`
`public` | # `Depth( )`
`public` | # `Order( )`

### Magic methods summary

## Properties summary

`protected mixed` | $Weight | #
`protected mixed` | $Height | #
`protected mixed` | $Width | #
`protected mixed` | $Depth | #
`protected mixed` | $Cost | #
`protected mixed` | $currency | #
`protected mixed` | $quantity | #
`protected mixed` | $Order | #
`protected static array` | $default_dimensions | #
`protected array` | $defaultoptions | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -