PHP 클래스 WellCommerce\Bundle\CouponBundle\Entity\Coupon

저자: Adam Piotrowski ([email protected])
상속: 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
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$clientUsageLimit integer
$code string
$currency string
$globalUsageLimit integer
$modifierType string
$modifierValue integer | float
$validFrom DateTime | null
$validTo DateTime | null

공개 메소드들

메소드 설명
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 )

메소드 상세

getClientUsageLimit() 공개 메소드

public getClientUsageLimit ( ) : integer
리턴 integer

getCode() 공개 메소드

public getCode ( ) : string
리턴 string

getCurrency() 공개 메소드

public getCurrency ( ) : string
리턴 string

getGlobalUsageLimit() 공개 메소드

public getGlobalUsageLimit ( ) : integer
리턴 integer

getModifierType() 공개 메소드

public getModifierType ( ) : string
리턴 string

getModifierValue() 공개 메소드

public getModifierValue ( ) : float
리턴 float

getValidFrom() 공개 메소드

public getValidFrom ( )

getValidTo() 공개 메소드

public getValidTo ( )

setClientUsageLimit() 공개 메소드

public setClientUsageLimit ( integer $clientUsageLimit )
$clientUsageLimit integer

setCode() 공개 메소드

public setCode ( string $code )
$code string

setCurrency() 공개 메소드

public setCurrency ( string $currency )
$currency string

setGlobalUsageLimit() 공개 메소드

public setGlobalUsageLimit ( integer $globalUsageLimit )
$globalUsageLimit integer

setModifierType() 공개 메소드

public setModifierType ( string $modifierType )
$modifierType string

setModifierValue() 공개 메소드

public setModifierValue ( float $modifierValue )
$modifierValue float

setValidFrom() 공개 메소드

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

setValidTo() 공개 메소드

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

프로퍼티 상세

$clientUsageLimit 보호되어 있는 프로퍼티

protected int $clientUsageLimit
리턴 integer

$code 보호되어 있는 프로퍼티

protected string $code
리턴 string

$currency 보호되어 있는 프로퍼티

protected string $currency
리턴 string

$globalUsageLimit 보호되어 있는 프로퍼티

protected int $globalUsageLimit
리턴 integer

$modifierType 보호되어 있는 프로퍼티

protected string $modifierType
리턴 string

$modifierValue 보호되어 있는 프로퍼티

protected int|float $modifierValue
리턴 integer | float

$validFrom 보호되어 있는 프로퍼티

protected DateTime|null $validFrom
리턴 DateTime | null

$validTo 보호되어 있는 프로퍼티

protected DateTime|null $validTo
리턴 DateTime | null