Метод |
Описание |
|
fromArray ( array $array ) |
Populate entity from an array. |
|
getCode ( ) : string |
Get class_name. |
|
getCountryCode ( ) : string |
Get country. |
|
getCreatedAt ( ) : Datetime |
Get createdAt. |
|
getEnabled ( ) : boolean |
Get enabled. |
|
getPerItem ( ) : boolean |
Get per_item. |
|
getProduct ( ) : Sonata\Component\Product\ProductInterface |
Get product. |
|
getUpdatedAt ( ) : Datetime |
Get updatedAt. |
|
getZone ( ) : string |
Get zone. |
|
setCode ( string $code ) |
Set class_name. |
|
setCountryCode ( string $countryCode ) |
Set country code. |
|
setCreatedAt ( DateTime $createdAt = null ) |
Set createdAt. |
|
setEnabled ( boolean $enabled ) |
Set enabled. |
|
setPerItem ( boolean $perItem ) |
Set per_item. |
|
setProduct ( Sonata\Component\Product\ProductInterface $product ) |
Set product. |
|
setUpdatedAt ( DateTime $updatedAt = null ) |
Set updatedAt. |
|
setZone ( string $zone ) |
Set zone. |
|
toArray ( ) : array |
Returns Delivery base data as an array. |
|