Метод | Описание | |
---|---|---|
addInvoiceElement ( Sonata\Component\Invoice\InvoiceElementInterface $element ) | Adds an invoice element to the invoice. | |
getAddress1 ( ) : string | Get address1. | |
getAddress2 ( ) : string | Get address2. | |
getAddress3 ( ) : string | Get address3. | |
getCity ( ) : string | Get city. | |
getCountry ( ) : string | Get country. | |
getCreatedAt ( ) : DateTime | ||
getCurrency ( ) : Sonata\Component\Currency\CurrencyInterface | Get currency. | |
getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | Get user. | |
getEmail ( ) : string | Get email. | |
getFax ( ) : string | Get fax. | |
getId ( ) : integer | Returns id. | |
getInvoiceElements ( ) : array | Returns all the invoice elements. | |
getLocale ( ) : string | Gets the locale. | |
getMobile ( ) : string | Get mobile. | |
getName ( ) : string | Get name. | |
getPaymentMethod ( ) : string | Get payment method. | |
getPhone ( ) : string | Get phone. | |
getPostcode ( ) : string | Get postcode. | |
getReference ( ) : string | Get reference. | |
getStatus ( ) : integer | Get status. | |
getTotalExcl ( ) : float | Get totalExcl. | |
getTotalInc ( ) : float | Get totalInc. | |
setAddress1 ( string $address1 ) | Set address1. | |
setAddress2 ( string $address2 ) | Set address2. | |
setAddress3 ( string $address3 ) | Set address3. | |
setCity ( string $city ) | Set city. | |
setCountry ( string $country ) | Set country. | |
setCreatedAt ( DateTime $createdAt ) | ||
setCurrency ( Sonata\Component\Currency\CurrencyInterface $currency ) | Set currency. | |
setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | Set user. | |
setEmail ( string $email ) | Set email. | |
setFax ( string $fax ) | Set fax. | |
setInvoiceElements ( array $elements ) | Sets the invoice elements collection. | |
setLocale ( string $locale ) | Sets the locale. | |
setMobile ( string $mobile ) | Set mobile. | |
setName ( string $name ) | Set name. | |
setPaymentMethod ( string $paymentMethod ) | Set payment method. | |
setPhone ( string $phone ) | Set phone. | |
setPostcode ( string $postcode ) | Set postcode. | |
setReference ( string $reference ) | Set reference. | |
setStatus ( integer $status ) | Set status. | |
setTotalExcl ( float $totalExcl ) | Set totalExcl. | |
setTotalInc ( float $totalInc ) | Set totalInc. |
public addInvoiceElement ( Sonata\Component\Invoice\InvoiceElementInterface $element ) | ||
$element | Sonata\Component\Invoice\InvoiceElementInterface |
public getAddress1 ( ) : string | ||
Результат | string | $address1 |
public getAddress2 ( ) : string | ||
Результат | string | $address2 |
public getAddress3 ( ) : string | ||
Результат | string | $address3 |
public getCurrency ( ) : Sonata\Component\Currency\CurrencyInterface | ||
Результат | Sonata\Component\Currency\CurrencyInterface | $currency |
public getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
Результат | Sonata\Component\Customer\CustomerInterface |
public getInvoiceElements ( ) : array | ||
Результат | array |
public getPaymentMethod ( ) : string | ||
Результат | string |
public getPostcode ( ) : string | ||
Результат | string | $postcode |
public getReference ( ) : string | ||
Результат | string | $reference |
public getTotalExcl ( ) : float | ||
Результат | float | $totalExcl |
public getTotalInc ( ) : float | ||
Результат | float | $totalInc |
public setAddress1 ( string $address1 ) | ||
$address1 | string |
public setAddress2 ( string $address2 ) | ||
$address2 | string |
public setAddress3 ( string $address3 ) | ||
$address3 | 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 setInvoiceElements ( array $elements ) | ||
$elements | array |
public setPaymentMethod ( string $paymentMethod ) | ||
$paymentMethod | string |
public setPostcode ( string $postcode ) | ||
$postcode | string |
public setReference ( string $reference ) | ||
$reference | string |
public setTotalExcl ( float $totalExcl ) | ||
$totalExcl | float |