|
|
|
|
|
|
|
|
use yii\db\Query; |
|
|
use yii\db\Query; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Solver : |
|
|
|
|
|
|
|
|
* @see OrderSolver |
|
|
* @method string getFieldNameAmount($typeTotal = Order::AMOUNT_TOTAL, string $typeField = '') |
|
|
* @method string getFieldNameAmount($typeTotal = Order::AMOUNT_TOTAL, string $typeField = '') |
|
|
* @method float getOrderTotalVat(Order $order, string $typeTotal = Order::AMOUNT_TOTAL) |
|
|
* @method float getOrderTotalVat(Order $order, string $typeTotal = Order::AMOUNT_TOTAL) |
|
|
* @method string|null getPaymentStatus(Order $order) |
|
|
* @method string|null getPaymentStatus(Order $order) |
|
|
|
|
|
|
|
|
* @method bool isOrderBelongsToUser(Order $order, User $user = null) |
|
|
* @method bool isOrderBelongsToUser(Order $order, User $user = null) |
|
|
* @method string getDataJson(Order $order) |
|
|
* @method string getDataJson(Order $order) |
|
|
* |
|
|
* |
|
|
* Repository : |
|
|
|
|
|
|
|
|
* @see OrderRepository |
|
|
* @method array defaultOptionsSearch() |
|
|
* @method array defaultOptionsSearch() |
|
|
* @method Order|null findOneById(int $id) |
|
|
* @method Order|null findOneById(int $id) |
|
|
* @method array findBy(array $params = [], array $options = []) |
|
|
* @method array findBy(array $params = [], array $options = []) |
|
|
|
|
|
|
|
|
* @method string getAmountSummary(Order $order) |
|
|
* @method string getAmountSummary(Order $order) |
|
|
* @method string getState(Order $order) |
|
|
* @method string getState(Order $order) |
|
|
* |
|
|
* |
|
|
* Builder : |
|
|
|
|
|
|
|
|
* @see OrderBuilder |
|
|
* @method Order instanciateOrder(Distribution $distribution) |
|
|
* @method Order instanciateOrder(Distribution $distribution) |
|
|
* @method Order createOrder(Distribution $distribution) |
|
|
* @method Order createOrder(Distribution $distribution) |
|
|
* @method Order|null createOrderFromSubscription(Subscription $subscription, string $date, bool $force = false) |
|
|
* @method Order|null createOrderFromSubscription(Subscription $subscription, string $date, bool $force = false) |