Class: Order

BaaS.Order()

支付订单

Constructor

new Order()

Source:

Extends

Methods

expand(key) → {this}

指定需要展开的 pointer 类型字段
Parameters:
Name Type Description
key Array.<string> | string 字段名称
Inherited From:
Source:
Returns:
Type
this

get(transactionID) → {Promise.<BaaS.Response.<any>>}

获取支付订单详情。
Parameters:
Name Type Description
transactionID string 支付流水 ID
Source:
Returns:
Type
Promise.<BaaS.Response.<any>>

getOrderList(paramsopt) → {Promise.<BaaS.Response.<any>>}

获取支付订单列表。
Parameters:
Name Type Attributes Description
params BaaS.GetOrderListParams <optional>
筛选参数
Source:
Returns:
Type
Promise.<BaaS.Response.<any>>

limit(count) → {this}

指定最多返回数量
Parameters:
Name Type Description
count number 数量
Inherited From:
Source:
Returns:
Type
this

offset(count) → {this}

设置列表偏移量
Parameters:
Name Type Description
count number 偏移量
Inherited From:
Source:
Returns:
Type
this

orderBy(key) → {this}

设置排序依据
Parameters:
Name Type Description
key Array.<string> | string 字段名称
Inherited From:
Source:
Returns:
Type
this

select(key) → {this}

选择只返回指定字段
Parameters:
Name Type Description
key Array.<string> | string 字段名称
Inherited From:
Source:
Returns:
Type
this

setQuery(Query) → {this}

设置查询条件
Parameters:
Name Type Description
Query BaaS.Query 对象
Inherited From:
Source:
Returns:
Type
this