Blesta Source Documentation

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
Properties

$options

private array<string|int, mixed> $options

An array of options used to construct the presenter

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
Discount

domain()

Retrieves an instance of the Domain description

public domain() : Domain
Return values
Domain

option()

Retrieves an instance of the Service description

public option() : Option
Return values
Option

service()

Retrieves an instance of the Service description

public service() : Service
Return values
Service

tax()

Retrieves an instance of the Tax description

public tax() : Tax
Return values
Tax
Tags
subpackage

core.Pricing.Modifier.Type.Description

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results