ZenMagick 0.9.6


org.zenmagick.model.ZMCouponQueue

Class ZMCouponQueue

ZMObject
|
+--ZMCouponQueue

public class ZMCouponQueue
extends ZMObject

A single coupon queue entry.

Author:
DerManoMann
Version:
$Id: ZMCouponQueue.php 2054 2009-03-12 03:41:22Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMCouponQueue()

Create new instance /

Method Summary
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.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMCouponQueue

public ZMCouponQueue()

Create new instance /


Method Detail

getAccountId

public int getAccountId()

Get the account id.

Returns:
The account id.

getAmount

public float getAmount()

Get the amount.

Returns:
The coupon amount.

getId

public int getId()

Get the coupon queue id.

Returns:
The coupon queue id.

getOrderId

public int getOrderId()

Get the order id.

Returns:
The order id.

getReleased

public string getReleased()

Get the release flag value.

Returns:
The flag.

isReleased

public boolean isReleased()

Check if this coupon has been released or not.

Returns:
true if already released, false if not.

setAccountId

public void setAccountId(int accountId)

Set the account id.

Parameters:
accountId - The account id.

setAmount

public void setAmount(float amount)

Set the amount.

Parameters:
amount - The coupon amount.

setId

public void setId(int id)

Set the coupon queue id.

Parameters:
id - The coupon queue id.

setOrderId

public void setOrderId(int orderId)

Set the order id.

Parameters:
orderId - The order id.

setReleased

public void setReleased(string value)

Set the release flag value.

Parameters:
value - The flag.

ZenMagick 0.9.6