ZenMagick 0.9.10


zenmagick.store.shared.model\ZMCouponQueue
model\ZMCouponQueue.php at line 33

Class ZMCouponQueue

ZMObject
└─ZMCouponQueue

public class ZMCouponQueue
extends ZMObject

A single coupon queue entry.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance

int

getAccountId()

Get the account id.

float

getAmount()

Get the amount.

int

getId()

Get the coupon queue id.

int

getOrderId()

Get the order id.

string

getReleased()

Get the release flag value.

boolean

isReleased()

Check if this coupon has been released or not.

void

setAccountId(int accountId)

Set the account id.

void

setAmount(float amount)

Set the amount.

void

setId(int id)

Set the coupon queue id.

void

setOrderId(int orderId)

Set the order id.

void

setReleased(string value)

Set the release flag value.

Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

model\ZMCouponQueue.php at line 45

__construct

public void __construct()

Create new instance


model\ZMCouponQueue.php at line 74

getAccountId

public int getAccountId()

Get the account id.

Returns:
The account id.

model\ZMCouponQueue.php at line 88

getAmount

public float getAmount()

Get the amount.

Returns:
The coupon amount.

model\ZMCouponQueue.php at line 67

getId

public int getId()

Get the coupon queue id.

Returns:
The coupon queue id.

model\ZMCouponQueue.php at line 81

getOrderId

public int getOrderId()

Get the order id.

Returns:
The order id.

model\ZMCouponQueue.php at line 95

getReleased

public string getReleased()

Get the release flag value.

Returns:
The flag.

model\ZMCouponQueue.php at line 102

isReleased

public boolean isReleased()

Check if this coupon has been released or not.

Returns:
true if already released, false if not.

model\ZMCouponQueue.php at line 116

setAccountId

public void setAccountId(int accountId)

Set the account id.

Parameters:
accountId - The account id.

model\ZMCouponQueue.php at line 130

setAmount

public void setAmount(float amount)

Set the amount.

Parameters:
amount - The coupon amount.

model\ZMCouponQueue.php at line 109

setId

public void setId(int id)

Set the coupon queue id.

Parameters:
id - The coupon queue id.

model\ZMCouponQueue.php at line 123

setOrderId

public void setOrderId(int orderId)

Set the order id.

Parameters:
orderId - The order id.

model\ZMCouponQueue.php at line 137

setReleased

public void setReleased(string value)

Set the release flag value.

Parameters:
value - The flag.

ZenMagick 0.9.10