ApiOrderUpload
extends CacheModel
in package
Class ApiOrderUpload
Table of Contents
Constants
- API_ORDER_TYPE_MOVEMENT = 43
- API_ORDER_TYPE_PURCHASE = 44
- API_ORDER_TYPE_REFUND = 42
- API_ORDER_TYPE_SALE = 41
- API_ORDER_TYPES = ["sale" => self::API_ORDER_TYPE_SALE, "refund" => self::API_ORDER_TYPE_REFUND, "movement" => self::API_ORDER_TYPE_MOVEMENT, "expense" => self::API_ORDER_TYPE_PURCHASE]
- MANUAL_ORDER_TYPE_MOVEMENT = 33
- MANUAL_ORDER_TYPE_PURCHASE = 34
- MANUAL_ORDER_TYPE_REFUND = 32
- MANUAL_ORDER_TYPE_SALE = 31
- MANUAL_ORDER_TYPES = ["sale" => self::MANUAL_ORDER_TYPE_SALE, "refund" => self::MANUAL_ORDER_TYPE_REFUND, "movement" => self::MANUAL_ORDER_TYPE_MOVEMENT, "expense" => self::MANUAL_ORDER_TYPE_PURCHASE]
Properties
- $create_time : mixed
- $update_time : 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
- getBatchId() : mixed
- getBillingDataList() : mixed
- getBuyerDataList() : mixed
- getCreateTime() : mixed
- getDataList() : mixed
- getFromCountryId() : mixed
- getFromCountryTwo() : mixed
- getId() : mixed
- Get the value of id
- getProductId() : mixed
- getProductIdentityArray() : array<string|int, mixed>|null
- getQuantity() : mixed
- getShippingDataList() : mixed
- getThe() : mixed
- getToCountryId() : mixed
- getToCountryTwo() : mixed
- getUpdateTime() : mixed
- getUserId() : mixed
- initialize() : mixed
- mapper() : mixed
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setId() : self
- Set the value of id
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Constants
API_ORDER_TYPE_MOVEMENT
public
mixed
API_ORDER_TYPE_MOVEMENT
= 43
API_ORDER_TYPE_PURCHASE
public
mixed
API_ORDER_TYPE_PURCHASE
= 44
API_ORDER_TYPE_REFUND
public
mixed
API_ORDER_TYPE_REFUND
= 42
API_ORDER_TYPE_SALE
public
mixed
API_ORDER_TYPE_SALE
= 41
API_ORDER_TYPES
public
mixed
API_ORDER_TYPES
= ["sale" => self::API_ORDER_TYPE_SALE, "refund" => self::API_ORDER_TYPE_REFUND, "movement" => self::API_ORDER_TYPE_MOVEMENT, "expense" => self::API_ORDER_TYPE_PURCHASE]
MANUAL_ORDER_TYPE_MOVEMENT
public
mixed
MANUAL_ORDER_TYPE_MOVEMENT
= 33
MANUAL_ORDER_TYPE_PURCHASE
public
mixed
MANUAL_ORDER_TYPE_PURCHASE
= 34
MANUAL_ORDER_TYPE_REFUND
public
mixed
MANUAL_ORDER_TYPE_REFUND
= 32
MANUAL_ORDER_TYPE_SALE
public
mixed
MANUAL_ORDER_TYPE_SALE
= 31
MANUAL_ORDER_TYPES
public
mixed
MANUAL_ORDER_TYPES
= ["sale" => self::MANUAL_ORDER_TYPE_SALE, "refund" => self::MANUAL_ORDER_TYPE_REFUND, "movement" => self::MANUAL_ORDER_TYPE_MOVEMENT, "expense" => self::MANUAL_ORDER_TYPE_PURCHASE]
Properties
$create_time
protected
mixed
$create_time
$update_time
protected
mixed
$update_time
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
getBatchId()
public
getBatchId() : mixed
getBillingDataList()
public
getBillingDataList() : mixed
getBuyerDataList()
public
getBuyerDataList() : mixed
getCreateTime()
public
getCreateTime() : mixed
getDataList()
public
getDataList(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>
getFromCountryId()
public
getFromCountryId() : mixed
getFromCountryTwo()
public
getFromCountryTwo() : mixed
getId()
Get the value of id
public
getId() : mixed
getProductId()
public
getProductId() : mixed
getProductIdentityArray()
public
getProductIdentityArray() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetQuantity()
public
getQuantity() : mixed
getShippingDataList()
public
getShippingDataList() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getToCountryId()
public
getToCountryId() : mixed
getToCountryTwo()
public
getToCountryTwo() : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : mixed
initialize()
public
initialize() : 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
$thissetId()
Set the value of id
public
setId(mixed $id) : self
Parameters
- $id : mixed
Return values
selfsetUpdateTime()
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