ZenMagick 0.9.6


org.zenmagick.service.ZMSaleMaker

Class ZMSaleMaker

ZMObject
|
+--ZMSaleMaker

public class ZMSaleMaker
extends ZMObject

Sale maker.

Author:
DerManoMann
Version:
$Id: ZMSalemaker.php 1966 2009-02-14 10:52:50Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMSaleMaker()

Create new instance.

Method Summary
array

getSaleDiscountTypeInfo(int productId, int categoryId)

Get sale discount type info.

static void

instance()

Get instance.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMSaleMaker

public ZMSaleMaker()

Create new instance. /


Method Detail

getSaleDiscountTypeInfo

public array getSaleDiscountTypeInfo(int productId, int categoryId)

Get sale discount type info.

Parameters:
productId - The product id.
categoryId - Optional category id; default is null to use the default category.
Returns:
Discount type info.

instance

public static void instance()

Get instance. /


ZenMagick 0.9.6