OfferDatevService
in package
implements
JsonSerializable
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $id : int|null
- $offer : Offer
- $package : string
- $periodUnitId : int
Methods
- __construct() : mixed
- getId() : int|null
- Get $id
- getOffer() : Offer
- getPackage() : string
- getPeriodUnitId() : int
- jsonSerialize() : mixed
- setId() : void
- setOffer() : void
- setPackage() : void
- setPeriodUnitId() : void
Properties
$id
private
int|null
$id
Tags
$offer
private
Offer
$offer
Tags
$package
private
string
$package
Tags
$periodUnitId
private
int
$periodUnitId
Tags
Methods
__construct()
public
__construct(Offer $offer, string $package, int $periodUnitId) : mixed
Parameters
- $offer : Offer
- $package : string
- $periodUnitId : int
getId()
Get $id
public
getId() : int|null
Return values
int|nullgetOffer()
public
getOffer() : Offer
Return values
OffergetPackage()
public
getPackage() : string
Return values
stringgetPeriodUnitId()
public
getPeriodUnitId() : int
Return values
intjsonSerialize()
public
jsonSerialize() : mixed
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setOffer()
public
setOffer(Offer $offer) : void
Parameters
- $offer : Offer
setPackage()
public
setPackage(string $package) : void
Parameters
- $package : string
setPeriodUnitId()
public
setPeriodUnitId(int $periodUnitId) : void
Parameters
- $periodUnitId : int