CheckoutProformaAddon
extends CheckoutProformaAddon
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
- getAddon() : CheckoutAddon
- Get the value of addon
- getId() : int|null
- Get $id
- getQuantity() : int
- Get the value of quantity
- getSubscription() : CheckoutRequestProforma
- Get the value of subscription
- getUnitPrice() : int
- Get the value of unitPrice
- jsonSerialize() : mixed
- setAddon() : self
- Set the value of addon
- setQuantity() : self
- Set the value of quantity
- setSubscription() : self
- Set the value of subscription
- 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
getAddon()
Get the value of addon
public
getAddon() : CheckoutAddon
Return values
CheckoutAddongetId()
Get $id
public
getId() : int|null
Return values
int|nullgetQuantity()
Get the value of quantity
public
getQuantity() : int
Return values
intgetSubscription()
Get the value of subscription
public
getSubscription() : CheckoutRequestProforma
Return values
CheckoutRequestProformagetUnitPrice()
Get the value of unitPrice
public
getUnitPrice() : int
Return values
intjsonSerialize()
public
jsonSerialize() : mixed
setAddon()
Set the value of addon
public
setAddon(CheckoutAddon $addon) : self
Parameters
- $addon : CheckoutAddon
Return values
selfsetQuantity()
Set the value of quantity
public
setQuantity(int $quantity) : self
Parameters
- $quantity : int
Return values
selfsetSubscription()
Set the value of subscription
public
setSubscription(CheckoutRequestProforma $subscriptionRequest) : self
Parameters
- $subscriptionRequest : CheckoutRequestProforma
Return values
selfsetUnitPrice()
Set the value of unitPrice
public
setUnitPrice(int $unitPrice) : self
Parameters
- $unitPrice : int