CheckoutProformaAddon
in package
implements
JsonSerializable
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $addon : CheckoutAddon
- $id : int|null
- $quantity : int
- $subscriptionRequest : CheckoutRequestProforma
- $unitPrice : int
Methods
- __construct() : 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
$addon
private
CheckoutAddon
$addon
Tags
$id
private
int|null
$id
Tags
$quantity
private
int
$quantity
Tags
$subscriptionRequest
private
CheckoutRequestProforma
$subscriptionRequest
Tags
$unitPrice
private
int
$unitPrice
Tags
Methods
__construct()
public
__construct(CheckoutRequestProforma $subscriptionRequest, CheckoutAddon $addon, int $quantity, int $unitPrice) : mixed
Parameters
- $subscriptionRequest : CheckoutRequestProforma
- $addon : CheckoutAddon
- $quantity : int
- $unitPrice : int
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