class GiftVoucherPurchased

Entity GiftVoucherPurchased (linked to DB table gift_voucher_purchased)

Properties

protected int $id
protected string $identifier Unique identifier for GiftVoucherPurchased
protected string $secret Secret code for GiftVoucherPurchased
protected string $object Object for the GiftVoucherPurchased (copy of the object of GiftVoucherAvailable in cas it changes between purchase and use)
protected string $description Description for the GiftVoucherPurchased (copy of the description of GiftVoucherAvailable in cas it changes between purchase and use)
protected string $offeredBy Name of the offering person
protected string $offeredTo Name of the receiving offer person
protected string $message Message left by offering person to receiving one
protected string $sendToEmail Email address the GiftVoucherPurchased will be sent to
protected DateTime $purchase DateTime of purchase
protected DateTime $valid Final DateTime for validity
protected int $amount Amount in cents of the the GiftVoucherPurchased
protected string $currency Currency of the GiftVoucherPurchased
protected string $orderId Payment order id
protected DateTime $used DateTime the GiftVoucherPurchased has been used
protected string $userIp User IP address

Methods

int
getId()

Get id

setIdentifier(string|null $identifier)

Set identifier

string|null
getIdentifier()

Get identifier

setSecret(string|null $secret)

Set secret

string|null
getSecret()

Get secret

setObject(string|null $object)

Set object

string|null
getObject()

Get object

setDescription(string|null $description)

Set description

string|null
getDescription()

Get description

setOfferedBy(string|null $offeredBy)

Set offeredBy

string|null
getOfferedBy()

Get offeredBy

setOfferedTo(string|null $offeredTo)

Set offeredTo

string|null
getOfferedTo()

Get offeredTo

setMessage(string|null $message)

Set message

string|null
getMessage()

Get message

setSendToEmail(string|null $sendToEmail)

Set sendToEmail

string|null
getSendToEmail()

Get sendToEmail

setPurchase(DateTime|null $purchase)

Set purchase

DateTime|null
getPurchase()

Get purchase

setValid(DateTime|null $valid)

Set valid

DateTime|null
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

setOrderId(string|null $orderId)

Set orderId

string|null
getOrderId()

Get orderId

setUsed(DateTime|null $used)

Set used

DateTime|null
getUsed()

Get used

setUserIp(string|null $userIp)

Set userIp

string|null
getUserIp()

Get userIp

Details

at line 159
int getId()

Get id

Return Value

int

at line 169
GiftVoucherPurchased setIdentifier(string|null $identifier)

Set identifier

Parameters

string|null $identifier

Return Value

GiftVoucherPurchased

at line 180
string|null getIdentifier()

Get identifier

Return Value

string|null

at line 190
GiftVoucherPurchased setSecret(string|null $secret)

Set secret

Parameters

string|null $secret

Return Value

GiftVoucherPurchased

at line 201
string|null getSecret()

Get secret

Return Value

string|null

at line 211
GiftVoucherPurchased setObject(string|null $object)

Set object

Parameters

string|null $object

Return Value

GiftVoucherPurchased

at line 222
string|null getObject()

Get object

Return Value

string|null

at line 232
GiftVoucherPurchased setDescription(string|null $description)

Set description

Parameters

string|null $description

Return Value

GiftVoucherPurchased

at line 243
string|null getDescription()

Get description

Return Value

string|null

at line 253
GiftVoucherPurchased setOfferedBy(string|null $offeredBy)

Set offeredBy

Parameters

string|null $offeredBy

Return Value

GiftVoucherPurchased

at line 264
string|null getOfferedBy()

Get offeredBy

Return Value

string|null

at line 274
GiftVoucherPurchased setOfferedTo(string|null $offeredTo)

Set offeredTo

Parameters

string|null $offeredTo

Return Value

GiftVoucherPurchased

at line 285
string|null getOfferedTo()

Get offeredTo

Return Value

string|null

at line 295
GiftVoucherPurchased setMessage(string|null $message)

Set message

Parameters

string|null $message

Return Value

GiftVoucherPurchased

at line 306
string|null getMessage()

Get message

Return Value

string|null

at line 316
GiftVoucherPurchased setSendToEmail(string|null $sendToEmail)

Set sendToEmail

Parameters

string|null $sendToEmail

Return Value

GiftVoucherPurchased

at line 327
string|null getSendToEmail()

Get sendToEmail

Return Value

string|null

at line 337
GiftVoucherPurchased setPurchase(DateTime|null $purchase)

Set purchase

Parameters

DateTime|null $purchase

Return Value

GiftVoucherPurchased

at line 348
DateTime|null getPurchase()

Get purchase

Return Value

DateTime|null

at line 358
GiftVoucherPurchased setValid(DateTime|null $valid)

Set valid

Parameters

DateTime|null $valid

Return Value

GiftVoucherPurchased

at line 369
DateTime|null getValid()

Get valid

Return Value

DateTime|null

at line 379
GiftVoucherPurchased setAmount(int|null $amount)

Set amount

Parameters

int|null $amount

Return Value

GiftVoucherPurchased

at line 390
int|null getAmount()

Get amount

Return Value

int|null

at line 400
GiftVoucherPurchased setCurrency(string|null $currency)

Set currency

Parameters

string|null $currency

Return Value

GiftVoucherPurchased

at line 411
string|null getCurrency()

Get currency

Return Value

string|null

at line 421
GiftVoucherPurchased setOrderId(string|null $orderId)

Set orderId

Parameters

string|null $orderId

Return Value

GiftVoucherPurchased

at line 432
string|null getOrderId()

Get orderId

Return Value

string|null

at line 442
GiftVoucherPurchased setUsed(DateTime|null $used)

Set used

Parameters

DateTime|null $used

Return Value

GiftVoucherPurchased

at line 453
DateTime|null getUsed()

Get used

Return Value

DateTime|null

at line 463
GiftVoucherPurchased setUserIp(string|null $userIp)

Set userIp

Parameters

string|null $userIp

Return Value

GiftVoucherPurchased

at line 474
string|null getUserIp()

Get userIp

Return Value

string|null