Documentation

OfferOssService
in package
implements JsonSerializable

Class OfferOssService

Tags
ORM\Entity

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

ORM\Table

(name="offer_oss_service")

Table of Contents

Interfaces

JsonSerializable

Properties

$country  : Country|null
$id  : int|null
$offer  : Offer
$ossRegistration  : bool|null
$package  : string|null
$periodUnitId  : int|null
$startDate  : DateTime|null

Methods

__construct()  : mixed
getCountry()  : Country|null
getId()  : int|null
getOffer()  : Offer
getOssRegistration()  : bool|null
getPackage()  : string
getPeriodUnitId()  : int
getStartDate()  : DateTime|null
jsonSerialize()  : mixed
setCountry()  : void
setId()  : void
setOffer()  : void
setOssRegistration()  : void
setPackage()  : void
setPeriodUnitId()  : void
setStartDate()  : void

Properties

$country

private Country|null $country
Tags
ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

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

$id

private int|null $id
Tags
ORM\Column

(type="integer")

ORM\Id

()

ORM\GeneratedValue

()

$offer

private Offer $offer
Tags
ORM\OneToOne

(targetEntity="Offer", inversedBy="offerOssService")

ORM\JoinColumn

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

$ossRegistration

private bool|null $ossRegistration
Tags
ORM\Column

(name="oss_registration", type="boolean")

$package

private string|null $package
Tags
ORM\Column

(name="package", type="string")

$periodUnitId

private int|null $periodUnitId
Tags
ORM\Column

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

$startDate

private DateTime|null $startDate
Tags
ORM\Column

(name="start_date", type="date", nullable=false)

Methods

getOssRegistration()

public getOssRegistration() : bool|null
Return values
bool|null

getStartDate()

public getStartDate() : DateTime|null
Return values
DateTime|null

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setOssRegistration()

public setOssRegistration(bool|null $ossRegistration) : void
Parameters
$ossRegistration : bool|null

setPackage()

public setPackage(string $package) : void
Parameters
$package : string

setPeriodUnitId()

public setPeriodUnitId(int|null $periodUnitId) : void
Parameters
$periodUnitId : int|null

setStartDate()

public setStartDate(DateTime|null $startDate) : void
Parameters
$startDate : DateTime|null

        
On this page

Search results