Payment
extends Payment
in package
Attributes
- #[Entity]
- #[Table]
- $name: 'cms_system_payments'
- #[TableAlias]
- 'payment'
Table of Contents
Constants
- TAX_MARKER_CREDIT_REDEMPTION : string = 'CREDIT_REDEMPTION'
- TAX_MARKER_INTERMEDIARY : string = 'INTERMEDIARY'
- Values of `tax_treatment` that are not invoice codes: the payment bypasses the tax engine and the customer gets no invoice.
- TAX_MARKERS_WITHOUT_INVOICE : array<string|int, mixed> = [self::TAX_MARKER_INTERMEDIARY, self::TAX_MARKE...
Properties
- $callback : string|null
- $cancelUrl : string|null
- $code : string|null
- $countryCode : string|null
- $currencyId : int|null
- $customerVatIdCheckId : int|null
- Applied VAT id check (`cms_system_vat_id_checks`): consultation number or manual proof.
- $customerVatIdOutageCheckId : int|null
- Record of a VIES outage on the supply date.
- $customerVatIdVerified : bool|null
- Null means the VAT id does not matter (empty or domestic); false is unverified; true is verified.
- $customerVatIdVerifiedAt : DateTime|null
- $description : string
- $email : string|null
- $encryptedSignature : string|null
- $gatewayPaymentId : string|null
- $id : int|null
- $insertDatetime : DateTime
- $invoicedStatus : int|null
- $ip : string|null
- $localization : object|null
- Invoice localization: number and currency formatting is taken from here, not from the current request.
- $name : string|null
- $notifyUrl : string|null
- $paymentCallbackId : int|null
- $paymentDatetime : DateTime|null
- $paymentEetId : int|null
- $paymentGateFeePercents : int
- $paymentGateFeePercentsPrice : string
- $paymentGateFeePrice : string
- $paymentGateFeeTotal : string
- $paymentGateId : int|null
- $paymentRegionId : int|null
- $requirePaymentEet : bool
- $status : int|null
- $successUrl : string|null
- $summaryReportCode : string|null
- Supply code for the summary report (`3` services, `0` goods); null means it is not reported.
- $taxCountryCode : string|null
- Country of the applied rate (null without VAT).
- $taxDate : DateTime|null
- Date of the rate and of the seller status.
- $taxFlags : array<int, string>|null
- $taxNote : string|null
- Note in the document language (plus Czech), resolved at creation.
- $taxTreatment : string|null
- Treatment code; on a payment also the markers `INTERMEDIARY` and `CREDIT_REDEMPTION`.
- $totalPrice : string|null
- $userId : int|null
- $variableSymbol : string|null
Methods
- __construct() : mixed
- callInitMethods() : void
- Calls `init{TraitName}()` for every used trait that defines such a method.
- getAllTraits() : array<string, string>
- Returns all traits the class uses, including those used by parent classes and nested traits.
- getCallback() : string|null
- getCancelUrl() : string|null
- getCode() : string|null
- getCountryCode() : string|null
- getCurrencyId() : int|null
- getCustomerVatIdCheckId() : int|null
- getCustomerVatIdOutageCheckId() : int|null
- getCustomerVatIdVerified() : bool|null
- getCustomerVatIdVerifiedAt() : DateTime|null
- getDescription() : string
- getEmail() : string|null
- getEncryptedSignature() : string|null
- getGatewayPaymentId() : string|null
- getId() : int|null
- getInsertDatetime() : DateTime
- getInvoicedStatus() : int|null
- getIp() : string|null
- getLocalization() : object|null
- getLocalizationId() : int|null
- The object wins over the scalar (a freshly set localization beats the mirror loaded from the database). `$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
- getNotifyUrl() : string|null
- getPaymentCallbackId() : int|null
- getPaymentDatetime() : DateTime|null
- getPaymentEetId() : int|null
- getPaymentGateFeePercents() : int
- getPaymentGateFeePercentsPrice() : string
- getPaymentGateFeePrice() : string
- getPaymentGateFeeTotal() : string
- getPaymentGateId() : int|null
- getPaymentRegionId() : int|null
- getRequirePaymentEet() : bool
- getStatus() : int|null
- getSuccessUrl() : string|null
- getSummaryReportCode() : string|null
- getTaxCountryCode() : string|null
- getTaxDate() : DateTime|null
- getTaxFlags() : array<int, string>|null
- getTaxNote() : string|null
- getTaxTreatment() : string|null
- getTotalPrice() : string|null
- getUserId() : int|null
- getVariableSymbol() : string|null
- hasTaxFlag() : bool
- isPersisted() : bool
- isRequirePaymentEet() : bool
- setCallback() : $this
- setCancelUrl() : $this
- setCode() : $this
- setCountryCode() : $this
- setCurrencyId() : $this
- setCustomerVatIdCheckId() : static
- setCustomerVatIdOutageCheckId() : static
- setCustomerVatIdVerified() : static
- setCustomerVatIdVerifiedAt() : static
- setDescription() : $this
- setEmail() : $this
- setEncryptedSignature() : $this
- setGatewayPaymentId() : $this
- setId() : $this
- setInsertDatetime() : $this
- setInvoicedStatus() : $this
- setIp() : $this
- setLocalization() : $this
- IMPORTANT: deliberately does not set `$this->localizationId = $localization?->getId()`.
- setName() : $this
- setNotifyUrl() : $this
- setPaymentCallbackId() : $this
- setPaymentDatetime() : $this
- setPaymentEetId() : $this
- setPaymentGateFeePercents() : $this
- setPaymentGateFeePercentsPrice() : $this
- setPaymentGateFeePrice() : $this
- setPaymentGateFeeTotal() : $this
- setPaymentGateId() : $this
- setPaymentRegionId() : $this
- setRequirePaymentEet() : $this
- setStatus() : $this
- setSuccessUrl() : $this
- setSummaryReportCode() : static
- setTaxCountryCode() : static
- setTaxDate() : static
- setTaxFlags() : static
- setTaxNote() : static
- setTaxTreatment() : static
- setTotalPrice() : $this
- setUserId() : $this
- setVariableSymbol() : $this
- getTraitsRecursive() : array<string, string>
- Walks the trait list recursively and collects nested traits too.
Constants
TAX_MARKER_CREDIT_REDEMPTION
public
string
TAX_MARKER_CREDIT_REDEMPTION
= 'CREDIT_REDEMPTION'
TAX_MARKER_INTERMEDIARY
Values of `tax_treatment` that are not invoice codes: the payment bypasses the tax engine and the customer gets no invoice.
public
string
TAX_MARKER_INTERMEDIARY
= 'INTERMEDIARY'
INTERMEDIARY: gateintermediary_supply; the intermediary billed the service to the customer in its own name (art. 9a), the invoice goes to the aggregator manually,CREDIT_REDEMPTION: payment by credits (non-monetary currency), redemption of a single-purpose voucher already taxed at purchase.
TAX_MARKERS_WITHOUT_INVOICE
public
array<string|int, mixed>
TAX_MARKERS_WITHOUT_INVOICE
= [self::TAX_MARKER_INTERMEDIARY, self::TAX_MARKER_CREDIT_REDEMPTION]
Properties
$callback
protected
string|null
$callback
= null
Attributes
- #[Column]
- $name: 'callback'
- $type: 'string'
- $length: 45
- $nullable: true
$cancelUrl
protected
string|null
$cancelUrl
= null
Attributes
- #[Column]
- $name: 'cancel_url'
- $type: 'text'
- $nullable: true
$code
protected
string|null
$code
= null
Attributes
- #[Column]
- $name: 'code'
- $type: 'string'
- $length: 40
- $nullable: true
$countryCode
protected
string|null
$countryCode
= null
Attributes
- #[Column]
- $name: 'country_code'
- $type: 'string'
- $length: 2
- $nullable: true
- $options: ['fixed' => true]
$currencyId
protected
int|null
$currencyId
= null
Attributes
- #[Column]
- $name: 'cms_system_currencies_currency_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerVatIdCheckId
Applied VAT id check (`cms_system_vat_id_checks`): consultation number or manual proof.
protected
int|null
$customerVatIdCheckId
= null
Attributes
- #[Column]
- $name: 'customer_vat_id_check_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerVatIdOutageCheckId
Record of a VIES outage on the supply date.
protected
int|null
$customerVatIdOutageCheckId
= null
Attributes
- #[Column]
- $name: 'customer_vat_id_outage_check_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$customerVatIdVerified
Null means the VAT id does not matter (empty or domestic); false is unverified; true is verified.
protected
bool|null
$customerVatIdVerified
= null
Attributes
- #[Column]
- $name: 'customer_vat_id_verified'
- $type: 'boolean'
- $nullable: true
$customerVatIdVerifiedAt
protected
DateTime|null
$customerVatIdVerifiedAt
= null
Attributes
- #[Column]
- $name: 'customer_vat_id_verified_at'
- $type: 'datetime'
- $nullable: true
$description
protected
string
$description
= ''
Attributes
- #[Column]
- $name: 'description'
- $type: 'string'
- $length: 255
protected
string|null
$email
= null
Attributes
- #[Column]
- $name: 'email'
- $type: 'string'
- $length: 255
- $nullable: true
$encryptedSignature
protected
string|null
$encryptedSignature
= null
Attributes
- #[Column]
- $name: 'encrypted_signature'
- $type: 'string'
- $length: 255
- $nullable: true
$gatewayPaymentId
protected
string|null
$gatewayPaymentId
= null
Attributes
- #[Column]
- $name: 'gateway_payment_id'
- $type: 'string'
- $length: 255
- $nullable: true
$id
protected
int|null
$id
= null
Attributes
- #[Column]
- $name: 'payment_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[GeneratedValue]
- #[Id]
$insertDatetime
protected
DateTime
$insertDatetime
= new DateTime()
Attributes
- #[Column]
- $name: 'insert_datetime'
- $type: 'datetime'
$invoicedStatus
protected
int|null
$invoicedStatus
= null
Attributes
- #[Column]
- $name: 'invoiced_status'
- $type: 'integer'
- $nullable: true
$ip
protected
string|null
$ip
= null
Attributes
- #[Column]
- $name: 'ip'
- $type: 'string'
- $length: 45
- $nullable: true
- #[PersonalData]
- PersonalDataKind::Hidden
$localization
Invoice localization: number and currency formatting is taken from here, not from the current request.
protected
object|null
$localization
= null
Load it with ->include(['localization']), the same way the currency is loaded.
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
$notifyUrl
protected
string|null
$notifyUrl
= null
Attributes
- #[Column]
- $name: 'notify_url'
- $type: 'text'
- $nullable: true
$paymentCallbackId
protected
int|null
$paymentCallbackId
= null
Attributes
- #[Column]
- $name: 'cms_system_payment_callbacks_callback_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$paymentDatetime
protected
DateTime|null
$paymentDatetime
= null
Attributes
- #[Column]
- $name: 'payment_datetime'
- $type: 'datetime'
- $nullable: true
$paymentEetId
protected
int|null
$paymentEetId
= null
Attributes
- #[Column]
- $name: 'cms_system_payment_eets_payment_eet_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$paymentGateFeePercents
protected
int
$paymentGateFeePercents
= 0
Attributes
- #[Column]
- $name: 'payment_gate_fee_percents'
- $type: 'smallint'
$paymentGateFeePercentsPrice
protected
string
$paymentGateFeePercentsPrice
= '0.000'
Attributes
- #[Column]
- $name: 'payment_gate_fee_percents_price'
- $type: 'decimal'
- $precision: 10
- $scale: 3
$paymentGateFeePrice
protected
string
$paymentGateFeePrice
= '0.000'
Attributes
- #[Column]
- $name: 'payment_gate_fee_price'
- $type: 'decimal'
- $precision: 10
- $scale: 3
$paymentGateFeeTotal
protected
string
$paymentGateFeeTotal
= '0.000'
Attributes
- #[Column]
- $name: 'payment_gate_fee_total'
- $type: 'decimal'
- $precision: 10
- $scale: 3
$paymentGateId
protected
int|null
$paymentGateId
= null
Attributes
- #[Column]
- $name: 'cms_system_payment_gates_payment_gate_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$paymentRegionId
protected
int|null
$paymentRegionId
= null
Attributes
- #[Column]
- $name: 'cms_system_payment_regions_payment_region_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$requirePaymentEet
protected
bool
$requirePaymentEet
= false
Attributes
- #[Column]
- $name: 'require_payment_eet'
- $type: 'boolean'
$status
protected
int|null
$status
= 0
Attributes
- #[Column]
- $name: 'status'
- $type: 'integer'
- $nullable: true
$successUrl
protected
string|null
$successUrl
= null
Attributes
- #[Column]
- $name: 'success_url'
- $type: 'text'
- $nullable: true
$summaryReportCode
Supply code for the summary report (`3` services, `0` goods); null means it is not reported.
protected
string|null
$summaryReportCode
= null
Attributes
- #[Column]
- $name: 'summary_report_code'
- $type: 'string'
- $length: 1
- $nullable: true
- $options: ['fixed' => true]
$taxCountryCode
Country of the applied rate (null without VAT).
protected
string|null
$taxCountryCode
= null
Attributes
- #[Column]
- $name: 'tax_country_code'
- $type: 'string'
- $length: 2
- $nullable: true
- $options: ['fixed' => true]
$taxDate
Date of the rate and of the seller status.
protected
DateTime|null
$taxDate
= null
Attributes
- #[Column]
- $name: 'tax_date'
- $type: 'date'
- $nullable: true
$taxFlags
protected
array<int, string>|null
$taxFlags
= null
TaxFlag codes
Attributes
- #[Column]
- $name: 'tax_flags'
- $type: 'json'
- $nullable: true
$taxNote
Note in the document language (plus Czech), resolved at creation.
protected
string|null
$taxNote
= null
Attributes
- #[Column]
- $name: 'tax_note'
- $type: 'text'
- $nullable: true
$taxTreatment
Treatment code; on a payment also the markers `INTERMEDIARY` and `CREDIT_REDEMPTION`.
protected
string|null
$taxTreatment
= null
Attributes
- #[Column]
- $name: 'tax_treatment'
- $type: 'string'
- $length: 24
- $nullable: true
$totalPrice
protected
string|null
$totalPrice
= null
Attributes
- #[Column]
- $name: 'total_price'
- $type: 'decimal'
- $precision: 10
- $scale: 3
- $nullable: true
$userId
protected
int|null
$userId
= null
Attributes
- #[Column]
- $name: 'cms_system_users_user_id'
- $type: 'integer'
- $nullable: true
- $options: ['unsigned' => true]
$variableSymbol
protected
string|null
$variableSymbol
= null
Attributes
- #[Column]
- $name: 'variable_symbol'
- $type: 'string'
- $length: 50
- $nullable: true
Methods
__construct()
public
__construct([int|null $id = null ][, int|null $currencyId = null ][, string|null $totalPrice = null ][, int|null $paymentGateId = null ][, int|null $userId = null ][, string|null $email = null ][, string|null $code = null ][, string|null $variableSymbol = null ][, string|null $gatewayPaymentId = null ][, string|null $encryptedSignature = null ][, DateTime $insertDatetime = new DateTime() ][, DateTime|null $paymentDatetime = null ][, int|null $status = 0 ][, string|null $name = null ][, string $description = '' ][, string|null $ip = null ][, string|null $successUrl = null ][, string|null $cancelUrl = null ][, string|null $notifyUrl = null ][, string|null $callback = null ][, int|null $paymentCallbackId = null ][, int|null $paymentEetId = null ][, bool $requirePaymentEet = false ][, string $paymentGateFeePrice = '0.000' ][, int $paymentGateFeePercents = 0 ][, string $paymentGateFeeTotal = '0.000' ][, string $paymentGateFeePercentsPrice = '0.000' ][, int|null $paymentRegionId = null ][, string|null $countryCode = null ][, int|null $invoicedStatus = null ][, mixed $localization = null ][, int|null $localizationId = null ]) : mixed
Parameters
- $id : int|null = null
- $currencyId : int|null = null
- $totalPrice : string|null = null
- $paymentGateId : int|null = null
- $userId : int|null = null
- $email : string|null = null
- $code : string|null = null
- $variableSymbol : string|null = null
- $gatewayPaymentId : string|null = null
- $encryptedSignature : string|null = null
- $insertDatetime : DateTime = new DateTime()
- $paymentDatetime : DateTime|null = null
- $status : int|null = 0
- $name : string|null = null
- $description : string = ''
- $ip : string|null = null
- $successUrl : string|null = null
- $cancelUrl : string|null = null
- $notifyUrl : string|null = null
- $callback : string|null = null
- $paymentCallbackId : int|null = null
- $paymentEetId : int|null = null
- $requirePaymentEet : bool = false
- $paymentGateFeePrice : string = '0.000'
- $paymentGateFeePercents : int = 0
- $paymentGateFeeTotal : string = '0.000'
- $paymentGateFeePercentsPrice : string = '0.000'
- $paymentRegionId : int|null = null
- $countryCode : string|null = null
- $invoicedStatus : int|null = null
- $localization : mixed = null
- $localizationId : int|null = null
callInitMethods()
Calls `init{TraitName}()` for every used trait that defines such a method.
public
callInitMethods() : void
getAllTraits()
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>getCallback()
public
getCallback() : string|null
Return values
string|nullgetCancelUrl()
public
getCancelUrl() : string|null
Return values
string|nullgetCode()
public
getCode() : string|null
Return values
string|nullgetCountryCode()
public
getCountryCode() : string|null
Return values
string|nullgetCurrencyId()
public
getCurrencyId() : int|null
Return values
int|nullgetCustomerVatIdCheckId()
public
getCustomerVatIdCheckId() : int|null
Return values
int|nullgetCustomerVatIdOutageCheckId()
public
getCustomerVatIdOutageCheckId() : int|null
Return values
int|nullgetCustomerVatIdVerified()
public
getCustomerVatIdVerified() : bool|null
Return values
bool|nullgetCustomerVatIdVerifiedAt()
public
getCustomerVatIdVerifiedAt() : DateTime|null
Return values
DateTime|nullgetDescription()
public
getDescription() : string
Return values
stringgetEmail()
public
getEmail() : string|null
Return values
string|nullgetEncryptedSignature()
public
getEncryptedSignature() : string|null
Return values
string|nullgetGatewayPaymentId()
public
getGatewayPaymentId() : string|null
Return values
string|nullgetId()
public
getId() : int|null
Return values
int|nullgetInsertDatetime()
public
getInsertDatetime() : DateTime
Return values
DateTimegetInvoicedStatus()
public
getInvoicedStatus() : int|null
Return values
int|nullgetIp()
public
getIp() : string|null
Return values
string|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 database). `$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|nullgetNotifyUrl()
public
getNotifyUrl() : string|null
Return values
string|nullgetPaymentCallbackId()
public
getPaymentCallbackId() : int|null
Return values
int|nullgetPaymentDatetime()
public
getPaymentDatetime() : DateTime|null
Return values
DateTime|nullgetPaymentEetId()
public
getPaymentEetId() : int|null
Return values
int|nullgetPaymentGateFeePercents()
public
getPaymentGateFeePercents() : int
Return values
intgetPaymentGateFeePercentsPrice()
public
getPaymentGateFeePercentsPrice() : string
Return values
stringgetPaymentGateFeePrice()
public
getPaymentGateFeePrice() : string
Return values
stringgetPaymentGateFeeTotal()
public
getPaymentGateFeeTotal() : string
Return values
stringgetPaymentGateId()
public
getPaymentGateId() : int|null
Return values
int|nullgetPaymentRegionId()
public
getPaymentRegionId() : int|null
Return values
int|nullgetRequirePaymentEet()
public
getRequirePaymentEet() : bool
Return values
boolgetStatus()
public
getStatus() : int|null
Return values
int|nullgetSuccessUrl()
public
getSuccessUrl() : string|null
Return values
string|nullgetSummaryReportCode()
public
getSummaryReportCode() : string|null
Return values
string|nullgetTaxCountryCode()
public
getTaxCountryCode() : string|null
Return values
string|nullgetTaxDate()
public
getTaxDate() : DateTime|null
Return values
DateTime|nullgetTaxFlags()
public
getTaxFlags() : array<int, string>|null
Return values
array<int, string>|nullgetTaxNote()
public
getTaxNote() : string|null
Return values
string|nullgetTaxTreatment()
public
getTaxTreatment() : string|null
Return values
string|nullgetTotalPrice()
public
getTotalPrice() : string|null
Return values
string|nullgetUserId()
public
getUserId() : int|null
Return values
int|nullgetVariableSymbol()
public
getVariableSymbol() : string|null
Return values
string|nullhasTaxFlag()
public
hasTaxFlag(string $flag) : bool
Parameters
- $flag : string
Return values
boolisPersisted()
public
isPersisted() : bool
Return values
boolisRequirePaymentEet()
public
isRequirePaymentEet() : bool
Return values
boolsetCallback()
public
setCallback(string|null $callback) : $this
Parameters
- $callback : string|null
Return values
$thissetCancelUrl()
public
setCancelUrl(string|null $cancelUrl) : $this
Parameters
- $cancelUrl : string|null
Return values
$thissetCode()
public
setCode(string|null $code) : $this
Parameters
- $code : string|null
Return values
$thissetCountryCode()
public
setCountryCode(string|null $countryCode) : $this
Parameters
- $countryCode : string|null
Return values
$thissetCurrencyId()
public
setCurrencyId(int|null $currencyId) : $this
Parameters
- $currencyId : int|null
Return values
$thissetCustomerVatIdCheckId()
public
setCustomerVatIdCheckId(int|null $customerVatIdCheckId) : static
Parameters
- $customerVatIdCheckId : int|null
Return values
staticsetCustomerVatIdOutageCheckId()
public
setCustomerVatIdOutageCheckId(int|null $customerVatIdOutageCheckId) : static
Parameters
- $customerVatIdOutageCheckId : int|null
Return values
staticsetCustomerVatIdVerified()
public
setCustomerVatIdVerified(bool|null $customerVatIdVerified) : static
Parameters
- $customerVatIdVerified : bool|null
Return values
staticsetCustomerVatIdVerifiedAt()
public
setCustomerVatIdVerifiedAt(DateTime|null $customerVatIdVerifiedAt) : static
Parameters
- $customerVatIdVerifiedAt : DateTime|null
Return values
staticsetDescription()
public
setDescription(string $description) : $this
Parameters
- $description : string
Return values
$thissetEmail()
public
setEmail(string|null $email) : $this
Parameters
- $email : string|null
Return values
$thissetEncryptedSignature()
public
setEncryptedSignature(string|null $encryptedSignature) : $this
Parameters
- $encryptedSignature : string|null
Return values
$thissetGatewayPaymentId()
public
setGatewayPaymentId(string|null $gatewayPaymentId) : $this
Parameters
- $gatewayPaymentId : string|null
Return values
$thissetId()
public
setId(int|null $id) : $this
Parameters
- $id : int|null
Return values
$thissetInsertDatetime()
public
setInsertDatetime(DateTime $dt) : $this
Parameters
- $dt : DateTime
Return values
$thissetInvoicedStatus()
public
setInvoicedStatus(int|null $invoicedStatus) : $this
Parameters
- $invoicedStatus : int|null
Return values
$thissetIp()
public
setIp(string|null $ip) : $this
Parameters
- $ip : string|null
Return values
$thissetLocalization()
IMPORTANT: deliberately does not set `$this->localizationId = $localization?->getId()`.
public
setLocalization(object|null $localization) : $this
During two-phase hydration the setter runs before the shell receives its id and would
overwrite the correctly loaded read-only scalar with null.
Parameters
- $localization : object|null
Return values
$thissetName()
public
setName(string|null $name) : $this
Parameters
- $name : string|null
Return values
$thissetNotifyUrl()
public
setNotifyUrl(string|null $notifyUrl) : $this
Parameters
- $notifyUrl : string|null
Return values
$thissetPaymentCallbackId()
public
setPaymentCallbackId(int|null $paymentCallbackId) : $this
Parameters
- $paymentCallbackId : int|null
Return values
$thissetPaymentDatetime()
public
setPaymentDatetime(DateTime|null $dt) : $this
Parameters
- $dt : DateTime|null
Return values
$thissetPaymentEetId()
public
setPaymentEetId(int|null $paymentEetId) : $this
Parameters
- $paymentEetId : int|null
Return values
$thissetPaymentGateFeePercents()
public
setPaymentGateFeePercents(int $paymentGateFeePercents) : $this
Parameters
- $paymentGateFeePercents : int
Return values
$thissetPaymentGateFeePercentsPrice()
public
setPaymentGateFeePercentsPrice(string $paymentGateFeePercentsPrice) : $this
Parameters
- $paymentGateFeePercentsPrice : string
Return values
$thissetPaymentGateFeePrice()
public
setPaymentGateFeePrice(string $paymentGateFeePrice) : $this
Parameters
- $paymentGateFeePrice : string
Return values
$thissetPaymentGateFeeTotal()
public
setPaymentGateFeeTotal(string $paymentGateFeeTotal) : $this
Parameters
- $paymentGateFeeTotal : string
Return values
$thissetPaymentGateId()
public
setPaymentGateId(int|null $paymentGateId) : $this
Parameters
- $paymentGateId : int|null
Return values
$thissetPaymentRegionId()
public
setPaymentRegionId(int|null $paymentRegionId) : $this
Parameters
- $paymentRegionId : int|null
Return values
$thissetRequirePaymentEet()
public
setRequirePaymentEet(bool $requirePaymentEet) : $this
Parameters
- $requirePaymentEet : bool
Return values
$thissetStatus()
public
setStatus(int|null $status) : $this
Parameters
- $status : int|null
Return values
$thissetSuccessUrl()
public
setSuccessUrl(string|null $successUrl) : $this
Parameters
- $successUrl : string|null
Return values
$thissetSummaryReportCode()
public
setSummaryReportCode(string|null $summaryReportCode) : static
Parameters
- $summaryReportCode : string|null
Return values
staticsetTaxCountryCode()
public
setTaxCountryCode(string|null $taxCountryCode) : static
Parameters
- $taxCountryCode : string|null
Return values
staticsetTaxDate()
public
setTaxDate(DateTime|null $taxDate) : static
Parameters
- $taxDate : DateTime|null
Return values
staticsetTaxFlags()
public
setTaxFlags(array<int, string>|null $taxFlags) : static
Parameters
- $taxFlags : array<int, string>|null
Return values
staticsetTaxNote()
public
setTaxNote(string|null $taxNote) : static
Parameters
- $taxNote : string|null
Return values
staticsetTaxTreatment()
public
setTaxTreatment(string|null $taxTreatment) : static
Parameters
- $taxTreatment : string|null
Return values
staticsetTotalPrice()
public
setTotalPrice(string|null $totalPrice) : $this
Parameters
- $totalPrice : string|null
Return values
$thissetUserId()
public
setUserId(int|null $userId) : $this
Parameters
- $userId : int|null
Return values
$thissetVariableSymbol()
public
setVariableSymbol(string|null $variableSymbol) : $this
Parameters
- $variableSymbol : string|null
Return values
$thisgetTraitsRecursive()
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>