InvoiceTemplate
extends InvoiceTemplate
in package
Tags
Attributes
- #[Entity]
- #[Table]
- $name: 'cms_mod_invoicer_invoice_templates'
- #[TableAlias]
- 'invoiceTemplate'
Table of Contents
Properties
- $bankAccount : string|null
- $bankName : string|null
- $billingLineId : int|null
- $constantSymbol : string|null
- $currencyId : int|null
- $customerCity : string|null
- $customerContactId : int|null
- $customerContactId2 : int|null
- $customerCountry : string|null
- $customerDlvCity : string|null
- $customerDlvCountry : string|null
- $customerDlvInformations : string|null
- $customerDlvName : string|null
- $customerDlvName2 : string|null
- $customerDlvPostcode : string|null
- $customerDlvStreet : string|null
- $customerEmail : string|null
- $customerId : int|null
- $customerId2 : int|null
- $customerInformations : string|null
- $customerName : string|null
- $customerName2 : string|null
- $customerPhone : string|null
- $customerPostcode : string|null
- $customerRegNo : string|null
- $customerStreet : string|null
- $customerVatId : string|null
- $customerVatInformations : string|null
- $emailBody : string|null
- $emailSubject : string|null
- $emailTo : string|null
- $gifts : Collection
- $iban : string|null
- $id : int|null
- $informations : string|null
- $insertDatetime : DateTime
- $invoiceTypeId : int|null
- $items : Collection
- $languageId : int|null
- $localization : object|null
- Localization of the document; number and currency formatting come from here, not from the current request. Load it with `->include(['localization'])`, like the currency.
- $name : string|null
- $orderId : int|null
- $paymentMethodId : int|null
- $paymentMethods : Collection
- $paymentRegionId : int|null
- $pdfTemplateId : int|null
- $pdfTemplateVariantId : int|null
- $productTypeId : int|null
- $roundedTotalPrice : string|null
- $roundedTotalPriceWithVat : string|null
- $rounding : string|null
- $roundingWithVat : string|null
- $sellerBankAccountId : int|null
- $sellerCity : string|null
- $sellerContactId : int|null
- $sellerCountry : string|null
- $sellerEmail : string|null
- $sellerId : int|null
- $sellerInformations : string|null
- $sellerName : string|null
- $sellerName2 : string|null
- $sellerPhone : string|null
- $sellerPostcode : string|null
- $sellerRegNo : string|null
- $sellerStreet : string|null
- $sellerVatId : string|null
- $sellerVatInformations : string|null
- $sendEmail : bool
- $shippers : Collection
- $signature : string|null
- $specificSymbol : string|null
- $swift : string|null
- $totalPrice : string|null
- $totalPriceWithVat : string|null
- $useDeliveryAddress : bool
- $userTypeId : int|null
- $useVat : bool
- $variableSymbol : string|null
- $vouchers : Collection
Methods
- __construct() : mixed
- addGift() : $this
- addItem() : $this
- addPaymentMethod() : $this
- addShipper() : $this
- addVoucher() : $this
- callInitMethods() : void
- Calls `init{TraitName}()` for every used trait that defines such a method.
- clearGifts() : $this
- clearItems() : $this
- clearPaymentMethods() : $this
- clearShippers() : $this
- clearVouchers() : $this
- getAllTraits() : array<string, string>
- Returns all traits the class uses, including those used by parent classes and nested traits.
- getBankAccount() : string|null
- getBankName() : string|null
- getBillingLineId() : int|null
- getConstantSymbol() : string|null
- getCurrencyId() : int|null
- getCustomerCity() : string|null
- getCustomerContactId() : int|null
- getCustomerContactId2() : int|null
- getCustomerCountry() : string|null
- getCustomerDlvCity() : string|null
- getCustomerDlvCountry() : string|null
- getCustomerDlvInformations() : string|null
- getCustomerDlvName() : string|null
- getCustomerDlvName2() : string|null
- getCustomerDlvPostcode() : string|null
- getCustomerDlvStreet() : string|null
- getCustomerEmail() : string|null
- getCustomerId() : int|null
- getCustomerId2() : int|null
- getCustomerInformations() : string|null
- getCustomerName() : string|null
- getCustomerName2() : string|null
- getCustomerPhone() : string|null
- getCustomerPostcode() : string|null
- getCustomerRegNo() : string|null
- getCustomerStreet() : string|null
- getCustomerVatId() : string|null
- getCustomerVatInformations() : string|null
- getEmailBody() : string|null
- getEmailSubject() : string|null
- getEmailTo() : string|null
- getGift() : TGift|null
- getGifts() : Collection<int, TGift>
- getIban() : string|null
- getId() : int|null
- getInformations() : string|null
- getInsertDatetime() : DateTime
- getInvoiceTypeId() : int|null
- getItem() : TItem|null
- getItems() : Collection<int, TItem>
- getLanguageId() : int|null
- getLocalization() : object|null
- getLocalizationId() : int|null
- The object wins over the scalar (a freshly set localization beats the mirror loaded from the DB), but `$localization` is an untyped `object`, hence the guard instead of a plain `?->getId()`. Without it PHPStan reports `object::getId()` and a foreign object in the association would fail at runtime.
- getName() : string|null
- getOrderId() : int|null
- getPaymentMethodId() : int|null
- getPaymentMethods() : Collection<int, TPaymentMethod>
- getPaymentRegionId() : int|null
- getPdfTemplateId() : int|null
- getPdfTemplateVariantId() : int|null
- getProductTypeId() : int|null
- getRoundedTotalPrice() : string|null
- getRoundedTotalPriceWithVat() : string|null
- getRounding() : string|null
- getRoundingWithVat() : string|null
- getSellerBankAccountId() : int|null
- getSellerCity() : string|null
- getSellerContactId() : int|null
- getSellerCountry() : string|null
- getSellerEmail() : string|null
- getSellerId() : int|null
- getSellerInformations() : string|null
- getSellerName() : string|null
- getSellerName2() : string|null
- getSellerPhone() : string|null
- getSellerPostcode() : string|null
- getSellerRegNo() : string|null
- getSellerStreet() : string|null
- getSellerVatId() : string|null
- getSellerVatInformations() : string|null
- getSendEmail() : bool
- getShippers() : Collection<int, TShipper>
- getSignature() : string|null
- getSpecificSymbol() : string|null
- getSwift() : string|null
- getTotalPrice() : string|null
- getTotalPriceWithVat() : string|null
- getUseDeliveryAddress() : bool
- getUserTypeId() : int|null
- getUseVat() : bool
- getVariableSymbol() : string|null
- getVoucher() : TVoucher|null
- getVouchers() : Collection<int, TVoucher>
- giftCollectionInit() : void
- isPersisted() : bool
- isSendEmail() : bool
- isUseDeliveryAddress() : bool
- isUseVat() : bool
- itemCollectionInit() : void
- paymentMethodCollectionInit() : void
- removeGift() : $this
- removeItem() : $this
- removePaymentMethod() : $this
- removeShipper() : $this
- removeVoucher() : $this
- setBankAccount() : $this
- setBankName() : $this
- setBillingLineId() : $this
- setConstantSymbol() : $this
- setCurrencyId() : $this
- setCustomerCity() : $this
- setCustomerContactId() : $this
- setCustomerContactId2() : $this
- setCustomerCountry() : $this
- setCustomerDlvCity() : $this
- setCustomerDlvCountry() : $this
- setCustomerDlvInformations() : $this
- setCustomerDlvName() : $this
- setCustomerDlvName2() : $this
- setCustomerDlvPostcode() : $this
- setCustomerDlvStreet() : $this
- setCustomerEmail() : $this
- setCustomerId() : $this
- setCustomerId2() : $this
- setCustomerInformations() : $this
- setCustomerName() : $this
- setCustomerName2() : $this
- setCustomerPhone() : $this
- setCustomerPostcode() : $this
- setCustomerRegNo() : $this
- setCustomerStreet() : $this
- setCustomerVatId() : $this
- setCustomerVatInformations() : $this
- setEmailBody() : $this
- setEmailSubject() : $this
- setEmailTo() : $this
- setGifts() : $this
- setIban() : $this
- setId() : $this
- setInformations() : $this
- setInsertDatetime() : $this
- setInvoiceTypeId() : $this
- setItems() : $this
- setLanguageId() : $this
- setLocalization() : $this
- IMPORTANT: deliberately without the side effect `$this->localizationId = $localization?->getId()`.
- setLocalizationId() : $this
- The FK mirror is set by the form together with the association: Api `resolveRelations()` fills a null association from the mirror (entity loaded without include), so clearing the localization must not carry the old mirror over. In the DB the column is written only through the association.
- setName() : $this
- setOrderId() : $this
- setPaymentMethodId() : $this
- setPaymentMethods() : $this
- setPaymentRegionId() : $this
- setPdfTemplateId() : $this
- setPdfTemplateVariantId() : $this
- setProductTypeId() : $this
- setRoundedTotalPrice() : $this
- setRoundedTotalPriceWithVat() : $this
- setRounding() : $this
- setRoundingWithVat() : $this
- setSellerBankAccountId() : $this
- setSellerCity() : $this
- setSellerContactId() : $this
- setSellerCountry() : $this
- setSellerEmail() : $this
- setSellerId() : $this
- setSellerInformations() : $this
- setSellerName() : $this
- setSellerName2() : $this
- setSellerPhone() : $this
- setSellerPostcode() : $this
- setSellerRegNo() : $this
- setSellerStreet() : $this
- setSellerVatId() : $this
- setSellerVatInformations() : $this
- setSendEmail() : $this
- setShippers() : $this
- setSignature() : $this
- setSpecificSymbol() : $this
- setSwift() : $this
- setTotalPrice() : $this
- setTotalPriceWithVat() : $this
- setUseDeliveryAddress() : $this
- setUserTypeId() : $this
- setUseVat() : $this
- setVariableSymbol() : $this
- setVouchers() : $this
- shipperCollectionInit() : void
- voucherCollectionInit() : void
- getTraitsRecursive() : array<string, string>
- Walks the trait list recursively and collects nested traits too.
Properties
$bankAccount
protected
string|null
$bankAccount
= null
Attributes
- #[Column]
- $name: 'bank_account'
- $type: 'string'
- $length: 50
- $nullable: true
$bankName
protected
string|null
$bankName
= null
Attributes
- #[Column]
- $name: 'bank_name'
- $type: 'string'
- $length: 255
- $nullable: true
$billingLineId
protected
int|null
$billingLineId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_billing_lines_billing_line_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$constantSymbol
protected
string|null
$constantSymbol
= null
Attributes
- #[Column]
- $name: 'constant_symbol'
- $type: 'string'
- $length: 255
- $nullable: true
$currencyId
protected
int|null
$currencyId
= null
Attributes
- #[Column]
- $name: 'cms_system_currencies_currency_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerCity
protected
string|null
$customerCity
= null
Attributes
- #[Column]
- $name: 'customer_city'
- $type: 'string'
- $length: 255
- $nullable: true
$customerContactId
protected
int|null
$customerContactId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_customer_contacts_customer_contact_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerContactId2
protected
int|null
$customerContactId2
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_customer_contacts_customer_contact_id2'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerCountry
protected
string|null
$customerCountry
= null
Attributes
- #[Column]
- $name: 'customer_country'
- $type: 'string'
- $length: 255
- $nullable: true
$customerDlvCity
protected
string|null
$customerDlvCity
= null
Attributes
- #[Column]
- $name: 'customer_dlv_city'
- $type: 'string'
- $length: 255
- $nullable: true
$customerDlvCountry
protected
string|null
$customerDlvCountry
= null
Attributes
- #[Column]
- $name: 'customer_dlv_country'
- $type: 'string'
- $length: 255
- $nullable: true
$customerDlvInformations
protected
string|null
$customerDlvInformations
= null
Attributes
- #[Column]
- $name: 'customer_dlv_informations'
- $type: 'text'
- $nullable: true
$customerDlvName
protected
string|null
$customerDlvName
= null
Attributes
- #[Column]
- $name: 'customer_dlv_name'
- $type: 'string'
- $length: 255
- $nullable: true
$customerDlvName2
protected
string|null
$customerDlvName2
= null
Attributes
- #[Column]
- $name: 'customer_dlv_name_2'
- $type: 'string'
- $length: 255
- $nullable: true
$customerDlvPostcode
protected
string|null
$customerDlvPostcode
= null
Attributes
- #[Column]
- $name: 'customer_dlv_postcode'
- $type: 'string'
- $length: 50
- $nullable: true
$customerDlvStreet
protected
string|null
$customerDlvStreet
= null
Attributes
- #[Column]
- $name: 'customer_dlv_street'
- $type: 'string'
- $length: 255
- $nullable: true
$customerEmail
protected
string|null
$customerEmail
= null
Attributes
- #[Column]
- $name: 'customer_email'
- $type: 'string'
- $length: 255
- $nullable: true
$customerId
protected
int|null
$customerId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_customers_customer_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerId2
protected
int|null
$customerId2
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_customers_customer_id2'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerInformations
protected
string|null
$customerInformations
= null
Attributes
- #[Column]
- $name: 'customer_informations'
- $type: 'text'
- $nullable: true
$customerName
protected
string|null
$customerName
= null
Attributes
- #[Column]
- $name: 'customer_name'
- $type: 'string'
- $length: 255
- $nullable: true
$customerName2
protected
string|null
$customerName2
= null
Attributes
- #[Column]
- $name: 'customer_name_2'
- $type: 'string'
- $length: 255
- $nullable: true
$customerPhone
protected
string|null
$customerPhone
= null
Attributes
- #[Column]
- $name: 'customer_phone'
- $type: 'string'
- $length: 255
- $nullable: true
$customerPostcode
protected
string|null
$customerPostcode
= null
Attributes
- #[Column]
- $name: 'customer_postcode'
- $type: 'string'
- $length: 20
- $nullable: true
$customerRegNo
protected
string|null
$customerRegNo
= null
Attributes
- #[Column]
- $name: 'customer_reg_no'
- $type: 'string'
- $length: 255
- $nullable: true
$customerStreet
protected
string|null
$customerStreet
= null
Attributes
- #[Column]
- $name: 'customer_street'
- $type: 'string'
- $length: 255
- $nullable: true
$customerVatId
protected
string|null
$customerVatId
= null
Attributes
- #[Column]
- $name: 'customer_vat_id'
- $type: 'string'
- $length: 255
- $nullable: true
$customerVatInformations
protected
string|null
$customerVatInformations
= null
Attributes
- #[Column]
- $name: 'customer_vat_informations'
- $type: 'text'
- $nullable: true
$emailBody
protected
string|null
$emailBody
= null
Attributes
- #[Column]
- $name: 'email_body'
- $type: 'text'
- $nullable: true
$emailSubject
protected
string|null
$emailSubject
= null
Attributes
- #[Column]
- $name: 'email_subject'
- $type: 'string'
- $length: 255
- $nullable: true
$emailTo
protected
string|null
$emailTo
= null
Attributes
- #[Column]
- $name: 'email_to'
- $type: 'string'
- $length: 255
- $nullable: true
$gifts
protected
Collection
$gifts
Attributes
- #[OneToMany]
- $targetEntity: \App\UI\Api\Invoicer\Models\Entities\InvoiceTemplateGift::class
- $mappedBy: 'invoiceTemplate'
- $cascade: ["persist", "remove"]
- $orphanRemoval: true
$iban
protected
string|null
$iban
= null
Attributes
- #[Column]
- $name: 'iban'
- $type: 'string'
- $length: 255
- $nullable: true
$id
protected
int|null
$id
= null
Attributes
- #[Column]
- $name: 'invoice_template_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[GeneratedValue]
- #[Id]
$informations
protected
string|null
$informations
= null
Attributes
- #[Column]
- $name: 'informations'
- $type: 'text'
- $nullable: true
$insertDatetime
protected
DateTime
$insertDatetime
= new DateTime()
Attributes
- #[Column]
- $name: 'insert_datetime'
- $type: 'datetime'
$invoiceTypeId
protected
int|null
$invoiceTypeId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_invoice_types_invoice_type_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$items
protected
Collection
$items
Attributes
- #[OneToMany]
- $targetEntity: \App\UI\Api\Invoicer\Models\Entities\InvoiceTemplateItem::class
- $mappedBy: 'invoiceTemplate'
- $cascade: ["persist", "remove"]
- $orphanRemoval: true
$languageId
protected
int|null
$languageId
= null
Attributes
- #[Column]
- $name: 'cms_system_languages_language_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$localization
Localization of the document; number and currency formatting come from here, not from the current request. Load it with `->include(['localization'])`, like the currency.
protected
object|null
$localization
= null
Attributes
- #[JoinColumn]
- $name: 'cms_system_localizations_localization_id'
- $referencedColumnName: 'localization_id'
- $onDelete: 'SET NULL'
- #[ManyToOne]
- $targetEntity: \App\UI\Api\System\Models\Entities\Localization::class
- $fetch: 'LAZY'
$name
protected
string|null
$name
= null
Attributes
- #[Column]
- $name: 'name'
- $type: 'string'
- $length: 255
- $nullable: true
$orderId
protected
int|null
$orderId
= null
Attributes
- #[Column]
- $name: 'order_id'
- $type: 'bigint'
- $nullable: true
$paymentMethodId
protected
int|null
$paymentMethodId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_payment_methods_payment_method_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$paymentMethods
protected
Collection
$paymentMethods
Attributes
- #[OneToMany]
- $targetEntity: \App\UI\Api\Invoicer\Models\Entities\InvoiceTemplatePaymentMethod::class
- $mappedBy: 'invoiceTemplate'
- $cascade: ["persist", "remove"]
- $orphanRemoval: true
$paymentRegionId
protected
int|null
$paymentRegionId
= null
Attributes
- #[Column]
- $name: 'cms_system_payment_regions_payment_region_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$pdfTemplateId
protected
int|null
$pdfTemplateId
= null
Attributes
- #[Column]
- $name: 'cms_system_pdf_templates_pdf_template_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$pdfTemplateVariantId
protected
int|null
$pdfTemplateVariantId
= null
Attributes
- #[Column]
- $name: 'cms_system_pdf_template_variants_pdf_template_variant_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$productTypeId
protected
int|null
$productTypeId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_product_types_product_type_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$roundedTotalPrice
protected
string|null
$roundedTotalPrice
= null
Attributes
- #[Column]
- $name: 'rounded_total_price'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$roundedTotalPriceWithVat
protected
string|null
$roundedTotalPriceWithVat
= null
Attributes
- #[Column]
- $name: 'rounded_total_price_with_vat'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$rounding
protected
string|null
$rounding
= null
Attributes
- #[Column]
- $name: 'rounding'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$roundingWithVat
protected
string|null
$roundingWithVat
= null
Attributes
- #[Column]
- $name: 'rounding_with_vat'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$sellerBankAccountId
protected
int|null
$sellerBankAccountId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_seller_bank_accounts_seller_bank_account_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$sellerCity
protected
string|null
$sellerCity
= null
Attributes
- #[Column]
- $name: 'seller_city'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerContactId
protected
int|null
$sellerContactId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_seller_contacts_seller_contact_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$sellerCountry
protected
string|null
$sellerCountry
= null
Attributes
- #[Column]
- $name: 'seller_country'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerEmail
protected
string|null
$sellerEmail
= null
Attributes
- #[Column]
- $name: 'seller_email'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerId
protected
int|null
$sellerId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_sellers_seller_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$sellerInformations
protected
string|null
$sellerInformations
= null
Attributes
- #[Column]
- $name: 'seller_informations'
- $type: 'text'
- $nullable: true
$sellerName
protected
string|null
$sellerName
= null
Attributes
- #[Column]
- $name: 'seller_name'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerName2
protected
string|null
$sellerName2
= null
Attributes
- #[Column]
- $name: 'seller_name_2'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerPhone
protected
string|null
$sellerPhone
= null
Attributes
- #[Column]
- $name: 'seller_phone'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerPostcode
protected
string|null
$sellerPostcode
= null
Attributes
- #[Column]
- $name: 'seller_postcode'
- $type: 'string'
- $length: 20
- $nullable: true
$sellerRegNo
protected
string|null
$sellerRegNo
= null
Attributes
- #[Column]
- $name: 'seller_reg_no'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerStreet
protected
string|null
$sellerStreet
= null
Attributes
- #[Column]
- $name: 'seller_street'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerVatId
protected
string|null
$sellerVatId
= null
Attributes
- #[Column]
- $name: 'seller_vat_id'
- $type: 'string'
- $length: 255
- $nullable: true
$sellerVatInformations
protected
string|null
$sellerVatInformations
= null
Attributes
- #[Column]
- $name: 'seller_vat_informations'
- $type: 'text'
- $nullable: true
$sendEmail
protected
bool
$sendEmail
= false
Attributes
- #[Column]
- $name: 'send_email'
- $type: 'boolean'
$shippers
protected
Collection
$shippers
Attributes
- #[OneToMany]
- $targetEntity: \App\UI\Api\Invoicer\Models\Entities\InvoiceTemplateShipper::class
- $mappedBy: 'invoiceTemplate'
- $cascade: ["persist", "remove"]
- $orphanRemoval: true
$signature
protected
string|null
$signature
= null
Attributes
- #[Column]
- $name: 'signature'
- $type: 'text'
- $nullable: true
$specificSymbol
protected
string|null
$specificSymbol
= null
Attributes
- #[Column]
- $name: 'specific_symbol'
- $type: 'string'
- $length: 255
- $nullable: true
$swift
protected
string|null
$swift
= null
Attributes
- #[Column]
- $name: 'swift'
- $type: 'string'
- $length: 255
- $nullable: true
$totalPrice
protected
string|null
$totalPrice
= null
Attributes
- #[Column]
- $name: 'total_price'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$totalPriceWithVat
protected
string|null
$totalPriceWithVat
= null
Attributes
- #[Column]
- $name: 'total_price_with_vat'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$useDeliveryAddress
protected
bool
$useDeliveryAddress
= false
Attributes
- #[Column]
- $name: 'use_delivery_address'
- $type: 'boolean'
$userTypeId
protected
int|null
$userTypeId
= null
Attributes
- #[Column]
- $name: 'cms_system_user_types_user_type_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$useVat
protected
bool
$useVat
= false
Attributes
- #[Column]
- $name: 'use_vat'
- $type: 'boolean'
$variableSymbol
protected
string|null
$variableSymbol
= null
Attributes
- #[Column]
- $name: 'variable_symbol'
- $type: 'string'
- $length: 255
- $nullable: true
$vouchers
protected
Collection
$vouchers
Attributes
- #[OneToMany]
- $targetEntity: \App\UI\Api\Invoicer\Models\Entities\InvoiceTemplateVoucher::class
- $mappedBy: 'invoiceTemplate'
- $cascade: ["persist", "remove"]
- $orphanRemoval: true
Methods
__construct()
public
__construct([int|null $id = null ][, int|null $billingLineId = null ][, int|null $productTypeId = null ][, int|null $invoiceTypeId = null ][, int|null $pdfTemplateId = null ][, int|null $pdfTemplateVariantId = null ][, string|null $variableSymbol = null ][, string|null $constantSymbol = null ][, string|null $specificSymbol = null ][, DateTime $insertDatetime = new DateTime() ][, int|null $sellerId = null ][, int|null $sellerContactId = null ][, string|null $sellerName = null ][, string|null $sellerName2 = null ][, string|null $sellerEmail = null ][, string|null $sellerPhone = null ][, string|null $sellerRegNo = null ][, string|null $sellerVatId = null ][, string|null $sellerStreet = null ][, string|null $sellerCity = null ][, string|null $sellerPostcode = null ][, string|null $sellerCountry = null ][, string|null $sellerInformations = null ][, string|null $sellerVatInformations = null ][, int|null $customerId = null ][, int|null $customerContactId = null ][, string|null $customerName = null ][, string|null $customerName2 = null ][, string|null $customerEmail = null ][, string|null $customerPhone = null ][, string|null $customerRegNo = null ][, string|null $customerVatId = null ][, string|null $customerStreet = null ][, string|null $customerCity = null ][, string|null $customerPostcode = null ][, string|null $customerCountry = null ][, string|null $customerInformations = null ][, string|null $customerVatInformations = null ][, bool $useDeliveryAddress = false ][, int|null $customerId2 = null ][, int|null $customerContactId2 = null ][, int|null $userTypeId = null ][, string|null $customerDlvName = null ][, string|null $customerDlvName2 = null ][, string|null $customerDlvStreet = null ][, string|null $customerDlvCity = null ][, string|null $customerDlvPostcode = null ][, string|null $customerDlvCountry = null ][, string|null $customerDlvInformations = null ][, int|null $paymentMethodId = null ][, int|null $paymentRegionId = null ][, int|null $languageId = null ][, int|null $currencyId = null ][, bool $useVat = false ][, int|null $sellerBankAccountId = null ][, string|null $bankName = null ][, string|null $bankAccount = null ][, string|null $iban = null ][, string|null $swift = null ][, string|null $informations = null ][, string|null $totalPrice = null ][, string|null $totalPriceWithVat = null ][, string|null $rounding = null ][, string|null $roundingWithVat = null ][, string|null $roundedTotalPrice = null ][, string|null $roundedTotalPriceWithVat = null ][, string|null $signature = null ][, bool $sendEmail = false ][, string|null $emailTo = null ][, string|null $emailSubject = null ][, string|null $emailBody = null ][, int|null $orderId = null ][, string|null $name = null ][, Collection $items = new ArrayCollection() ][, Collection $gifts = new ArrayCollection() ][, Collection $vouchers = new ArrayCollection() ][, Collection $shippers = new ArrayCollection() ][, Collection $paymentMethods = new ArrayCollection() ][, mixed $localization = null ][, int|null $localizationId = null ]) : mixed
Parameters
- $id : int|null = null
- $billingLineId : int|null = null
- $productTypeId : int|null = null
- $invoiceTypeId : int|null = null
- $pdfTemplateId : int|null = null
- $pdfTemplateVariantId : int|null = null
- $variableSymbol : string|null = null
- $constantSymbol : string|null = null
- $specificSymbol : string|null = null
- $insertDatetime : DateTime = new DateTime()
- $sellerId : int|null = null
- $sellerContactId : int|null = null
- $sellerName : string|null = null
- $sellerName2 : string|null = null
- $sellerEmail : string|null = null
- $sellerPhone : string|null = null
- $sellerRegNo : string|null = null
- $sellerVatId : string|null = null
- $sellerStreet : string|null = null
- $sellerCity : string|null = null
- $sellerPostcode : string|null = null
- $sellerCountry : string|null = null
- $sellerInformations : string|null = null
- $sellerVatInformations : string|null = null
- $customerId : int|null = null
- $customerContactId : int|null = null
- $customerName : string|null = null
- $customerName2 : string|null = null
- $customerEmail : string|null = null
- $customerPhone : string|null = null
- $customerRegNo : string|null = null
- $customerVatId : string|null = null
- $customerStreet : string|null = null
- $customerCity : string|null = null
- $customerPostcode : string|null = null
- $customerCountry : string|null = null
- $customerInformations : string|null = null
- $customerVatInformations : string|null = null
- $useDeliveryAddress : bool = false
- $customerId2 : int|null = null
- $customerContactId2 : int|null = null
- $userTypeId : int|null = null
- $customerDlvName : string|null = null
- $customerDlvName2 : string|null = null
- $customerDlvStreet : string|null = null
- $customerDlvCity : string|null = null
- $customerDlvPostcode : string|null = null
- $customerDlvCountry : string|null = null
- $customerDlvInformations : string|null = null
- $paymentMethodId : int|null = null
- $paymentRegionId : int|null = null
- $languageId : int|null = null
- $currencyId : int|null = null
- $useVat : bool = false
- $sellerBankAccountId : int|null = null
- $bankName : string|null = null
- $bankAccount : string|null = null
- $iban : string|null = null
- $swift : string|null = null
- $informations : string|null = null
- $totalPrice : string|null = null
- $totalPriceWithVat : string|null = null
- $rounding : string|null = null
- $roundingWithVat : string|null = null
- $roundedTotalPrice : string|null = null
- $roundedTotalPriceWithVat : string|null = null
- $signature : string|null = null
- $sendEmail : bool = false
- $emailTo : string|null = null
- $emailSubject : string|null = null
- $emailBody : string|null = null
- $orderId : int|null = null
- $name : string|null = null
- $items : Collection = new ArrayCollection()
- $gifts : Collection = new ArrayCollection()
- $vouchers : Collection = new ArrayCollection()
- $shippers : Collection = new ArrayCollection()
- $paymentMethods : Collection = new ArrayCollection()
- $localization : mixed = null
- $localizationId : int|null = null
addGift()
public
addGift(TGift $gift) : $this
Parameters
- $gift : TGift
Return values
$thisaddItem()
public
addItem(TItem $item) : $this
Parameters
- $item : TItem
Return values
$thisaddPaymentMethod()
public
addPaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
- $paymentMethod : TPaymentMethod
Return values
$thisaddShipper()
public
addShipper(TShipper $shipper) : $this
Parameters
- $shipper : TShipper
Return values
$thisaddVoucher()
public
addVoucher(TVoucher $voucher) : $this
Parameters
- $voucher : TVoucher
Return values
$thiscallInitMethods()
Calls `init{TraitName}()` for every used trait that defines such a method.
public
callInitMethods() : void
clearGifts()
public
clearGifts() : $this
Return values
$thisclearItems()
public
clearItems() : $this
Return values
$thisclearPaymentMethods()
public
clearPaymentMethods() : $this
Return values
$thisclearShippers()
public
clearShippers() : $this
Return values
$thisclearVouchers()
public
clearVouchers() : $this
Return values
$thisgetAllTraits()
Returns all traits the class uses, including those used by parent classes and nested traits.
public
getAllTraits() : array<string, string>
Return values
array<string, string>getBankAccount()
public
getBankAccount() : string|null
Return values
string|nullgetBankName()
public
getBankName() : string|null
Return values
string|nullgetBillingLineId()
public
getBillingLineId() : int|null
Return values
int|nullgetConstantSymbol()
public
getConstantSymbol() : string|null
Return values
string|nullgetCurrencyId()
public
getCurrencyId() : int|null
Return values
int|nullgetCustomerCity()
public
getCustomerCity() : string|null
Return values
string|nullgetCustomerContactId()
public
getCustomerContactId() : int|null
Return values
int|nullgetCustomerContactId2()
public
getCustomerContactId2() : int|null
Return values
int|nullgetCustomerCountry()
public
getCustomerCountry() : string|null
Return values
string|nullgetCustomerDlvCity()
public
getCustomerDlvCity() : string|null
Return values
string|nullgetCustomerDlvCountry()
public
getCustomerDlvCountry() : string|null
Return values
string|nullgetCustomerDlvInformations()
public
getCustomerDlvInformations() : string|null
Return values
string|nullgetCustomerDlvName()
public
getCustomerDlvName() : string|null
Return values
string|nullgetCustomerDlvName2()
public
getCustomerDlvName2() : string|null
Return values
string|nullgetCustomerDlvPostcode()
public
getCustomerDlvPostcode() : string|null
Return values
string|nullgetCustomerDlvStreet()
public
getCustomerDlvStreet() : string|null
Return values
string|nullgetCustomerEmail()
public
getCustomerEmail() : string|null
Return values
string|nullgetCustomerId()
public
getCustomerId() : int|null
Return values
int|nullgetCustomerId2()
public
getCustomerId2() : int|null
Return values
int|nullgetCustomerInformations()
public
getCustomerInformations() : string|null
Return values
string|nullgetCustomerName()
public
getCustomerName() : string|null
Return values
string|nullgetCustomerName2()
public
getCustomerName2() : string|null
Return values
string|nullgetCustomerPhone()
public
getCustomerPhone() : string|null
Return values
string|nullgetCustomerPostcode()
public
getCustomerPostcode() : string|null
Return values
string|nullgetCustomerRegNo()
public
getCustomerRegNo() : string|null
Return values
string|nullgetCustomerStreet()
public
getCustomerStreet() : string|null
Return values
string|nullgetCustomerVatId()
public
getCustomerVatId() : string|null
Return values
string|nullgetCustomerVatInformations()
public
getCustomerVatInformations() : string|null
Return values
string|nullgetEmailBody()
public
getEmailBody() : string|null
Return values
string|nullgetEmailSubject()
public
getEmailSubject() : string|null
Return values
string|nullgetEmailTo()
public
getEmailTo() : string|null
Return values
string|nullgetGift()
public
getGift(int $giftId) : TGift|null
Parameters
- $giftId : int
Return values
TGift|nullgetGifts()
public
getGifts() : Collection<int, TGift>
Return values
Collection<int, TGift>getIban()
public
getIban() : string|null
Return values
string|nullgetId()
public
getId() : int|null
Return values
int|nullgetInformations()
public
getInformations() : string|null
Return values
string|nullgetInsertDatetime()
public
getInsertDatetime() : DateTime
Return values
DateTimegetInvoiceTypeId()
public
getInvoiceTypeId() : int|null
Return values
int|nullgetItem()
public
getItem(int $itemId) : TItem|null
Parameters
- $itemId : int
Return values
TItem|nullgetItems()
public
getItems() : Collection<int, TItem>
Return values
Collection<int, TItem>getLanguageId()
public
getLanguageId() : int|null
Return values
int|nullgetLocalization()
public
getLocalization() : object|null
Return values
object|nullgetLocalizationId()
The object wins over the scalar (a freshly set localization beats the mirror loaded from the DB), but `$localization` is an untyped `object`, hence the guard instead of a plain `?->getId()`. Without it PHPStan reports `object::getId()` and a foreign object in the association would fail at runtime.
public
getLocalizationId() : int|null
Return values
int|nullgetName()
public
getName() : string|null
Return values
string|nullgetOrderId()
public
getOrderId() : int|null
Return values
int|nullgetPaymentMethodId()
public
getPaymentMethodId() : int|null
Return values
int|nullgetPaymentMethods()
public
getPaymentMethods() : Collection<int, TPaymentMethod>
Return values
Collection<int, TPaymentMethod>getPaymentRegionId()
public
getPaymentRegionId() : int|null
Return values
int|nullgetPdfTemplateId()
public
getPdfTemplateId() : int|null
Return values
int|nullgetPdfTemplateVariantId()
public
getPdfTemplateVariantId() : int|null
Return values
int|nullgetProductTypeId()
public
getProductTypeId() : int|null
Return values
int|nullgetRoundedTotalPrice()
public
getRoundedTotalPrice() : string|null
Return values
string|nullgetRoundedTotalPriceWithVat()
public
getRoundedTotalPriceWithVat() : string|null
Return values
string|nullgetRounding()
public
getRounding() : string|null
Return values
string|nullgetRoundingWithVat()
public
getRoundingWithVat() : string|null
Return values
string|nullgetSellerBankAccountId()
public
getSellerBankAccountId() : int|null
Return values
int|nullgetSellerCity()
public
getSellerCity() : string|null
Return values
string|nullgetSellerContactId()
public
getSellerContactId() : int|null
Return values
int|nullgetSellerCountry()
public
getSellerCountry() : string|null
Return values
string|nullgetSellerEmail()
public
getSellerEmail() : string|null
Return values
string|nullgetSellerId()
public
getSellerId() : int|null
Return values
int|nullgetSellerInformations()
public
getSellerInformations() : string|null
Return values
string|nullgetSellerName()
public
getSellerName() : string|null
Return values
string|nullgetSellerName2()
public
getSellerName2() : string|null
Return values
string|nullgetSellerPhone()
public
getSellerPhone() : string|null
Return values
string|nullgetSellerPostcode()
public
getSellerPostcode() : string|null
Return values
string|nullgetSellerRegNo()
public
getSellerRegNo() : string|null
Return values
string|nullgetSellerStreet()
public
getSellerStreet() : string|null
Return values
string|nullgetSellerVatId()
public
getSellerVatId() : string|null
Return values
string|nullgetSellerVatInformations()
public
getSellerVatInformations() : string|null
Return values
string|nullgetSendEmail()
public
getSendEmail() : bool
Return values
boolgetShippers()
public
getShippers() : Collection<int, TShipper>
Return values
Collection<int, TShipper>getSignature()
public
getSignature() : string|null
Return values
string|nullgetSpecificSymbol()
public
getSpecificSymbol() : string|null
Return values
string|nullgetSwift()
public
getSwift() : string|null
Return values
string|nullgetTotalPrice()
public
getTotalPrice() : string|null
Return values
string|nullgetTotalPriceWithVat()
public
getTotalPriceWithVat() : string|null
Return values
string|nullgetUseDeliveryAddress()
public
getUseDeliveryAddress() : bool
Return values
boolgetUserTypeId()
public
getUserTypeId() : int|null
Return values
int|nullgetUseVat()
public
getUseVat() : bool
Return values
boolgetVariableSymbol()
public
getVariableSymbol() : string|null
Return values
string|nullgetVoucher()
public
getVoucher(int $voucherId) : TVoucher|null
Parameters
- $voucherId : int
Return values
TVoucher|nullgetVouchers()
public
getVouchers() : Collection<int, TVoucher>
Return values
Collection<int, TVoucher>giftCollectionInit()
public
giftCollectionInit() : void
isPersisted()
public
isPersisted() : bool
Return values
boolisSendEmail()
public
isSendEmail() : bool
Return values
boolisUseDeliveryAddress()
public
isUseDeliveryAddress() : bool
Return values
boolisUseVat()
public
isUseVat() : bool
Return values
boolitemCollectionInit()
public
itemCollectionInit() : void
paymentMethodCollectionInit()
public
paymentMethodCollectionInit() : void
removeGift()
public
removeGift(TGift $gift) : $this
Parameters
- $gift : TGift
Return values
$thisremoveItem()
public
removeItem(TItem $item) : $this
Parameters
- $item : TItem
Return values
$thisremovePaymentMethod()
public
removePaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
- $paymentMethod : TPaymentMethod
Return values
$thisremoveShipper()
public
removeShipper(TShipper $shipper) : $this
Parameters
- $shipper : TShipper
Return values
$thisremoveVoucher()
public
removeVoucher(TVoucher $voucher) : $this
Parameters
- $voucher : TVoucher
Return values
$thissetBankAccount()
public
setBankAccount(string|null $bankAccount) : $this
Parameters
- $bankAccount : string|null
Return values
$thissetBankName()
public
setBankName(string|null $bankName) : $this
Parameters
- $bankName : string|null
Return values
$thissetBillingLineId()
public
setBillingLineId(int|null $billingLineId) : $this
Parameters
- $billingLineId : int|null
Return values
$thissetConstantSymbol()
public
setConstantSymbol(string|null $constantSymbol) : $this
Parameters
- $constantSymbol : string|null
Return values
$thissetCurrencyId()
public
setCurrencyId(int|null $currencyId) : $this
Parameters
- $currencyId : int|null
Return values
$thissetCustomerCity()
public
setCustomerCity(string|null $customerCity) : $this
Parameters
- $customerCity : string|null
Return values
$thissetCustomerContactId()
public
setCustomerContactId(int|null $customerContactId) : $this
Parameters
- $customerContactId : int|null
Return values
$thissetCustomerContactId2()
public
setCustomerContactId2(int|null $customerContactId2) : $this
Parameters
- $customerContactId2 : int|null
Return values
$thissetCustomerCountry()
public
setCustomerCountry(string|null $customerCountry) : $this
Parameters
- $customerCountry : string|null
Return values
$thissetCustomerDlvCity()
public
setCustomerDlvCity(string|null $customerDlvCity) : $this
Parameters
- $customerDlvCity : string|null
Return values
$thissetCustomerDlvCountry()
public
setCustomerDlvCountry(string|null $customerDlvCountry) : $this
Parameters
- $customerDlvCountry : string|null
Return values
$thissetCustomerDlvInformations()
public
setCustomerDlvInformations(string|null $customerDlvInformations) : $this
Parameters
- $customerDlvInformations : string|null
Return values
$thissetCustomerDlvName()
public
setCustomerDlvName(string|null $customerDlvName) : $this
Parameters
- $customerDlvName : string|null
Return values
$thissetCustomerDlvName2()
public
setCustomerDlvName2(string|null $customerDlvName2) : $this
Parameters
- $customerDlvName2 : string|null
Return values
$thissetCustomerDlvPostcode()
public
setCustomerDlvPostcode(string|null $customerDlvPostcode) : $this
Parameters
- $customerDlvPostcode : string|null
Return values
$thissetCustomerDlvStreet()
public
setCustomerDlvStreet(string|null $customerDlvStreet) : $this
Parameters
- $customerDlvStreet : string|null
Return values
$thissetCustomerEmail()
public
setCustomerEmail(string|null $customerEmail) : $this
Parameters
- $customerEmail : string|null
Return values
$thissetCustomerId()
public
setCustomerId(int|null $customerId) : $this
Parameters
- $customerId : int|null
Return values
$thissetCustomerId2()
public
setCustomerId2(int|null $customerId2) : $this
Parameters
- $customerId2 : int|null
Return values
$thissetCustomerInformations()
public
setCustomerInformations(string|null $customerInformations) : $this
Parameters
- $customerInformations : string|null
Return values
$thissetCustomerName()
public
setCustomerName(string|null $customerName) : $this
Parameters
- $customerName : string|null
Return values
$thissetCustomerName2()
public
setCustomerName2(string|null $customerName2) : $this
Parameters
- $customerName2 : string|null
Return values
$thissetCustomerPhone()
public
setCustomerPhone(string|null $customerPhone) : $this
Parameters
- $customerPhone : string|null
Return values
$thissetCustomerPostcode()
public
setCustomerPostcode(string|null $customerPostcode) : $this
Parameters
- $customerPostcode : string|null
Return values
$thissetCustomerRegNo()
public
setCustomerRegNo(string|null $customerRegNo) : $this
Parameters
- $customerRegNo : string|null
Return values
$thissetCustomerStreet()
public
setCustomerStreet(string|null $customerStreet) : $this
Parameters
- $customerStreet : string|null
Return values
$thissetCustomerVatId()
public
setCustomerVatId(string|null $customerVatId) : $this
Parameters
- $customerVatId : string|null
Return values
$thissetCustomerVatInformations()
public
setCustomerVatInformations(string|null $customerVatInformations) : $this
Parameters
- $customerVatInformations : string|null
Return values
$thissetEmailBody()
public
setEmailBody(string|null $emailBody) : $this
Parameters
- $emailBody : string|null
Return values
$thissetEmailSubject()
public
setEmailSubject(string|null $emailSubject) : $this
Parameters
- $emailSubject : string|null
Return values
$thissetEmailTo()
public
setEmailTo(string|null $emailTo) : $this
Parameters
- $emailTo : string|null
Return values
$thissetGifts()
public
setGifts(Collection<int, TGift>|array<int, TGift> $gifts) : $this
Parameters
- $gifts : Collection<int, TGift>|array<int, TGift>
Return values
$thissetIban()
public
setIban(string|null $iban) : $this
Parameters
- $iban : string|null
Return values
$thissetId()
public
setId(int|null $id) : $this
Parameters
- $id : int|null
Return values
$thissetInformations()
public
setInformations(string|null $informations) : $this
Parameters
- $informations : string|null
Return values
$thissetInsertDatetime()
public
setInsertDatetime(DateTime $insertDatetime) : $this
Parameters
- $insertDatetime : DateTime
Return values
$thissetInvoiceTypeId()
public
setInvoiceTypeId(int|null $invoiceTypeId) : $this
Parameters
- $invoiceTypeId : int|null
Return values
$thissetItems()
public
setItems(Collection<int, TItem>|array<int, TItem> $items) : $this
Parameters
- $items : Collection<int, TItem>|array<int, TItem>
Return values
$thissetLanguageId()
public
setLanguageId(int|null $languageId) : $this
Parameters
- $languageId : int|null
Return values
$thissetLocalization()
IMPORTANT: deliberately without the side effect `$this->localizationId = $localization?->getId()`.
public
setLocalization(object|null $localization) : $this
With two-phase hydration the setter runs before the shell gets its id and would overwrite the correctly loaded read-only scalar with null.
Parameters
- $localization : object|null
Return values
$thissetLocalizationId()
The FK mirror is set by the form together with the association: Api `resolveRelations()` fills a null association from the mirror (entity loaded without include), so clearing the localization must not carry the old mirror over. In the DB the column is written only through the association.
public
setLocalizationId(int|null $localizationId) : $this
Parameters
- $localizationId : int|null
Return values
$thissetName()
public
setName(string|null $name) : $this
Parameters
- $name : string|null
Return values
$thissetOrderId()
public
setOrderId(int|null $orderId) : $this
Parameters
- $orderId : int|null
Return values
$thissetPaymentMethodId()
public
setPaymentMethodId(int|null $paymentMethodId) : $this
Parameters
- $paymentMethodId : int|null
Return values
$thissetPaymentMethods()
public
setPaymentMethods(Collection<int, TPaymentMethod>|array<int, TPaymentMethod> $paymentMethods) : $this
Parameters
- $paymentMethods : Collection<int, TPaymentMethod>|array<int, TPaymentMethod>
Return values
$thissetPaymentRegionId()
public
setPaymentRegionId(int|null $paymentRegionId) : $this
Parameters
- $paymentRegionId : int|null
Return values
$thissetPdfTemplateId()
public
setPdfTemplateId(int|null $pdfTemplateId) : $this
Parameters
- $pdfTemplateId : int|null
Return values
$thissetPdfTemplateVariantId()
public
setPdfTemplateVariantId(int|null $pdfTemplateVariantId) : $this
Parameters
- $pdfTemplateVariantId : int|null
Return values
$thissetProductTypeId()
public
setProductTypeId(int|null $productTypeId) : $this
Parameters
- $productTypeId : int|null
Return values
$thissetRoundedTotalPrice()
public
setRoundedTotalPrice(string|null $roundedTotalPrice) : $this
Parameters
- $roundedTotalPrice : string|null
Return values
$thissetRoundedTotalPriceWithVat()
public
setRoundedTotalPriceWithVat(string|null $roundedTotalPriceWithVat) : $this
Parameters
- $roundedTotalPriceWithVat : string|null
Return values
$thissetRounding()
public
setRounding(string|null $rounding) : $this
Parameters
- $rounding : string|null
Return values
$thissetRoundingWithVat()
public
setRoundingWithVat(string|null $roundingWithVat) : $this
Parameters
- $roundingWithVat : string|null
Return values
$thissetSellerBankAccountId()
public
setSellerBankAccountId(int|null $sellerBankAccountId) : $this
Parameters
- $sellerBankAccountId : int|null
Return values
$thissetSellerCity()
public
setSellerCity(string|null $sellerCity) : $this
Parameters
- $sellerCity : string|null
Return values
$thissetSellerContactId()
public
setSellerContactId(int|null $sellerContactId) : $this
Parameters
- $sellerContactId : int|null
Return values
$thissetSellerCountry()
public
setSellerCountry(string|null $sellerCountry) : $this
Parameters
- $sellerCountry : string|null
Return values
$thissetSellerEmail()
public
setSellerEmail(string|null $sellerEmail) : $this
Parameters
- $sellerEmail : string|null
Return values
$thissetSellerId()
public
setSellerId(int|null $sellerId) : $this
Parameters
- $sellerId : int|null
Return values
$thissetSellerInformations()
public
setSellerInformations(string|null $sellerInformations) : $this
Parameters
- $sellerInformations : string|null
Return values
$thissetSellerName()
public
setSellerName(string|null $sellerName) : $this
Parameters
- $sellerName : string|null
Return values
$thissetSellerName2()
public
setSellerName2(string|null $sellerName2) : $this
Parameters
- $sellerName2 : string|null
Return values
$thissetSellerPhone()
public
setSellerPhone(string|null $sellerPhone) : $this
Parameters
- $sellerPhone : string|null
Return values
$thissetSellerPostcode()
public
setSellerPostcode(string|null $sellerPostcode) : $this
Parameters
- $sellerPostcode : string|null
Return values
$thissetSellerRegNo()
public
setSellerRegNo(string|null $sellerRegNo) : $this
Parameters
- $sellerRegNo : string|null
Return values
$thissetSellerStreet()
public
setSellerStreet(string|null $sellerStreet) : $this
Parameters
- $sellerStreet : string|null
Return values
$thissetSellerVatId()
public
setSellerVatId(string|null $sellerVatId) : $this
Parameters
- $sellerVatId : string|null
Return values
$thissetSellerVatInformations()
public
setSellerVatInformations(string|null $sellerVatInformations) : $this
Parameters
- $sellerVatInformations : string|null
Return values
$thissetSendEmail()
public
setSendEmail(bool $sendEmail) : $this
Parameters
- $sendEmail : bool
Return values
$thissetShippers()
public
setShippers(Collection<int, TShipper>|array<int, TShipper> $shippers) : $this
Parameters
- $shippers : Collection<int, TShipper>|array<int, TShipper>
Return values
$thissetSignature()
public
setSignature(string|null $signature) : $this
Parameters
- $signature : string|null
Return values
$thissetSpecificSymbol()
public
setSpecificSymbol(string|null $specificSymbol) : $this
Parameters
- $specificSymbol : string|null
Return values
$thissetSwift()
public
setSwift(string|null $swift) : $this
Parameters
- $swift : string|null
Return values
$thissetTotalPrice()
public
setTotalPrice(string|null $totalPrice) : $this
Parameters
- $totalPrice : string|null
Return values
$thissetTotalPriceWithVat()
public
setTotalPriceWithVat(string|null $totalPriceWithVat) : $this
Parameters
- $totalPriceWithVat : string|null
Return values
$thissetUseDeliveryAddress()
public
setUseDeliveryAddress(bool $useDeliveryAddress) : $this
Parameters
- $useDeliveryAddress : bool
Return values
$thissetUserTypeId()
public
setUserTypeId(int|null $userTypeId) : $this
Parameters
- $userTypeId : int|null
Return values
$thissetUseVat()
public
setUseVat(bool $useVat) : $this
Parameters
- $useVat : bool
Return values
$thissetVariableSymbol()
public
setVariableSymbol(string|null $variableSymbol) : $this
Parameters
- $variableSymbol : string|null
Return values
$thissetVouchers()
public
setVouchers(Collection<int, TVoucher>|array<int, TVoucher> $vouchers) : $this
Parameters
- $vouchers : Collection<int, TVoucher>|array<int, TVoucher>
Return values
$thisshipperCollectionInit()
public
shipperCollectionInit() : void
voucherCollectionInit()
public
voucherCollectionInit() : void
getTraitsRecursive()
Walks the trait list recursively and collects nested traits too.
private
static getTraitsRecursive(array<string, string> $traits) : array<string, string>
Parameters
- $traits : array<string, string>