PHP 클래스 Sonata\OrderBundle\Entity\BaseOrder

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

보호된 프로퍼티들

프로퍼티 타입 설명
$billingAddress1 string
$billingAddress2 string
$billingAddress3 string
$billingCity string
$billingCountryCode string
$billingEmail string
$billingFax string
$billingMobile string
$billingName string
$billingPhone string
$billingPostcode string
$createdAt
$currency Sonata\Component\Currency\CurrencyInterface
$customer
$deliveryCost float
$deliveryMethod string
$deliveryStatus integer
$deliveryVat float
$locale
$orderElements
$paymentMethod string
$paymentStatus integer
$reference string
$shippingAddress1 string
$shippingAddress2 string
$shippingAddress3 string
$shippingCity string
$shippingCountryCode string
$shippingEmail string
$shippingFax string
$shippingMobile string
$shippingName string
$shippingPhone string
$shippingPostcode string
$status integer
$totalExcl float
$totalInc float
$updatedAt
$username string
$validatedAt datetime

공개 메소드들

메소드 설명
__construct ( )
__toString ( )
addOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement )
addOrderElements ( Sonata\Component\Order\OrderElementInterface $orderElements )
getBillingAddress1 ( )
getBillingAddress2 ( )
getBillingAddress3 ( )
getBillingAsArray ( )
getBillingCity ( )
getBillingCountryCode ( )
getBillingEmail ( )
getBillingFax ( )
getBillingMobile ( )
getBillingName ( )
getBillingPhone ( )
getBillingPostcode ( )
getCreatedAt ( )
getCurrency ( )
getCustomer ( )
getDeliveryAsArray ( ) : array
getDeliveryCost ( )
getDeliveryMethod ( )
getDeliveryStatus ( )
getDeliveryStatusName ( ) : string
getDeliveryVat ( ) : float Get delivery VAT.
getFullBilling ( string $sep = ', ' ) : string Returns formatted billing address.
getFullDelivery ( string $sep = ', ' ) : string Returns formatted delivery address.
getLocale ( )
getOrderElements ( )
getPaymentMethod ( )
getPaymentStatus ( )
getPaymentStatusName ( ) : string
getReference ( )
getShippingAddress1 ( )
getShippingAddress2 ( )
getShippingAddress3 ( )
getShippingCity ( )
getShippingCountryCode ( )
getShippingEmail ( )
getShippingFax ( )
getShippingMobile ( )
getShippingName ( )
getShippingPhone ( )
getShippingPostcode ( )
getStatus ( )
getStatusList ( ) : array
getStatusName ( ) : string
getTotalExcl ( )
getTotalInc ( )
getUpdatedAt ( )
getUsername ( )
getValidatedAt ( )
getValidationStatusList ( ) : array
getVat ( )
getVatAmounts ( ) : array Returns all VAT amounts contained in elements.
isCancellable ( )
isCancelled ( )
isError ( )
isOpen ( )
isPending ( )
isValidated ( )
prePersist ( )
preUpdate ( )
setBillingAddress1 ( $billingAddress1 )
setBillingAddress2 ( $billingAddress2 )
setBillingAddress3 ( $billingAddress3 )
setBillingCity ( $billingCity )
setBillingCountryCode ( $billingCountryCode )
setBillingEmail ( $billingEmail )
setBillingFax ( $billingFax )
setBillingMobile ( $billingMobile )
setBillingName ( $billingName )
setBillingPhone ( $billingPhone )
setBillingPostcode ( $billingPostcode )
setCreatedAt ( DateTime $createdAt = null )
setCurrency ( Sonata\Component\Currency\CurrencyInterface $currency )
setCustomer ( Sonata\Component\Customer\CustomerInterface $customer )
setDeliveryCost ( $deliveryCost )
setDeliveryMethod ( $deliveryMethod )
setDeliveryStatus ( $deliveryStatus )
setDeliveryVat ( float $deliveryVat ) Set delivery VAT.
setLocale ( $locale )
setOrderElements ( $orderElements )
setPaymentMethod ( $paymentMethod )
setPaymentStatus ( $paymentStatus )
setReference ( $reference )
setShippingAddress1 ( $shippingAddress1 )
setShippingAddress2 ( $shippingAddress2 )
setShippingAddress3 ( $shippingAddress3 )
setShippingCity ( $shippingCity )
setShippingCountryCode ( $shippingCountryCode )
setShippingEmail ( $shippingEmail )
setShippingFax ( $shippingFax )
setShippingMobile ( $shippingMobile )
setShippingName ( $shippingName )
setShippingPhone ( $shippingPhone )
setShippingPostcode ( $shippingPostcode )
setStatus ( $status )
setTotalExcl ( $totalExcl )
setTotalInc ( $totalInc )
setUpdatedAt ( DateTime $updatedAt = null )
setUsername ( $username )
setValidatedAt ( DateTime $validatedAt = null )

메소드 상세

__construct() 공개 메소드

public __construct ( )

__toString() 공개 메소드

public __toString ( )

addOrderElement() 공개 메소드

public addOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement )
$orderElement Sonata\Component\Order\OrderElementInterface

