PHP Interface WellCommerce\Bundle\CouponBundle\Entity\CouponInterface

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Entity\TranslatableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TimestampableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\BlameableInterface
Mostrar archivo Open project: wellcommerce/wellcommerce Interface Usage Examples

Public Methods

Method Description
getClientUsageLimit ( ) : integer
getCode ( ) : string
getCurrency ( ) : string
getGlobalUsageLimit ( ) : integer
getModifierType ( ) : string
getModifierValue ( ) : float
getValidFrom ( ) : DateTime | null
getValidTo ( ) : DateTime | null
setClientUsageLimit ( integer $clientUsageLimit )
setCode ( string $code )
setCurrency ( string $currency )
setGlobalUsageLimit ( integer $globalUsageLimit )
setModifierType ( string $modifierType )
setModifierValue ( float $modifierValue )
setValidFrom ( DateTime $validFrom = null )
setValidTo ( DateTime $validTo = null )

Method Details

getClientUsageLimit() public method

public getClientUsageLimit ( ) : integer
return integer

getCode() public method

public getCode ( ) : string
return string

getCurrency() public method

public getCurrency ( ) : string
return string

getGlobalUsageLimit() public method

public getGlobalUsageLimit ( ) : integer
return integer

getModifierType() public method

public getModifierType ( ) : string
return string

getModifierValue() public method

public getModifierValue ( ) : float
return float

getValidFrom() public method

public getValidFrom ( ) : DateTime | null
return DateTime | null

getValidTo() public method

public getValidTo ( ) : DateTime | null
return DateTime | null

setClientUsageLimit() public method

public setClientUsageLimit ( integer $clientUsageLimit )
$clientUsageLimit integer

setCode() public method

public setCode ( string $code )
$code string

setCurrency() public method

public setCurrency ( string $currency )
$currency string

setGlobalUsageLimit() public method

public setGlobalUsageLimit ( integer $globalUsageLimit )
$globalUsageLimit integer

setModifierType() public method

public setModifierType ( string $modifierType )
$modifierType string

setModifierValue() public method

public setModifierValue ( float $modifierValue )
$modifierValue float

setValidFrom() public method

public setValidFrom ( DateTime $validFrom = null )
$validFrom DateTime

setValidTo() public method

public setValidTo ( DateTime $validTo = null )
$validTo DateTime