GiftVoucherPurchased
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
Get id
Set identifier
Get identifier
Set secret
Get secret
Set object
Get object
Set description
Get description
Set offeredBy
Get offeredBy
Set offeredTo
Get offeredTo
Set message
Get message
Set sendToEmail
Get sendToEmail
Get purchase
Set amount
Get amount
Set currency
Get currency
Set orderId
Get orderId
Set userIp
Get userIp
Details
at line 159
int
getId()
Get id
at line 169
GiftVoucherPurchased
setIdentifier(string|null $identifier)
Set identifier
at line 180
string|null
getIdentifier()
Get identifier
at line 190
GiftVoucherPurchased
setSecret(string|null $secret)
Set secret
at line 201
string|null
getSecret()
Get secret
at line 211
GiftVoucherPurchased
setObject(string|null $object)
Set object
at line 222
string|null
getObject()
Get object
at line 232
GiftVoucherPurchased
setDescription(string|null $description)
Set description
at line 243
string|null
getDescription()
Get description
at line 253
GiftVoucherPurchased
setOfferedBy(string|null $offeredBy)
Set offeredBy
at line 264
string|null
getOfferedBy()
Get offeredBy
at line 274
GiftVoucherPurchased
setOfferedTo(string|null $offeredTo)
Set offeredTo
at line 285
string|null
getOfferedTo()
Get offeredTo
at line 295
GiftVoucherPurchased
setMessage(string|null $message)
Set message
at line 306
string|null
getMessage()
Get message
at line 316
GiftVoucherPurchased
setSendToEmail(string|null $sendToEmail)
Set sendToEmail
at line 327
string|null
getSendToEmail()
Get sendToEmail
at line 337
GiftVoucherPurchased
setPurchase(DateTime|null $purchase)
Set purchase
at line 348
DateTime|null
getPurchase()
Get purchase
at line 358
GiftVoucherPurchased
setValid(DateTime|null $valid)
Set valid
at line 369
DateTime|null
getValid()
Get valid
at line 379
GiftVoucherPurchased
setAmount(int|null $amount)
Set amount
at line 390
int|null
getAmount()
Get amount
at line 400
GiftVoucherPurchased
setCurrency(string|null $currency)
Set currency
at line 411
string|null
getCurrency()
Get currency
at line 421
GiftVoucherPurchased
setOrderId(string|null $orderId)
Set orderId
at line 432
string|null
getOrderId()
Get orderId
at line 442
GiftVoucherPurchased
setUsed(DateTime|null $used)
Set used
at line 453
DateTime|null
getUsed()
Get used
at line 463
GiftVoucherPurchased
setUserIp(string|null $userIp)
Set userIp
at line 474
string|null
getUserIp()
Get userIp