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

저자: Adam Piotrowski ([email protected])
상속: extends WellCommerce\Bundle\DoctrineBundle\Entity\AbstractEntity, implements WellCommerce\Bundle\OrderBundle\Entity\OrderInterface, use trait WellCommerce\Bundle\DoctrineBundle\Behaviours\Timestampable\TimestampableTrait, use trait WellCommerce\Bundle\ShopBundle\Entity\ShopAwareTrait, use trait WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodAwareTrait, use trait WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodAwareTrait, use trait WellCommerce\Bundle\ClientBundle\Entity\ClientAwareTrait, use trait WellCommerce\Bundle\ClientBundle\Entity\ClientContactDetailsAwareTrait, use trait WellCommerce\Bundle\ClientBundle\Entity\ClientBillingAddressAwareTrait, use trait WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddressAwareTrait, use trait WellCommerce\Bundle\CouponBundle\Entity\CouponAwareTrait
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$comment string
$confirmed boolean
$currency string
$currencyRate float
$currentStatus WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface
$modifiers Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface[]
$number string
$orderStatusHistory Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderStatusHistoryInterface[]
$payments Doctrine\Common\Collections\Collection | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface[]
$productTotal WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface
$products Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface[]
$sessionId string
$summary WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface

공개 메소드들

메소드 설명
acceptVisitor ( WellCommerce\Bundle\OrderBundle\Visitor\OrderVisitorInterface $visitor )
addModifier ( WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface $modifier )
addOrderStatusHistory ( WellCommerce\Bundle\OrderBundle\Entity\OrderStatusHistoryInterface $orderStatusHistory )
addPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment )
addProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct )
getComment ( ) : string
getCurrency ( ) : string
getCurrencyRate ( ) : float
getCurrentStatus ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface
getModifier ( string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface
getModifiers ( ) : Doctrine\Common\Collections\Collection
getNumber ( )
getOrderStatusHistory ( ) : Doctrine\Common\Collections\Collection
getPayments ( ) : Doctrine\Common\Collections\Collection
getProductTotal ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface
getProducts ( ) : Doctrine\Common\Collections\Collection
getSessionId ( ) : string
getSummary ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface
hasCurrentStatus ( ) : boolean
hasModifier ( string $name ) : boolean
isConfirmed ( ) : boolean
isEmpty ( ) : boolean
removeModifier ( string $name )
removeProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct )
setComment ( string $comment )
setConfirmed ( boolean $confirmed )
setCurrency ( string $currency )
setCurrencyRate ( float $currencyRate )
setCurrentStatus ( WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface $currentStatus )
setModifiers ( Doctrine\Common\Collections\Collection $modifiers )
setNumber ( string $number )
setOrderStatusHistory ( Doctrine\Common\Collections\Collection $orderStatusHistory )
setPayments ( Doctrine\Common\Collections\Collection $payments )
setProductTotal ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface $productTotal )
setProducts ( Doctrine\Common\Collections\Collection $products )
setSessionId ( string $sessionId )
setSummary ( WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface $summary )

메소드 상세

acceptVisitor() 공개 메소드

public acceptVisitor ( WellCommerce\Bundle\OrderBundle\Visitor\OrderVisitorInterface $visitor )
$visitor WellCommerce\Bundle\OrderBundle\Visitor\OrderVisitorInterface

addModifier() 공개 메소드

public addModifier ( WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface $modifier )
$modifier WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface

addOrderStatusHistory() 공개 메소드

public addOrderStatusHistory ( WellCommerce\Bundle\OrderBundle\Entity\OrderStatusHistoryInterface $orderStatusHistory )
$orderStatusHistory WellCommerce\Bundle\OrderBundle\Entity\OrderStatusHistoryInterface

addPayment() 공개 메소드

public addPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment )
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface

addProduct() 공개 메소드

public addProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct )
$orderProduct WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface

getComment() 공개 메소드

public getComment ( ) : string
리턴 string

getCurrency() 공개 메소드

public getCurrency ( ) : string
리턴 string

getCurrencyRate() 공개 메소드

public getCurrencyRate ( ) : float
리턴 float

getCurrentStatus() 공개 메소드

public getCurrentStatus ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface

getModifier() 공개 메소드

