CoolCMS API

PaymentErrorLog extends BaseEntity
in package
implements IdentifiableInterface uses IdentifiableTrait

AbstractYes
Attributes
#[MappedSuperclass]
#[TableAlias]
$alias: 'paymentErrorLog'

Table of Contents

Interfaces

IdentifiableInterface
Entity with a simple integer primary key. Most entities have one (often via {@see \App\Core\Traits\Shared\Models\Entities\IdentifiableTrait}); texts and links with a composite key do not, which is why `getId()` is not on {@see \App\Core\Base\BaseEntity}. Code that needs the id of a generic entity asks for this interface (parameter type, template bound, `instanceof`).

Properties

$encryptedSignature  : string|null
$errorCode  : int|null
$id  : int|null
$insertDatetime  : DateTime
$longMessage  : string|null
$paymentGateId  : int|null
$paymentId  : int|null
$shortMessage  : string|null
$statusText  : 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.
getEncryptedSignature()  : string|null
getErrorCode()  : int|null
getId()  : int|null
getInsertDatetime()  : DateTime
getLongMessage()  : string|null
getPaymentGateId()  : int|null
getPaymentId()  : int|null
getShortMessage()  : string|null
getStatusText()  : string|null
isPersisted()  : bool
setEncryptedSignature()  : $this
setErrorCode()  : $this
setId()  : $this
setInsertDatetime()  : $this
setLongMessage()  : $this
setPaymentGateId()  : $this
setPaymentId()  : $this
setShortMessage()  : $this
setStatusText()  : $this
getTraitsRecursive()  : array<string, string>
Walks the trait list recursively and collects nested traits too.

Properties

$encryptedSignature

protected string|null $encryptedSignature = null
Attributes
#[Column]
$name: 'encrypted_signature'
$type: 'string'
$length: 255
$nullable: true

$errorCode

protected int|null $errorCode = null
Attributes
#[Column]
$name: 'error_code'
$type: 'integer'
$nullable: true

$id

protected int|null $id = null
Attributes
#[Column]
$name: 'error_id'
$type: 'integer'
$options: ['unsigned' => true]
#[GeneratedValue]
#[Id]

$insertDatetime

protected DateTime $insertDatetime = new DateTime()
Attributes
#[Column]
$name: 'insert_datetime'
$type: 'datetime'
#[ExternalReadonly]

$longMessage

protected string|null $longMessage = null
Attributes
#[Column]
$name: 'long_message'
$type: 'text'
$nullable: true

$paymentGateId

protected int|null $paymentGateId = null
Attributes
#[Column]
$name: 'cms_system_payment_gates_payment_gate_id'
$type: 'integer'
$nullable: true
$options: ['unsigned' => true]

$paymentId

protected int|null $paymentId = null
Attributes
#[Column]
$name: 'cms_system_payments_payment_id'
$type: 'integer'
$nullable: true
$options: ['unsigned' => true]

$shortMessage

protected string|null $shortMessage = null
Attributes
#[Column]
$name: 'short_message'
$type: 'string'
$length: 255
$nullable: true

$statusText

protected string|null $statusText = null
Attributes
#[Column]
$name: 'status_text'
$type: 'text'
$nullable: true

Methods

__construct()

public __construct([int|null $id = null ][, string|null $encryptedSignature = null ][, int|null $paymentId = null ][, int|null $paymentGateId = null ][, string|null $shortMessage = null ][, string|null $longMessage = null ][, int|null $errorCode = null ][, string|null $statusText = null ][, DateTime $insertDatetime = new DateTime() ]) : mixed
Parameters
$id : int|null = null
$encryptedSignature : string|null = null
$paymentId : int|null = null
$paymentGateId : int|null = null
$shortMessage : string|null = null
$longMessage : string|null = null
$errorCode : int|null = null
$statusText : string|null = null
$insertDatetime : DateTime = new DateTime()

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>

getEncryptedSignature()

public getEncryptedSignature() : string|null
Return values
string|null

getErrorCode()

public getErrorCode() : int|null
Return values
int|null

getInsertDatetime()

public getInsertDatetime() : DateTime
Return values
DateTime

getLongMessage()

public getLongMessage() : string|null
Return values
string|null

getPaymentGateId()

public getPaymentGateId() : int|null
Return values
int|null

getPaymentId()

public getPaymentId() : int|null
Return values
int|null

getShortMessage()

public getShortMessage() : string|null
Return values
string|null

getStatusText()

public getStatusText() : string|null
Return values
string|null

setEncryptedSignature()

public setEncryptedSignature(string|null $encryptedSignature) : $this
Parameters
$encryptedSignature : string|null
Return values
$this

setErrorCode()

public setErrorCode(int|null $errorCode) : $this
Parameters
$errorCode : int|null
Return values
$this

setId()

public setId(int|null $id) : $this
Parameters
$id : int|null
Return values
$this

setInsertDatetime()

public setInsertDatetime(DateTime $dt) : $this
Parameters
$dt : DateTime
Return values
$this

setLongMessage()

public setLongMessage(string|null $longMessage) : $this
Parameters
$longMessage : string|null
Return values
$this

setPaymentGateId()

public setPaymentGateId(int|null $paymentGateId) : $this
Parameters
$paymentGateId : int|null
Return values
$this

setPaymentId()

public setPaymentId(int|null $paymentId) : $this
Parameters
$paymentId : int|null
Return values
$this

setShortMessage()

public setShortMessage(string|null $shortMessage) : $this
Parameters
$shortMessage : string|null
Return values
$this

setStatusText()

public setStatusText(string|null $statusText) : $this
Parameters
$statusText : string|null
Return values
$this

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>
Return values
array<string, string>
On this page

Search results