PHP 클래스 Sonata\Component\Delivery\BaseServiceDelivery

상속: implements Sonata\Component\Delivery\ServiceDeliveryInterface
파일 보기 프로젝트 열기: sonata-project/ecommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$code string
$enabled boolean
$name string
$options array
$price float
$priority integer
$vat float

공개 메소드들

메소드 설명
getCode ( )
getEnabled ( )
getName ( )
getOption ( string $name, mixed $default = null ) : mixed Returns the option $name.
getOptions ( ) : array
getPrice ( )
getPriority ( )
getStatusList ( ) : array return status list.
getTotal ( Sonata\Component\Basket\BasketInterface $basket, $vat = false )
getVatAmount ( Sonata\Component\Basket\BasketInterface $basket )
getVatRate ( )
setCode ( string $code )
setEnabled ( boolean $enabled )
setName ( string $name )
setOptions ( array $options )
setPrice ( float $price )
setPriority ( integer $priority )
setVatRate ( $vat )

메소드 상세

getCode() 공개 메소드

public getCode ( )

getEnabled() 공개 메소드

public getEnabled ( )

getName() 공개 메소드

public getName ( )

getOption() 공개 메소드

Returns the option $name.
public getOption ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
리턴 mixed

getOptions() 공개 메소드

public getOptions ( ) : array
리턴 array

getPrice() 공개 메소드

public getPrice ( )

getPriority() 공개 메소드

public getPriority ( )

getStatusList() 공개 정적인 메소드

return status list.
public static getStatusList ( ) : array
리턴 array

getTotal() 공개 메소드

public getTotal ( Sonata\Component\Basket\BasketInterface $basket, $vat = false )
$basket Sonata\Component\Basket\BasketInterface

getVatAmount() 공개 메소드

public getVatAmount ( Sonata\Component\Basket\BasketInterface $basket )
$basket Sonata\Component\Basket\BasketInterface

getVatRate() 공개 메소드

public getVatRate ( )

setCode() 공개 메소드

public setCode ( string $code )
$code string

setEnabled() 공개 메소드

public setEnabled ( boolean $enabled )
$enabled boolean

setName() 공개 메소드

public setName ( string $name )
$name string

setOptions() 공개 메소드

public setOptions ( array $options )
$options array

setPrice() 공개 메소드

public setPrice ( float $price )
$price float

setPriority() 공개 메소드

public setPriority ( integer $priority )
$priority integer

setVatRate() 공개 메소드

public setVatRate ( $vat )

프로퍼티 상세

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

protected string $code
리턴 string

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

protected bool $enabled
리턴 boolean

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

protected string $name
리턴 string

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

protected array $options
리턴 array

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

protected float $price
리턴 float

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

protected int $priority
리턴 integer

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

protected float $vat
리턴 float