for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jayS-de <[email protected]>
*/
namespace Commercetools\Core\Model\Cart;
use Commercetools\Core\Model\Common\JsonObject;
use Commercetools\Core\Model\Common\Money;
* @package Commercetools\Core\Model\Cart
* @link https://dev.commercetools.com/http-api-projects-carts.html#discounted-line-item-price
* @method Money getValue()
* @method DiscountedLineItemPrice setValue(Money $value = null)
* @method DiscountedLineItemPortionCollection getIncludedDiscounts()
* @method DiscountedLineItemPrice setIncludedDiscounts(DiscountedLineItemPortionCollection $includedDiscounts = null)
class DiscountedLineItemPrice extends JsonObject
{
public function fieldDefinitions()
return [
'value' => [static::TYPE => '\Commercetools\Core\Model\Common\Money'],
'includedDiscounts' => [
static::TYPE => '\Commercetools\Core\Model\Cart\DiscountedLineItemPortionCollection'
]
];
}