ActivityInvoice
extends CacheModel
in package
Table of Contents
Constants
- MOVEMENT_CLASS = [1 => \Vatjar\Movement\Model\MovementCredit::class, 2 => \Vatjar\Movement\Model\MovementProduct::class]
Properties
- $channel_id : mixed
- $create_time : mixed
- $credit_note : mixed
- $currency_id : mixed
- $event_date : mixed
- $from_country_id : mixed
- $has_missing_product : mixed
- $has_status_code_null : mixed
- $id : mixed
- $is_invoice : mixed
- $max_status_code : mixed
- $min_status_code : mixed
- $module_id : mixed
- $movement_class_id : mixed
- $movement_perspective_id : mixed
- $movement_type_id : mixed
- $source_type : mixed
- $to_country_id : mixed
- $transid : mixed
- $update_time : mixed
- $user_id : mixed
- $user_module_id : mixed
- $value : mixed
- $value_eur : mixed
- $vat_country_id : mixed
Methods
- assignJobMergedData() : mixed
- beforeSave() : mixed
- exists() : bool
- fetchAsArray() : mixed
- fetchAsAssocArray() : mixed
- fetchAsMultiAssocArray() : mixed
- find() : false|array<string|int, static>
- findFirst() : static|false
- fixParameters() : mixed
- fromArray() : mixed
- getChannelId() : mixed
- getCreateTime() : mixed
- getCreditNote() : mixed
- getCurrencyId() : mixed
- getEventDate() : mixed
- getFromCountryId() : mixed
- getHasError() : bool
- Do not use this in lists.
- getHasMissingProduct() : mixed
- getHasStatusCodeNull() : mixed
- getId() : mixed
- getIsInvoice() : mixed
- getMaxStatusCode() : mixed
- getMinStatusCode() : mixed
- getModuleId() : mixed
- getMovementClassId() : mixed
- getMovementPerspectiveId() : mixed
- getMovementTypeId() : mixed
- getSourceType() : mixed
- getThe() : mixed
- getToCountryId() : mixed
- getTransid() : mixed
- getUpdateTime() : mixed
- getUserId() : mixed
- getUserModuleId() : mixed
- getValue() : mixed
- getValueEur() : mixed
- getVatCountryId() : mixed
- hasNullValues() : mixed
- Do not use this in lists.
- hasStatusCodeError() : mixed
- initialize() : mixed
- isInvoice() : mixed
- mapper() : mixed
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
- getJobUserId() : mixed
- getMovementClass() : mixed
- getMovementsWithValueError() : mixed
Constants
MOVEMENT_CLASS
public
mixed
MOVEMENT_CLASS
= [1 => \Vatjar\Movement\Model\MovementCredit::class, 2 => \Vatjar\Movement\Model\MovementProduct::class]
Properties
$channel_id
protected
mixed
$channel_id
$create_time
protected
mixed
$create_time
$credit_note
protected
mixed
$credit_note
$currency_id
protected
mixed
$currency_id
$event_date
protected
mixed
$event_date
$from_country_id
protected
mixed
$from_country_id
$has_missing_product
protected
mixed
$has_missing_product
$has_status_code_null
protected
mixed
$has_status_code_null
$id
protected
mixed
$id
$is_invoice
protected
mixed
$is_invoice
$max_status_code
protected
mixed
$max_status_code
$min_status_code
protected
mixed
$min_status_code
$module_id
protected
mixed
$module_id
$movement_class_id
protected
mixed
$movement_class_id
$movement_perspective_id
protected
mixed
$movement_perspective_id
$movement_type_id
protected
mixed
$movement_type_id
$source_type
protected
mixed
$source_type
$to_country_id
protected
mixed
$to_country_id
$transid
protected
mixed
$transid
$update_time
protected
mixed
$update_time
$user_id
protected
mixed
$user_id
$user_module_id
protected
mixed
$user_module_id
$value
protected
mixed
$value
$value_eur
protected
mixed
$value_eur
$vat_country_id
protected
mixed
$vat_country_id
Methods
assignJobMergedData()
public
assignJobMergedData() : mixed
beforeSave()
public
beforeSave() : mixed
exists()
public
exists() : bool
Return values
boolfetchAsArray()
public
static fetchAsArray([mixed $parameter = null ]) : mixed
Parameters
- $parameter : mixed = null
fetchAsAssocArray()
public
static fetchAsAssocArray([mixed $parameter = null ][, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $key : mixed = 'id'
- $cols : mixed = null
fetchAsMultiAssocArray()
public
static fetchAsMultiAssocArray([mixed $parameter = null ][, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $keyname : mixed = ['id']
- $cols : mixed = null
find()
public
static find([array<string|int, mixed>|null|int $parameters = null ]) : false|array<string|int, static>
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
false|array<string|int, static>findFirst()
public
static findFirst([array<string|int, mixed>|null|int $parameters = null ]) : static|false
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
static|falsefixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getChannelId()
public
getChannelId() : mixed
getCreateTime()
public
getCreateTime() : mixed
getCreditNote()
public
getCreditNote() : mixed
getCurrencyId()
public
getCurrencyId() : mixed
getEventDate()
public
getEventDate() : mixed
getFromCountryId()
public
getFromCountryId() : mixed
getHasError()
Do not use this in lists.
public
getHasError() : bool
This is only used on admin, when displaying details of a single transaction.
Return values
boolgetHasMissingProduct()
public
getHasMissingProduct() : mixed
getHasStatusCodeNull()
public
getHasStatusCodeNull() : mixed
getId()
public
getId() : mixed
getIsInvoice()
public
getIsInvoice() : mixed
getMaxStatusCode()
public
getMaxStatusCode() : mixed
getMinStatusCode()
public
getMinStatusCode() : mixed
getModuleId()
public
getModuleId() : mixed
getMovementClassId()
public
getMovementClassId() : mixed
getMovementPerspectiveId()
public
getMovementPerspectiveId() : mixed
getMovementTypeId()
public
getMovementTypeId() : mixed
getSourceType()
public
getSourceType() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getToCountryId()
public
getToCountryId() : mixed
getTransid()
public
getTransid() : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : mixed
getUserModuleId()
public
getUserModuleId() : mixed
getValue()
public
getValue() : mixed
getValueEur()
public
getValueEur() : mixed
getVatCountryId()
public
getVatCountryId() : mixed
hasNullValues()
Do not use this in lists.
public
hasNullValues() : mixed
This is only used on admin, when displaying details of a single transaction.
hasStatusCodeError()
public
hasStatusCodeError() : mixed
initialize()
public
initialize() : mixed
isInvoice()
public
isInvoice() : mixed
mapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
- $map : array<string|int, mixed>
- $original : array<string|int, mixed>
- $reverse : bool = true
set()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thiswriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed
getJobUserId()
protected
getJobUserId() : mixed
getMovementClass()
private
getMovementClass() : mixed
getMovementsWithValueError()
private
getMovementsWithValueError() : mixed