Method | Description | |
---|---|---|
addOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement ) | ||
addOrderElements ( Sonata\Component\Order\OrderElementInterface $orderElements ) | Add order elements. | |
getBillingAddress1 ( ) : string | Get billing address1. | |
getBillingAddress2 ( ) : string | Get billing address2. | |
getBillingAddress3 ( ) : string | Get billing address3. | |
getBillingCity ( ) : string | Get billing city. | |
getBillingCountryCode ( ) : string | Get billing country. | |
getBillingEmail ( ) : string | Get billing email. | |
getBillingFax ( ) : string | Get billing fax. | |
getBillingMobile ( ) : string | Get billing mobile. | |
getBillingName ( ) : string | Get billing name. | |
getBillingPhone ( ) : string | Get billing phone. | |
getBillingPostcode ( ) : string | Get billing postcode. | |
getCreatedAt ( ) : DateTime | ||
getCurrency ( ) : Sonata\Component\Currency\CurrencyInterface | Get currency. | |
getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
getDeliveryCost ( ) : float | Get delivery cost. | |
getDeliveryMethod ( ) : string | Get delivery method. | |
getDeliveryStatus ( ) : integer | Get delivery status. | |
getDeliveryVat ( ) : float | Get delivery VAT. | |
getId ( ) : integer | ||
getLocale ( ) : string | ||
getOrderElements ( ) : array | ||
getPaymentMethod ( ) : string | Get payment method. | |
getPaymentStatus ( ) : integer | Get payment status. | |
getReference ( ) : string | Get reference. | |
getShippingAddress1 ( ) : string | Get shipping address1. | |
getShippingAddress2 ( ) : string | Get shipping address2. | |
getShippingAddress3 ( ) : string | Get shipping address3. | |
getShippingCity ( ) : string | Get shipping city. | |
getShippingCountryCode ( ) : string | Get shipping country. | |
getShippingEmail ( ) : string | Get shipping email. | |
getShippingFax ( ) : string | Get shipping fax. | |
getShippingMobile ( ) : string | Get shipping mobile. | |
getShippingName ( ) : string | Get shipping name. | |
getShippingPhone ( ) : string | Get shipping phone. | |
getShippingPostcode ( ) : string | Get shipping postcode. | |
getStatus ( ) : integer | Get status. | |
getTotalExcl ( ) : float | Get totalExcl. | |
getTotalInc ( ) : float | Get totalInc. | |
getUpdatedAt ( ) : DateTime | ||
getUsername ( ) : string | Get username. | |
getValidatedAt ( ) : Datetime | Get validated at. | |
getVat ( ) : float | ||
isCancellable ( ) : boolean | ||
isCancelled ( ) : boolean | ||
isError ( ) : boolean | Return true if the order has an error. | |
isOpen ( ) : boolean | Return true if the order is open. | |
isPending ( ) : boolean | ||
isValidated ( ) : boolean | return true if the order is validated. | |
setBillingAddress1 ( string $billingAddress1 ) | Set billing address1. | |
setBillingAddress2 ( string $billingAddress2 ) | Set billing address2. | |
setBillingAddress3 ( string $billingAddress3 ) | Set billing address3. | |
setBillingCity ( string $billingCity ) | Set billing city. | |
setBillingCountryCode ( string $billingCountryCode ) | Set billing country code. | |
setBillingEmail ( string $billingEmail ) | Set billing email. | |
setBillingFax ( string $billingFax ) | Set billing fax. | |
setBillingMobile ( string $billingMobile ) | Set billing mobile. | |
setBillingName ( string $billingName ) | Set billing name. | |
setBillingPhone ( string $billingPhone ) | Set billing phone. | |
setBillingPostcode ( string $billingPostcode ) | Set billing postcode. | |
setCreatedAt ( DateTime $createdAt = null ) | ||
setCurrency ( Sonata\Component\Currency\CurrencyInterface $currency ) | Set currency. | |
setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
setDeliveryCost ( float $deliveryCost ) | Set delivery cost (VAT included). | |
setDeliveryMethod ( string $deliveryMethod ) | Set delivery method. | |
setDeliveryStatus ( integer $deliveryStatus ) | Set delivery status. | |
setDeliveryVat ( float $deliveryVat ) | Set delivery VAT. | |
setLocale ( string $locale ) | ||
setOrderElements ( array $orderElements ) : array | ||
setPaymentMethod ( string $paymentMethod ) | Set payment method. | |
setPaymentStatus ( integer $paymentStatus ) | Set payment status. | |
setReference ( string $reference ) | Set reference. | |
setShippingAddress1 ( string $shippingAddress1 ) | Set shipping address1. | |
setShippingAddress2 ( string $shippingAddress2 ) | Set shipping address2. | |
setShippingAddress3 ( string $shippingAddress3 ) | Set shipping address3. | |
setShippingCity ( string $shippingCity ) | Set shipping city. | |
setShippingCountryCode ( string $shippingCountryCode ) | Set shipping country. | |
setShippingEmail ( string $shippingEmail ) | Set shipping email. | |
setShippingFax ( string $shippingFax ) | Set shipping fax. | |
setShippingMobile ( string $shippingMobile ) | Set shipping mobile. | |
setShippingName ( string $shippingName ) | Set shipping name. | |
setShippingPhone ( string $shippingPhone ) | Set shipping phone. | |
setShippingPostcode ( string $shippingPostcode ) | Set shipping postcode. | |
setStatus ( integer $status ) | Set status. | |
setTotalExcl ( float $totalExcl ) | Set totalExcl. | |
setTotalInc ( float $totalInc ) | Set totalInc. | |
setUpdatedAt ( DateTime $updatedAt = null ) | ||
setUsername ( string $username ) | Set username. | |
setValidatedAt ( DateTime $validatedAt = null ) | Set validated at. |
public addOrderElement ( Sonata\Component\Order\OrderElementInterface $orderElement ) | ||
$orderElement | Sonata\Component\Order\OrderElementInterface |
public addOrderElements ( Sonata\Component\Order\OrderElementInterface $orderElements ) | ||
$orderElements | Sonata\Component\Order\OrderElementInterface |
public getBillingAddress1 ( ) : string | ||
return | string | $billingAddress1 |
public getBillingAddress2 ( ) : string | ||
return | string | $billingAddress2 |
public getBillingAddress3 ( ) : string | ||
return | string | $billingAddress3 |
public getBillingCity ( ) : string | ||
return | string | $billingCity |
public getBillingCountryCode ( ) : string | ||
return | string | $billingCountryCode |
public getBillingEmail ( ) : string | ||
return | string | $billingEmail |
public getBillingFax ( ) : string | ||
return | string | $billingFax |
public getBillingMobile ( ) : string | ||
return | string | $billingMobile |
public getBillingName ( ) : string | ||
return | string | $billingName |
public getBillingPhone ( ) : string | ||
return | string | $billingPhone |
public getBillingPostcode ( ) : string | ||
return | string | $billingPostcode |
public getCurrency ( ) : Sonata\Component\Currency\CurrencyInterface | ||
return | Sonata\Component\Currency\CurrencyInterface | $currency |
public getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
return | Sonata\Component\Customer\CustomerInterface |
public getDeliveryCost ( ) : float | ||
return | float | $deliveryCost |
public getDeliveryMethod ( ) : string | ||
return | string | $deliveryMethod |
public getDeliveryStatus ( ) : integer | ||
return | integer | $deliveryStatus |
public getDeliveryVat ( ) : float | ||
return | float | $deliveryVat |
public getPaymentMethod ( ) : string | ||
return | string |
public getPaymentStatus ( ) : integer | ||
return | integer | $paymentStatus |
public getReference ( ) : string | ||
return | string | $reference |
public getShippingAddress1 ( ) : string | ||
return | string | $shippingAddress1 |
public getShippingAddress2 ( ) : string | ||
return | string | $shippingAddress2 |
public getShippingAddress3 ( ) : string | ||
return | string | $shippingAddress3 |
public getShippingCity ( ) : string | ||
return | string | $shippingCity |
public getShippingCountryCode ( ) : string | ||
return | string | $shippingCountry |
public getShippingEmail ( ) : string | ||
return | string | $shippingEmail |
public getShippingFax ( ) : string | ||
return | string | $shippingFax |
public getShippingMobile ( ) : string | ||
return | string | $shippingMobile |
public getShippingName ( ) : string | ||
return | string | $shippingName |
public getShippingPhone ( ) : string | ||
return | string | $shippingPhone |
public getShippingPostcode ( ) : string | ||
return | string | $shippingPostcode |
public getValidatedAt ( ) : Datetime | ||
return | Datetime | $validatedAt |
public isCancellable ( ) : boolean | ||
return | boolean | true if the order can be cancelled |
public isCancelled ( ) : boolean | ||
return | boolean | true if cancelled, else false |
public isValidated ( ) : boolean | ||
return | boolean |
public setBillingAddress1 ( string $billingAddress1 ) | ||
$billingAddress1 | string |
public setBillingAddress2 ( string $billingAddress2 ) | ||
$billingAddress2 | string |
public setBillingAddress3 ( string $billingAddress3 ) | ||
$billingAddress3 | string |
public setBillingCity ( string $billingCity ) | ||
$billingCity | string |
public setBillingCountryCode ( string $billingCountryCode ) | ||
$billingCountryCode | string |
public setBillingEmail ( string $billingEmail ) | ||
$billingEmail | string |
public setBillingFax ( string $billingFax ) | ||
$billingFax | string |
public setBillingMobile ( string $billingMobile ) | ||
$billingMobile | string |
public setBillingName ( string $billingName ) | ||
$billingName | string |
public setBillingPhone ( string $billingPhone ) | ||
$billingPhone | string |
public setBillingPostcode ( string $billingPostcode ) | ||
$billingPostcode | string |
public setCurrency ( Sonata\Component\Currency\CurrencyInterface $currency ) | ||
$currency | Sonata\Component\Currency\CurrencyInterface |
public setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
$customer | Sonata\Component\Customer\CustomerInterface |
public setDeliveryCost ( float $deliveryCost ) | ||
$deliveryCost | float |
public setDeliveryMethod ( string $deliveryMethod ) | ||
$deliveryMethod | string |
public setDeliveryStatus ( integer $deliveryStatus ) | ||
$deliveryStatus | integer |
public setDeliveryVat ( float $deliveryVat ) | ||
$deliveryVat | float |
public setOrderElements ( array $orderElements ) : array | ||
$orderElements | array | |
return | array |
public setPaymentMethod ( string $paymentMethod ) | ||
$paymentMethod | string |
public setPaymentStatus ( integer $paymentStatus ) | ||
$paymentStatus | integer |
public setReference ( string $reference ) | ||
$reference | string |
public setShippingAddress1 ( string $shippingAddress1 ) | ||
$shippingAddress1 | string |
public setShippingAddress2 ( string $shippingAddress2 ) | ||
$shippingAddress2 | string |
public setShippingAddress3 ( string $shippingAddress3 ) | ||
$shippingAddress3 | string |
public setShippingCity ( string $shippingCity ) | ||
$shippingCity | string |
public setShippingCountryCode ( string $shippingCountryCode ) | ||
$shippingCountryCode | string |
public setShippingEmail ( string $shippingEmail ) | ||
$shippingEmail | string |
public setShippingFax ( string $shippingFax ) | ||
$shippingFax | string |
public setShippingMobile ( string $shippingMobile ) | ||
$shippingMobile | string |
public setShippingName ( string $shippingName ) | ||
$shippingName | string |
public setShippingPhone ( string $shippingPhone ) | ||
$shippingPhone | string |
public setShippingPostcode ( string $shippingPostcode ) | ||
$shippingPostcode | string |
public setTotalExcl ( float $totalExcl ) | ||
$totalExcl | float |
public setValidatedAt ( DateTime $validatedAt = null ) | ||
$validatedAt | DateTime |