CountryVatTypes
in package
implements
JsonSerializable
Class CountryVatTypes
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- getCountry() : Country
- getId() : int|null
- Get $id
- getProduct() : Product|null
- getVatType() : VatType
- jsonSerialize() : array<string|int, mixed>
- setCountry() : void
- setProduct() : mixed
- setVatType() : void
Properties
$country
private
Country
$country
Tags
$id
private
int|null
$id
Tags
$product
private
Product
$product
Tags
$vatType
private
VatType
$vatType
Tags
Methods
getCountry()
public
getCountry() : Country
Return values
Country —$country
getId()
Get $id
public
getId() : int|null
Return values
int|nullgetProduct()
public
getProduct() : Product|null
Return values
Product|null —$product
getVatType()
public
getVatType() : VatType
Return values
VatType —$vatType
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setCountry()
public
setCountry(Country $country) : void
Parameters
- $country : Country
setProduct()
public
setProduct(Product $product) : mixed
Parameters
- $product : Product
setVatType()
public
setVatType(VatType $vatType) : void
Parameters
- $vatType : VatType