PHP 클래스 WellCommerce\Bundle\OrderBundle\Entity\OrderTotal

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Bundle\OrderBundle\Entity\OrderTotalInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$currency string
$grossAmount float
$netAmount float
$taxAmount float
$taxRate float

공개 메소드들

메소드 설명
getCurrency ( ) : string
getGrossAmount ( ) : float
getNetAmount ( ) : float
getTaxAmount ( ) : float
getTaxRate ( ) : float
recalculate ( )
setCurrency ( string $currency )
setGrossAmount ( float $grossAmount )
setNetAmount ( float $netAmount )
setTaxAmount ( float $taxAmount )
setTaxRate ( float $taxRate )

메소드 상세

getCurrency() 공개 메소드

public getCurrency ( ) : string
리턴 string

getGrossAmount() 공개 메소드

public getGrossAmount ( ) : float
리턴 float

getNetAmount() 공개 메소드

public getNetAmount ( ) : float
리턴 float

getTaxAmount() 공개 메소드

public getTaxAmount ( ) : float
리턴 float

getTaxRate() 공개 메소드

public getTaxRate ( ) : float
리턴 float

recalculate() 공개 메소드

public recalculate ( )

setCurrency() 공개 메소드

public setCurrency ( string $currency )
$currency string

setGrossAmount() 공개 메소드

public setGrossAmount ( float $grossAmount )
$grossAmount float

setNetAmount() 공개 메소드

public setNetAmount ( float $netAmount )
$netAmount float

setTaxAmount() 공개 메소드

public setTaxAmount ( float $taxAmount )
$taxAmount float

setTaxRate() 공개 메소드

public setTaxRate ( float $taxRate )
$taxRate float

프로퍼티 상세

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

protected string $currency
리턴 string

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

protected float $grossAmount
리턴 float

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

protected float $netAmount
리턴 float

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

protected float $taxAmount
리턴 float

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

protected float $taxRate
리턴 float