Метод | Описание | |
---|---|---|
getCreatedAt ( ) : Datetime | ||
getDeliveryStatus ( ) : integer | Get delivery_status. | |
getDescription ( ) : string | Get description. | |
getDesignation ( ) : string | Get designation. | |
getOptions ( ) : string | Get serialize. | |
getOrder ( ) : Sonata\Component\Order\OrderInterface | Get order. | |
getProduct ( ) : Sonata\Component\Product\ProductInterface | Get product. | |
getProductId ( ) : integer | ||
getProductType ( ) : string | Get product_type. | |
getRawProduct ( ) : string | ||
getStatus ( ) : integer | Get status. | |
getTotal ( boolean $vat = false ) : float | Return the total (price * quantity). | |
getUpdatedAt ( ) : Datetime | ||
getValidatedAt ( ) : Datetime | Get validated_at. | |
setCreatedAt ( DateTime $createdAt = null ) | ||
setDeliveryStatus ( integer $deliveryStatus ) | Set delivery_status. | |
setDescription ( string $description ) | Set description. | |
setDesignation ( string $designation ) | Set designation. | |
setOptions ( string $options ) | Set serialize. | |
setOrder ( OrderInterface $order ) | Set order. | |
setProduct ( Sonata\Component\Product\ProductInterface $product ) | Add product. | |
setProductType ( string $productType ) | Set product_type. | |
setRawProduct ( string $rawProduct ) | ||
setStatus ( integer $status ) | Set status. | |
setUpdatedAt ( DateTime $updatedAt = null ) | ||
setValidatedAt ( DateTime $validatedAt = null ) | Set validated_at. |
public getDeliveryStatus ( ) : integer | ||
Результат | integer | $deliveryStatus |
public getDescription ( ) : string | ||
Результат | string | $description |
public getDesignation ( ) : string | ||
Результат | string | $designation |
public getOptions ( ) : string | ||
Результат | string | $options |
public getOrder ( ) : Sonata\Component\Order\OrderInterface | ||
Результат | Sonata\Component\Order\OrderInterface |
public getProduct ( ) : Sonata\Component\Product\ProductInterface | ||
Результат | Sonata\Component\Product\ProductInterface | $product |
public getProductType ( ) : string | ||
Результат | string | $productType |
public getValidatedAt ( ) : Datetime | ||
Результат | Datetime | $validatedAt |
public setCreatedAt ( DateTime $createdAt = null ) | ||
$createdAt | DateTime |
public setDeliveryStatus ( integer $deliveryStatus ) | ||
$deliveryStatus | integer |
public setDescription ( string $description ) | ||
$description | string |
public setDesignation ( string $designation ) | ||
$designation | string |
public setOrder ( OrderInterface $order ) | ||
$order | OrderInterface |
public setProduct ( Sonata\Component\Product\ProductInterface $product ) | ||
$product | Sonata\Component\Product\ProductInterface |
public setProductType ( string $productType ) | ||
$productType | string |
public setUpdatedAt ( DateTime $updatedAt = null ) | ||
$updatedAt | DateTime |
public setValidatedAt ( DateTime $validatedAt = null ) | ||
$validatedAt | DateTime |