addOrderElements() 공개 메소드

public addOrderElements ( Sonata\Component\Order\OrderElementInterface $orderElements )
$orderElements Sonata\Component\Order\OrderElementInterface

getBillingAddress1() 공개 메소드

public getBillingAddress1 ( )

getBillingAddress2() 공개 메소드

public getBillingAddress2 ( )

getBillingAddress3() 공개 메소드

public getBillingAddress3 ( )

getBillingAsArray() 공개 메소드

public getBillingAsArray ( )

getBillingCity() 공개 메소드

public getBillingCity ( )

getBillingCountryCode() 공개 메소드

getBillingEmail() 공개 메소드

public getBillingEmail ( )

getBillingFax() 공개 메소드

public getBillingFax ( )

getBillingMobile() 공개 메소드

public getBillingMobile ( )

getBillingName() 공개 메소드

public getBillingName ( )

getBillingPhone() 공개 메소드

public getBillingPhone ( )

getBillingPostcode() 공개 메소드

public getBillingPostcode ( )

getCreatedAt() 공개 메소드

public getCreatedAt ( )

getCurrency() 공개 메소드

public getCurrency ( )

getCustomer() 공개 메소드

public getCustomer ( )

getDeliveryAsArray() 공개 메소드

public getDeliveryAsArray ( ) : array
리턴 array

getDeliveryCost() 공개 메소드

public getDeliveryCost ( )

getDeliveryMethod() 공개 메소드

public getDeliveryMethod ( )

getDeliveryStatus() 공개 메소드

public getDeliveryStatus ( )

getDeliveryStatusName() 공개 메소드

public getDeliveryStatusName ( ) : string
리턴 string

getDeliveryVat() 공개 메소드

Get delivery VAT.
public getDeliveryVat ( ) : float
리턴 float $deliveryVat

getFullBilling() 공개 메소드

Returns formatted billing address.
public getFullBilling ( string $sep = ', ' ) : string
$sep string
리턴 string

getFullDelivery() 공개 메소드

Returns formatted delivery address.
public getFullDelivery ( string $sep = ', ' ) : string
$sep string
리턴 string

getLocale() 공개 메소드

public getLocale ( )

getOrderElements() 공개 메소드

public getOrderElements ( )

getPaymentMethod() 공개 메소드

public getPaymentMethod ( )

getPaymentStatus() 공개 메소드

public getPaymentStatus ( )

getPaymentStatusName() 공개 메소드

public getPaymentStatusName ( ) : string
리턴 string

getReference() 공개 메소드

public getReference ( )

getShippingAddress1() 공개 메소드

public getShippingAddress1 ( )

getShippingAddress2() 공개 메소드

public getShippingAddress2 ( )

getShippingAddress3() 공개 메소드

public getShippingAddress3 ( )

getShippingCity() 공개 메소드

public getShippingCity ( )

getShippingCountryCode() 공개 메소드

getShippingEmail() 공개 메소드

public getShippingEmail ( )

getShippingFax() 공개 메소드

public getShippingFax ( )

getShippingMobile() 공개 메소드

public getShippingMobile ( )

getShippingName() 공개 메소드

public getShippingName ( )

getShippingPhone() 공개 메소드

public getShippingPhone ( )

getShippingPostcode() 공개 메소드

public getShippingPostcode ( )

getStatus() 공개 메소드

public getStatus ( )

getStatusList() 공개 정적인 메소드

public static getStatusList ( ) : array
리턴 array

getStatusName() 공개 메소드

public getStatusName ( ) : string
리턴 string

getTotalExcl() 공개 메소드

public getTotalExcl ( )

getTotalInc() 공개 메소드

public getTotalInc ( )

getUpdatedAt() 공개 메소드

public getUpdatedAt ( )

getUsername() 공개 메소드

public getUsername ( )

getValidatedAt() 공개 메소드

public getValidatedAt ( )

getValidationStatusList() 공개 정적인 메소드

public static getValidationStatusList ( ) : array
리턴 array

getVat() 공개 메소드

public getVat ( )

getVatAmounts() 공개 메소드

Returns all VAT amounts contained in elements.
public getVatAmounts ( ) : array
리턴 array

isCancellable() 공개 메소드

public isCancellable ( )

isCancelled() 공개 메소드

public isCancelled ( )

isError() 공개 메소드

public isError ( )

isOpen() 공개 메소드

public isOpen ( )

isPending() 공개 메소드

public isPending ( )

isValidated() 공개 메소드

public isValidated ( )

prePersist() 공개 메소드

public prePersist ( )

preUpdate() 공개 메소드

public preUpdate ( )

setBillingAddress1() 공개 메소드

public setBillingAddress1 ( $billingAddress1 )

setBillingAddress2() 공개 메소드

public setBillingAddress2 ( $billingAddress2 )

setBillingAddress3() 공개 메소드

public setBillingAddress3 ( $billingAddress3 )

setBillingCity() 공개 메소드

public setBillingCity ( $billingCity )

setBillingCountryCode() 공개 메소드

public setBillingCountryCode ( $billingCountryCode )

setBillingEmail() 공개 메소드

