PHP 클래스 Payu\Component\Product

상속: implements ComponentInterface
파일 보기 프로젝트 열기: paranoiaproject/payuclient

공개 메소드들

메소드 설명
__construct ( null $name = null, null $code = null, null $quantity = null, null $info = null, null $price = null, null $version = null, null $vat = null, null $priceType = null ) If you set vat value, the price should calculate without vat
getCode ( ) : string
getInfo ( ) : string
getName ( ) : string
getPrice ( ) : float
getPriceType ( ) : string
getQuantity ( ) : integer
getVat ( ) : integer Gets the value of vat.
getVersion ( ) : string
setCode ( string $code )
setInfo ( string $info )
setName ( string $name )
setPrice ( float $price )
setPriceType ( string $priceType )
setQuantity ( integer $quantity )
setVat ( integer $vat ) : self Sets the value of vat.
setVersion ( string $version )

메소드 상세

__construct() 공개 메소드

If you set vat value, the price should calculate without vat
public __construct ( null $name = null, null $code = null, null $quantity = null, null $info = null, null $price = null, null $version = null, null $vat = null, null $priceType = null )
$name null
$code null
$quantity null
$info null
$price null
$version null
$vat null
$priceType null

getCode() 공개 메소드

public getCode ( ) : string
리턴 string

getInfo() 공개 메소드

public getInfo ( ) : string
리턴 string

getName() 공개 메소드

public getName ( ) : string
리턴 string

getPrice() 공개 메소드

public getPrice ( ) : float
리턴 float

getPriceType() 공개 메소드

public getPriceType ( ) : string
리턴 string

getQuantity() 공개 메소드

public getQuantity ( ) : integer
리턴 integer

getVat() 공개 메소드

Gets the value of vat.
public getVat ( ) : integer
리턴 integer

getVersion() 공개 메소드

public getVersion ( ) : string
리턴 string

setCode() 공개 메소드

public setCode ( string $code )
$code string

setInfo() 공개 메소드

public setInfo ( string $info )
$info string

setName() 공개 메소드

public setName ( string $name )
$name string

setPrice() 공개 메소드

public setPrice ( float $price )
$price float

setPriceType() 공개 메소드

public setPriceType ( string $priceType )
$priceType string

setQuantity() 공개 메소드

public setQuantity ( integer $quantity )
$quantity integer

setVat() 공개 메소드

Sets the value of vat.
public setVat ( integer $vat ) : self
$vat integer
리턴 self

setVersion() 공개 메소드

public setVersion ( string $version )
$version string