public getModifier ( string $name ) : WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface
$name string
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface

getModifiers() 공개 메소드

public getModifiers ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getNumber() 공개 메소드

public getNumber ( )

getOrderStatusHistory() 공개 메소드

public getOrderStatusHistory ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getPayments() 공개 메소드

public getPayments ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getProductTotal() 공개 메소드

public getProductTotal ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface

getProducts() 공개 메소드

public getProducts ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getSessionId() 공개 메소드

public getSessionId ( ) : string
리턴 string

getSummary() 공개 메소드

public getSummary ( ) : WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface

hasCurrentStatus() 공개 메소드

public hasCurrentStatus ( ) : boolean
리턴 boolean

hasModifier() 공개 메소드

public hasModifier ( string $name ) : boolean
$name string
리턴 boolean

isConfirmed() 공개 메소드

public isConfirmed ( ) : boolean
리턴 boolean

isEmpty() 공개 메소드

public isEmpty ( ) : boolean
리턴 boolean

removeModifier() 공개 메소드

public removeModifier ( string $name )
$name string

removeProduct() 공개 메소드

public removeProduct ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct )
$orderProduct WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface

setComment() 공개 메소드

public setComment ( string $comment )
$comment string

setConfirmed() 공개 메소드

public setConfirmed ( boolean $confirmed )
$confirmed boolean

setCurrency() 공개 메소드

public setCurrency ( string $currency )
$currency string

setCurrencyRate() 공개 메소드

public setCurrencyRate ( float $currencyRate )
$currencyRate float

setCurrentStatus() 공개 메소드

public setCurrentStatus ( WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface $currentStatus )
$currentStatus WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface

setModifiers() 공개 메소드

public setModifiers ( Doctrine\Common\Collections\Collection $modifiers )
$modifiers Doctrine\Common\Collections\Collection

setNumber() 공개 메소드

public setNumber ( string $number )
$number string

setOrderStatusHistory() 공개 메소드

public setOrderStatusHistory ( Doctrine\Common\Collections\Collection $orderStatusHistory )
$orderStatusHistory Doctrine\Common\Collections\Collection

setPayments() 공개 메소드

public setPayments ( Doctrine\Common\Collections\Collection $payments )
$payments Doctrine\Common\Collections\Collection

setProductTotal() 공개 메소드

public setProductTotal ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface $productTotal )
$productTotal WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface

setProducts() 공개 메소드

public setProducts ( Doctrine\Common\Collections\Collection $products )
$products Doctrine\Common\Collections\Collection

setSessionId() 공개 메소드

public setSessionId ( string $sessionId )
$sessionId string

setSummary() 공개 메소드

public setSummary ( WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface $summary )
$summary WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface

프로퍼티 상세

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

protected string $comment
리턴 string

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

protected bool $confirmed
리턴 boolean

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

protected string $currency
리턴 string

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

protected float $currencyRate
리턴 float

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

protected OrderStatusInterface,WellCommerce\Bundle\OrderBundle\Entity $currentStatus
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderStatusInterface

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

protected Collection,Doctrine\Common\Collections|OrderModifierInterface[],WellCommerce\Bundle\OrderBundle\Entity $modifiers
리턴 Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderModifierInterface[]

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

protected string $number
리턴 string

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

protected Collection,Doctrine\Common\Collections|OrderStatusHistoryInterface[],WellCommerce\Bundle\OrderBundle\Entity $orderStatusHistory
리턴 Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderStatusHistoryInterface[]

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

protected Collection,Doctrine\Common\Collections|PaymentInterface[],WellCommerce\Bundle\PaymentBundle\Entity $payments
리턴 Doctrine\Common\Collections\Collection | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface[]

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

protected OrderProductTotalInterface,WellCommerce\Bundle\OrderBundle\Entity $productTotal
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderProductTotalInterface

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

protected Collection,Doctrine\Common\Collections|OrderProductInterface[],WellCommerce\Bundle\OrderBundle\Entity $products
리턴 Doctrine\Common\Collections\Collection | WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface[]

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

protected string $sessionId
리턴 string

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

protected OrderSummaryInterface,WellCommerce\Bundle\OrderBundle\Entity $summary
리턴 WellCommerce\Bundle\OrderBundle\Entity\OrderSummaryInterface