Documentation

MovementComponent extends Injectable
in package

Table of Contents

Constants

bindType  = ['user_id' => \Phalcon\Db\Column::BIND_PARAM_INT, 'offset' => \Phalcon\Db\Column::BIND_PARAM_INT, 'limit' => \Phalcon\Db\Column::BIND_PARAM_INT]
defaultOrder  = ['event_date' => 'desc', 'transid' => 'asc', 'source_type' => 'asc', 'status_code' => 'asc', 'currency_id' => 'asc', 'from_country_id' => 'asc']
fieldIndex  = ['transid', 'event_date', 'price', 'from_country_id', 'to_country_id']
filterAlias  = ['transid' => '_im.transid LIKE :transid', 'from_month' => '_im.event_date >= :from_month', 'to_month' => '_im.event_date <= :to_month', 'from_country' => '_im.from_country_id = :from_country', 'to_country' => '_im.to_country_id = :to_country', 'type' => 'source_type = :type']
pageSize  = 300
PARTIAL_BODY_LIST  = [1 => '../../../../Movement/view/order/partial/body-credit', 2 => '../../../../Movement/view/order/partial/body-product']
PARTIAL_HEAD_LIST  = [1 => '../../../../Movement/view/order/partial/head-credit', 2 => '../../../../Movement/view/order/partial/head-product']

Methods

deleteByParams()  : mixed
getAmazonProductAsinOrSku()  : mixed
getBuyerVatObj()  : mixed
getFieldFormatAndBindType()  : mixed
getFilteredGroupedMovement()  : mixed
getOrder()  : mixed
getPartialBodyPath()  : mixed
getPartialHeadPath()  : mixed
getTransactionList()  : mixed
getWhere()  : mixed
getWhereToPrepare()  : mixed
saveBuyerVatId()  : mixed

Constants

bindType

public mixed bindType = ['user_id' => \Phalcon\Db\Column::BIND_PARAM_INT, 'offset' => \Phalcon\Db\Column::BIND_PARAM_INT, 'limit' => \Phalcon\Db\Column::BIND_PARAM_INT]

defaultOrder

public mixed defaultOrder = ['event_date' => 'desc', 'transid' => 'asc', 'source_type' => 'asc', 'status_code' => 'asc', 'currency_id' => 'asc', 'from_country_id' => 'asc']

fieldIndex

public mixed fieldIndex = ['transid', 'event_date', 'price', 'from_country_id', 'to_country_id']

filterAlias

public mixed filterAlias = ['transid' => '_im.transid LIKE :transid', 'from_month' => '_im.event_date >= :from_month', 'to_month' => '_im.event_date <= :to_month', 'from_country' => '_im.from_country_id = :from_country', 'to_country' => '_im.to_country_id = :to_country', 'type' => 'source_type = :type']

PARTIAL_BODY_LIST

public mixed PARTIAL_BODY_LIST = [1 => '../../../../Movement/view/order/partial/body-credit', 2 => '../../../../Movement/view/order/partial/body-product']

PARTIAL_HEAD_LIST

public mixed PARTIAL_HEAD_LIST = [1 => '../../../../Movement/view/order/partial/head-credit', 2 => '../../../../Movement/view/order/partial/head-product']

Methods

deleteByParams()

public deleteByParams(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

getAmazonProductAsinOrSku()

public static getAmazonProductAsinOrSku(mixed $amazon) : mixed
Parameters
$amazon : mixed

getBuyerVatObj()

public getBuyerVatObj(mixed $userId, mixed $transid) : mixed
Parameters
$userId : mixed
$transid : mixed

getFieldFormatAndBindType()

public static getFieldFormatAndBindType(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

getFilteredGroupedMovement()

public static getFilteredGroupedMovement(int $user_id[, array<string|int, mixed> $params = [] ][, int $offset = 0 ][, int $limit = null ]) : mixed
Parameters
$user_id : int
$params : array<string|int, mixed> = []
$offset : int = 0
$limit : int = null

getOrder()

public static getOrder([mixed $order = null ]) : mixed
Parameters
$order : mixed = null

getPartialBodyPath()

public static getPartialBodyPath(mixed $type) : mixed
Parameters
$type : mixed

getPartialHeadPath()

public static getPartialHeadPath(mixed $type) : mixed
Parameters
$type : mixed

getTransactionList()

public static getTransactionList(int $user_id, string $transid[, int $source_type = 0 ]) : mixed
Parameters
$user_id : int
$transid : string
$source_type : int = 0

getWhere()

public static getWhere(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

getWhereToPrepare()

public static getWhereToPrepare(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

saveBuyerVatId()

public saveBuyerVatId(mixed $userId, mixed $transid, mixed $buyerVatid) : mixed
Parameters
$userId : mixed
$transid : mixed
$buyerVatid : mixed

        
On this page

Search results