Documentation

CheckoutVatRegAddon
in package
implements JsonSerializable

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\CheckoutVatRegAddonRepository")

ORM\Table

(name="checkout_vat_reg_addon")

Table of Contents

Interfaces

JsonSerializable

Properties

$addon  : CheckoutAddon
$id  : int|null
$quantity  : int
$subscriptionRequest  : CheckoutRequestVatReg
$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()  : CheckoutRequestVatReg
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
ORM\ManyToOne

(targetEntity="CheckoutAddon")

ORM\JoinColumn

(name="addon_id", referencedColumnName="id", nullable=false)

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer", name="id")

$quantity

private int $quantity
Tags
ORM\Column

(type="integer", name="quantity", nullable=false)

$subscriptionRequest

private CheckoutRequestVatReg $subscriptionRequest
Tags
ORM\ManyToOne

(targetEntity="CheckoutRequestVatReg")

ORM\JoinColumn

(name="vat_reg_id", referencedColumnName="id", nullable=false)

$unitPrice

private int $unitPrice
Tags
ORM\Column

(type="integer", name="unit_price", nullable=false)

Methods

getQuantity()

Get the value of quantity

public getQuantity() : int
Return values
int

getUnitPrice()

Get the value of unitPrice

public getUnitPrice() : int
Return values
int

setQuantity()

Set the value of quantity

public setQuantity(int $quantity) : self
Parameters
$quantity : int
Return values
self

setUnitPrice()

Set the value of unitPrice

public setUnitPrice(int $unitPrice) : self
Parameters
$unitPrice : int
Return values
self

        
On this page

Search results