CheckoutAddon
extends CheckoutAddon
in package
implements
Proxy
DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
Table of Contents
Interfaces
- Proxy
Properties
- $__cloner__ : Closure
- $__initializer__ : Closure
- $__isInitialized__ : bool
- $lazyPropertiesDefaults : array<string, mixed>
- $lazyPropertiesNames : array<string, null>
Methods
- __clone() : mixed
- __construct() : mixed
- __load() : mixed
- Forces initialization of the proxy
- __sleep() : array<string|int, mixed>
- __wakeup() : mixed
- getActive() : bool
- Get the value of active
- getAddonIdByTextId() : mixed
- getId() : int|null
- Get $id
- getIsRecurring() : bool
- Get the value of isRecurring
- getPeriodUnitId() : int|null
- Get the value of periodUnitId
- getPeriodUnitIdByPeriodUnitName() : mixed
- getTextId() : string
- Get the value of textId
- getTextIdByAddonId() : mixed
- getUnitPrice() : int
- Get the value of unitPrice
- setActive() : self
- Set the value of active
- setUnitPrice() : self
- Set the value of unitPrice
Properties
$__cloner__
public
Closure
$__cloner__
the callback responsible of loading properties that need to be copied in the cloned object
Tags
$__initializer__
public
Closure
$__initializer__
the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.
Tags
$__isInitialized__
public
bool
$__isInitialized__
= false
flag indicating if this object was already initialized
Tags
$lazyPropertiesDefaults
public
static array<string, mixed>
$lazyPropertiesDefaults
= array()
default values of properties to be lazy loaded, with keys being the property names
Tags
$lazyPropertiesNames
public
static array<string, null>
$lazyPropertiesNames
= array()
properties to be lazy loaded, indexed by property name
Methods
__clone()
public
__clone() : mixed
__construct()
public
__construct([Closure|null $initializer = null ][, Closure|null $cloner = null ]) : mixed
Parameters
- $initializer : Closure|null = null
- $cloner : Closure|null = null
__load()
Forces initialization of the proxy
public
__load() : mixed
__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__wakeup()
public
__wakeup() : mixed
getActive()
Get the value of active
public
getActive() : bool
Return values
boolgetAddonIdByTextId()
public
static getAddonIdByTextId(string $textId) : mixed
Parameters
- $textId : string
getId()
Get $id
public
getId() : int|null
Return values
int|nullgetIsRecurring()
Get the value of isRecurring
public
getIsRecurring() : bool
Return values
boolgetPeriodUnitId()
Get the value of periodUnitId
public
getPeriodUnitId() : int|null
Return values
int|nullgetPeriodUnitIdByPeriodUnitName()
public
static getPeriodUnitIdByPeriodUnitName(string $name) : mixed
Parameters
- $name : string
getTextId()
Get the value of textId
public
getTextId() : string
Return values
stringgetTextIdByAddonId()
public
static getTextIdByAddonId(int $addonId) : mixed
Parameters
- $addonId : int
getUnitPrice()
Get the value of unitPrice
public
getUnitPrice() : int
Return values
intsetActive()
Set the value of active
public
setActive(bool $active) : self
Parameters
- $active : bool
Return values
selfsetUnitPrice()
Set the value of unitPrice
public
setUnitPrice(int $unitPrice) : self
Parameters
- $unitPrice : int