DescriptionFactory
Description factory creates new instances of description items
Table of Contents
Properties
| $date | |
| $options |
Methods
| __construct() | Init |
| discount() | Retrieves an instance of the Discount description |
| domain() | Retrieves an instance of the Domain description |
| option() | Retrieves an instance of the Service description |
| service() | Retrieves an instance of the Service description |
| tax() | Retrieves an instance of the Tax description |
Methods
__construct()
Init
public
__construct(Date $date[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $date : Date
- $options : array<string|int, mixed> = []
discount()
Retrieves an instance of the Discount description
public
discount() : Discount
Return values
Discountdomain()
Retrieves an instance of the Domain description
public
domain() : Domain
Return values
Domainoption()
Retrieves an instance of the Service description
public
option() : Option
Return values
Optionservice()
Retrieves an instance of the Service description
public
service() : Service
Return values
Servicetax()
Retrieves an instance of the Tax description
public
tax() : Tax