public setBillingEmail ( $billingEmail )

setBillingFax() 공개 메소드

public setBillingFax ( $billingFax )

setBillingMobile() 공개 메소드

public setBillingMobile ( $billingMobile )

setBillingName() 공개 메소드

public setBillingName ( $billingName )

setBillingPhone() 공개 메소드

public setBillingPhone ( $billingPhone )

setBillingPostcode() 공개 메소드

public setBillingPostcode ( $billingPostcode )

setCreatedAt() 공개 메소드

public setCreatedAt ( DateTime $createdAt = null )
$createdAt DateTime

setCurrency() 공개 메소드

public setCurrency ( Sonata\Component\Currency\CurrencyInterface $currency )
$currency Sonata\Component\Currency\CurrencyInterface

setCustomer() 공개 메소드

public setCustomer ( Sonata\Component\Customer\CustomerInterface $customer )
$customer Sonata\Component\Customer\CustomerInterface

setDeliveryCost() 공개 메소드

public setDeliveryCost ( $deliveryCost )

setDeliveryMethod() 공개 메소드

public setDeliveryMethod ( $deliveryMethod )

setDeliveryStatus() 공개 메소드

public setDeliveryStatus ( $deliveryStatus )

setDeliveryVat() 공개 메소드

Set delivery VAT.
public setDeliveryVat ( float $deliveryVat )
$deliveryVat float

setLocale() 공개 메소드

public setLocale ( $locale )

setOrderElements() 공개 메소드

public setOrderElements ( $orderElements )

setPaymentMethod() 공개 메소드

public setPaymentMethod ( $paymentMethod )

setPaymentStatus() 공개 메소드

public setPaymentStatus ( $paymentStatus )

setReference() 공개 메소드

public setReference ( $reference )

setShippingAddress1() 공개 메소드

public setShippingAddress1 ( $shippingAddress1 )

setShippingAddress2() 공개 메소드

public setShippingAddress2 ( $shippingAddress2 )

setShippingAddress3() 공개 메소드

public setShippingAddress3 ( $shippingAddress3 )

setShippingCity() 공개 메소드

public setShippingCity ( $shippingCity )

setShippingCountryCode() 공개 메소드

public setShippingCountryCode ( $shippingCountryCode )

setShippingEmail() 공개 메소드

public setShippingEmail ( $shippingEmail )

setShippingFax() 공개 메소드

public setShippingFax ( $shippingFax )

setShippingMobile() 공개 메소드

public setShippingMobile ( $shippingMobile )

setShippingName() 공개 메소드

public setShippingName ( $shippingName )

setShippingPhone() 공개 메소드

public setShippingPhone ( $shippingPhone )

setShippingPostcode() 공개 메소드

public setShippingPostcode ( $shippingPostcode )

setStatus() 공개 메소드

public setStatus ( $status )

setTotalExcl() 공개 메소드

public setTotalExcl ( $totalExcl )

setTotalInc() 공개 메소드

public setTotalInc ( $totalInc )

setUpdatedAt() 공개 메소드

public setUpdatedAt ( DateTime $updatedAt = null )
$updatedAt DateTime

setUsername() 공개 메소드

public setUsername ( $username )

setValidatedAt() 공개 메소드

public setValidatedAt ( DateTime $validatedAt = null )
$validatedAt DateTime

프로퍼티 상세

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

protected string $billingAddress1
리턴 string

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

protected string $billingAddress2
리턴 string

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

protected string $billingAddress3
리턴 string

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

protected string $billingCity
리턴 string

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

protected string $billingCountryCode
리턴 string

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

protected string $billingEmail
리턴 string

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

protected string $billingFax
리턴 string

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

protected string $billingMobile
리턴 string

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

protected string $billingName
리턴 string

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

protected string $billingPhone
리턴 string

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

protected string $billingPostcode
리턴 string

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

protected $createdAt

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

protected CurrencyInterface,Sonata\Component\Currency $currency
리턴 Sonata\Component\Currency\CurrencyInterface

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

protected $customer

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

protected float $deliveryCost
리턴 float

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

protected string $deliveryMethod
리턴 string

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

protected int $deliveryStatus
리턴 integer

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

protected float $deliveryVat
리턴 float

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

protected $locale

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

protected $orderElements

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

protected string $paymentMethod
리턴 string

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

protected int $paymentStatus
리턴 integer

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

protected string $reference
리턴 string

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

protected string $shippingAddress1
리턴 string

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

protected string $shippingAddress2
리턴 string

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

protected string $shippingAddress3
리턴 string

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

protected string $shippingCity
리턴 string

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

protected string $shippingCountryCode
리턴 string

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

protected string $shippingEmail
리턴 string

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

protected string $shippingFax
리턴 string

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

protected string $shippingMobile
리턴 string

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

protected string $shippingName
리턴 string

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

protected string $shippingPhone
리턴 string

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

protected string $shippingPostcode
리턴 string

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

protected int $status
리턴 integer

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

protected float $totalExcl
리턴 float

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

protected float $totalInc
리턴 float

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

protected $updatedAt

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

protected string $username
리턴 string

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

protected datetime $validatedAt
리턴 datetime