Tax
class Tax extends TranslatableAbstract implements PrimaryKeyInterface, Translatable, Serializable
Class Tax
Properties
| protected string | $locale | Entity locale | from TranslatableAbstract |
| protected int | $id | ||
| protected string | $name | Name of tax | |
| protected DateTime | $createdAt | Date when tax was created | |
| protected ArrayCollection | $orders | Collection of orders | |
| protected float | $ratio | Ratio |
Methods
__construct()
Tax constructor.
integer
getId()
No description
float
getRatio()
No description
ArrayCollection
getOrders()
No description
getCreatedAt()
No description
string
getName()
No description
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object
Details
in TranslatableAbstract at line 37
setTranslatableLocale(string $locale)
Sets translatable locale
in TranslatableAbstract at line 47
string
getTranslatableLocale()
at line 96
__construct()
Tax constructor.
at line 104
integer
getId()
at line 112
float
getRatio()
at line 122
Tax
setRatio(float $ratio)
at line 132
ArrayCollection
getOrders()
at line 152
removeOrder(Order $order)
{@inheritdoc}
at line 162
DateTime
getCreatedAt()
at line 170
string
getName()
at line 180
Tax
setName(string $name)
at line 195
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
at line 218
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object