SellerBankAccount
extends BaseEntity
in package
implements
IdentifiableInterface
uses
IdentifiableTrait
AbstractYes
Attributes
- #[MappedSuperclass]
- #[TableAlias]
- $alias: 'sellerBankAccount'
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
- $bankCode : string
- $bankName : string|null
- $iban : string|null
- $id : int|null
- $info : string|null
- $number : string
- $sellerId : int|null
- $swift : 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.
- getBankCode() : string
- getBankName() : string|null
- getIban() : string|null
- getId() : int|null
- getInfo() : string|null
- getNumber() : string
- getSellerId() : int|null
- getSwift() : string|null
- isPersisted() : bool
- setBankCode() : $this
- setBankName() : $this
- setIban() : $this
- setId() : $this
- setInfo() : $this
- setNumber() : $this
- setSellerId() : $this
- setSwift() : $this
- getTraitsRecursive() : array<string, string>
- Walks the trait list recursively and collects nested traits too.
Properties
$bankCode
protected
string
$bankCode
= ''
Attributes
- #[Column]
- $name: 'bank_code'
- $type: 'string'
- $length: 255
$bankName
protected
string|null
$bankName
= null
Attributes
- #[Column]
- $name: 'bank_name'
- $type: 'string'
- $length: 255
- $nullable: 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: 'seller_bank_account_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[GeneratedValue]
- #[Id]
$info
protected
string|null
$info
= null
Attributes
- #[Column]
- $name: 'info'
- $type: 'text'
- $nullable: true
$number
protected
string
$number
= ''
Attributes
- #[Column]
- $name: 'number'
- $type: 'string'
- $length: 255
$sellerId
protected
int|null
$sellerId
= null
Attributes
- #[Column]
- $name: 'cms_mod_invoicer_sellers_seller_id'
- $type: 'integer'
- $insertable: false
- $updatable: false
- $nullable: true
- $options: ['unsigned' => true]
$swift
protected
string|null
$swift
= null
Attributes
- #[Column]
- $name: 'swift'
- $type: 'string'
- $length: 255
- $nullable: true
Methods
__construct()
public
__construct([int|null $id = null ][, int|null $sellerId = null ][, string $number = '' ][, string $bankCode = '' ][, string|null $bankName = null ][, string|null $iban = null ][, string|null $swift = null ][, string|null $info = null ]) : mixed
Parameters
- $id : int|null = null
- $sellerId : int|null = null
- $number : string = ''
- $bankCode : string = ''
- $bankName : string|null = null
- $iban : string|null = null
- $swift : string|null = null
- $info : string|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>getBankCode()
public
getBankCode() : string
Return values
stringgetBankName()
public
getBankName() : string|null
Return values
string|nullgetIban()
public
getIban() : string|null
Return values
string|nullgetId()
public
getId() : int|null
Return values
int|nullgetInfo()
public
getInfo() : string|null
Return values
string|nullgetNumber()
public
getNumber() : string
Return values
stringgetSellerId()
public
getSellerId() : int|null
Return values
int|nullgetSwift()
public
getSwift() : string|null
Return values
string|nullisPersisted()
public
isPersisted() : bool
Return values
boolsetBankCode()
public
setBankCode(string $bankCode) : $this
Parameters
- $bankCode : string
Return values
$thissetBankName()
public
setBankName(string|null $bankName) : $this
Parameters
- $bankName : string|null
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
$thissetInfo()
public
setInfo(string|null $info) : $this
Parameters
- $info : string|null
Return values
$thissetNumber()
public
setNumber(string $number) : $this
Parameters
- $number : string
Return values
$thissetSellerId()
public
setSellerId(int|null $sellerId) : $this
Parameters
- $sellerId : int|null
Return values
$thissetSwift()
public
setSwift(string|null $swift) : $this
Parameters
- $swift : 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>