class GiftVoucherAvailable

Entity GiftVoucherAvailable (linked to DB table gift_voucher_available)

Properties

protected int $id GiftVoucherAvailable unique id
protected bool $suppressed If the GiftVoucherAvailable is marked as suppressed
protected string $object Object for the GiftVoucherAvailable
protected string $slug Slug for the GiftVoucherAvailable
protected string $description Description for the GiftVoucherAvailable
protected DateInterval $valid Interval for which the GiftVoucherAvailable will be valid
protected int $amount Amount in cents for the GiftVoucherAvailable
protected string $currency Currency for the GiftVoucherAvailable

Methods

int
getId()

Get id

setSuppressed(bool|null $suppressed)

Set suppressed

bool|null
getSuppressed()

Get suppressed

setObject(string|null $object)

Set object

string|null
getObject()

Get object

setSlug(string|null $slug)

Set slug

string|null
getSlug()

Get slug

setDescription(string|null $description)

Set description

string|null
getDescription()

Get description

setValid(DateInterval|null $valid)

Set valid

getValid()

Get valid

setAmount(int|null $amount)

Set amount

int|null
getAmount()

Get amount

setCurrency(string|null $currency)

Set currency

string|null
getCurrency()

Get currency

Details

at line 96
int getId()

Get id

Return Value

int

at line 106
GiftVoucherAvailable setSuppressed(bool|null $suppressed)

Set suppressed

Parameters

bool|null $suppressed

Return Value

GiftVoucherAvailable

at line 117
bool|null getSuppressed()

Get suppressed

Return Value

bool|null

at line 127
GiftVoucherAvailable setObject(string|null $object)

Set object

Parameters

string|null $object

Return Value

GiftVoucherAvailable

at line 138
string|null getObject()

Get object

Return Value

string|null

at line 148
GiftVoucherAvailable setSlug(string|null $slug)

Set slug

Parameters

string|null $slug

Return Value

GiftVoucherAvailable

at line 159
string|null getSlug()

Get slug

Return Value

string|null

at line 169
GiftVoucherAvailable setDescription(string|null $description)

Set description

Parameters

string|null $description

Return Value

GiftVoucherAvailable

at line 180
string|null getDescription()

Get description

Return Value

string|null

at line 190
GiftVoucherAvailable setValid(DateInterval|null $valid)

Set valid

Parameters

DateInterval|null $valid

Return Value

GiftVoucherAvailable

at line 201
DateInterval|null getValid()

Get valid

Return Value

DateInterval|null

at line 211
GiftVoucherAvailable setAmount(int|null $amount)

Set amount

Parameters

int|null $amount

Return Value

GiftVoucherAvailable

at line 222
int|null getAmount()

Get amount

Return Value

int|null

at line 232
GiftVoucherAvailable setCurrency(string|null $currency)

Set currency

Parameters

string|null $currency

Return Value

GiftVoucherAvailable

at line 243
string|null getCurrency()

Get currency

Return Value

string|null