Documentation

ReportApiOrder extends CacheModel
in package

Class ReportApiOrder

Table of Contents

Constants

REPORT_STATUS_DELETED  = 2
REPORT_STATUS_PROCESSED  = 1
REPORT_STATUS_UPLOADED  = 0

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
getBuyerHomeCountry()  : mixed
Get the value of buyer_home_country
getBuyerVatCountry()  : mixed
Get the value of buyer_vat_country
getBuyerVatid()  : mixed
Get the value of buyer_vat_id
getCreateTime()  : mixed
getCurrency()  : mixed
Get the value of currency
getFromCountry()  : mixed
Get the value of from_country
getGrossValue()  : mixed
Get the value of gross_value
getId()  : mixed
getInvoiceDate()  : mixed
Get the value of invoice_date
getInvoiceItemId()  : mixed
Get the value of invoice_item_id
getInvoiceNumber()  : mixed
Get the value of invoice_number
getItemName()  : mixed
Get the value of item_name
getPaymentDate()  : mixed
Get the value of payment_date
getPrefix()  : mixed
Get the value of prefix
getProductIdAsin()  : mixed
Get the value of product_id_asin
getProductIdInternal()  : mixed
Get the value of product_id_internal
getQuantity()  : mixed
Get the value of quantity
getThe()  : mixed
getToCountry()  : mixed
Get the value of to_country
getUpdateTime()  : mixed
getUserId()  : mixed
Get the value of user_id
getVatCountry()  : mixed
Get the value of vat_country
getVatCountryExchangeRate()  : mixed
Get the value of vat_country_exchange_rate
getVatRate()  : mixed
Get the value of vat_rate
initialize()  : mixed
mapper()  : mixed
set()  : mixed
setBatchId()  : self
setCreateTime()  : $this
If $createTime is null, default value now.
setModuleId()  : mixed
setParseId()  : self
setPrefix()  : self
Set the value of prefix
setProcessed()  : self
Set the value of processed
setReportId()  : mixed
setUpdateTime()  : $this
If $updateTime is null, default value now.
setUserId()  : mixed
writeAttributeIfNeeded()  : mixed
_createKey()  : mixed

Constants

REPORT_STATUS_PROCESSED

public mixed REPORT_STATUS_PROCESSED = 1

Properties

Methods

assignJobMergedData()

public assignJobMergedData() : mixed

exists()

public exists() : bool
Return values
bool

fetchAsArray()

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|false

fixParameters()

public static fixParameters([mixed $parameters = null ]) : mixed
Parameters
$parameters : mixed = null

fromArray()

public static fromArray(mixed $array) : mixed
Parameters
$array : mixed

getBuyerHomeCountry()

Get the value of buyer_home_country

public getBuyerHomeCountry() : mixed

getBuyerVatCountry()

Get the value of buyer_vat_country

public getBuyerVatCountry() : mixed

getBuyerVatid()

Get the value of buyer_vat_id

public getBuyerVatid() : mixed

getCurrency()

Get the value of currency

public getCurrency() : mixed

getFromCountry()

Get the value of from_country

public getFromCountry() : mixed

getGrossValue()

Get the value of gross_value

public getGrossValue() : mixed

getInvoiceDate()

Get the value of invoice_date

public getInvoiceDate() : mixed

getInvoiceItemId()

Get the value of invoice_item_id

public getInvoiceItemId() : mixed

getInvoiceNumber()

Get the value of invoice_number

public getInvoiceNumber() : mixed

getItemName()

Get the value of item_name

public getItemName() : mixed

getPaymentDate()

Get the value of payment_date

public getPaymentDate() : mixed

getProductIdAsin()

Get the value of product_id_asin

public getProductIdAsin() : mixed

getProductIdInternal()

Get the value of product_id_internal

public getProductIdInternal() : mixed

getQuantity()

Get the value of quantity

public getQuantity() : mixed

getThe()

public static getThe(mixed $paramater) : mixed
Parameters
$paramater : mixed

getToCountry()

Get the value of to_country

public getToCountry() : mixed

getVatCountry()

Get the value of vat_country

public getVatCountry() : mixed

getVatCountryExchangeRate()

Get the value of vat_country_exchange_rate

public getVatCountryExchangeRate() : mixed

getVatRate()

Get the value of vat_rate

public getVatRate() : 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

setBatchId()

public setBatchId(int $batch_id) : self
Parameters
$batch_id : int
Return values
self

setCreateTime()

If $createTime is null, default value now.

public setCreateTime([mixed $createTime = null ]) : $this
Parameters
$createTime : mixed = null
Return values
$this

setModuleId()

public setModuleId(int $module_id) : mixed
Parameters
$module_id : int

setParseId()

public setParseId(mixed $parseId) : self
Parameters
$parseId : mixed
Return values
self

setPrefix()

Set the value of prefix

public setPrefix(mixed $prefix) : self
Parameters
$prefix : mixed
Return values
self

setProcessed()

Set the value of processed

public setProcessed(mixed $processed) : self
Parameters
$processed : mixed
Return values
self

setReportId()

public setReportId(int $report_id) : mixed
Parameters
$report_id : int

setUpdateTime()

If $updateTime is null, default value now.

public setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
$updateTime : mixed = null
Return values
$this

setUserId()

public setUserId(int $user_id) : mixed
Parameters
$user_id : int

writeAttributeIfNeeded()

public writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
$attribute : mixed
$value : mixed

_createKey()

protected static _createKey(mixed $parameters) : mixed
Parameters
$parameters : mixed

        
On this page

Search results