PHP Class WellCommerce\Bundle\CouponBundle\Entity\Coupon

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\CouponBundle\Entity\CouponInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable
ファイルを表示 Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$clientUsageLimit integer
$code string
$currency string
$globalUsageLimit integer
$modifierType string
$modifierValue integer | float
$validFrom DateTime | null
$validTo DateTime | null

Public Methods

Method Description
getClientUsageLimit ( ) : integer
getCode ( ) : string
getCurrency ( ) : string
getGlobalUsageLimit ( ) : integer
getModifierType ( ) : string
getModifierValue ( ) : float
getValidFrom ( )
getValidTo ( )
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 ( )

getValidTo() public method

public getValidTo ( )

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

Property Details

$clientUsageLimit protected_oe property

protected int $clientUsageLimit
return integer

$code protected_oe property

protected string $code
return string

$currency protected_oe property

protected string $currency
return string

$globalUsageLimit protected_oe property

protected int $globalUsageLimit
return integer

$modifierType protected_oe property

protected string $modifierType
return string

$modifierValue protected_oe property

protected int|float $modifierValue
return integer | float

$validFrom protected_oe property

protected DateTime|null $validFrom
return DateTime | null

$validTo protected_oe property

protected DateTime|null $validTo
return DateTime | null