Property | Type | Description | |
---|---|---|---|
$defaultCurrencyWrapper | Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface | Currency wrapper used to access default Currency object |
Method | Description | |
---|---|---|
__construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper ) | Factory constructor | |
create ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface | Creates an instance of an entity. |
Method | Description | |
---|---|---|
createZeroAmountMoney ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface | Returns a zero-initialized Money object to be assigned to product prices |
public __construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper ) | ||
$defaultCurrencyWrapper | Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface | Default Currency wrapper |
public create ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface | ||
return | Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface | Empty entity |
protected createZeroAmountMoney ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface | ||
return | Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface |