pub struct JdOrderQueryResp {
    pub finish_time: Option<u64>,
    pub order_emt: Option<u8>,
    pub plus: Option<u8>,
    pub order_id: Option<u64>,
    pub order_time: Option<u64>,
    pub parent_id: Option<u64>,
    pub union_id: Option<u64>,
    pub pop_id: Option<u64>,
    pub pay_month: Option<String>,
    pub ext1: Option<String>,
    pub valid_code: Option<u8>,
    pub sku_list: Option<SkuInfo>,
}

Fields

finish_time: Option<u64>

订单完成时间((购买用户确认收货时间)时间戳,毫秒)

order_emt: Option<u8>

下单设备(1:PC,2:无线)

plus: Option<u8>

下单用户是否为PLUS会员 0:否,1:是

order_id: Option<u64>

订单ID

order_time: Option<u64>

下单时间(时间戳,毫秒)

parent_id: Option<u64>

父单的订单号:如某个订单因为仓储物流或其它原因拆成多笔订单时,拆分前的原订单号会作为父单号存储在该字段中 拆分出的新订单号作为子单号存储在orderid中,若未发生拆单,该字段为0

union_id: Option<u64>

推客的联盟ID

pop_id: Option<u64>

订单维度商家ID,不建议使用,可以用订单行sku维度popId参考

pay_month: Option<String>

订单维度预估结算时间,不建议使用,可以用订单行sku维度paymonth字段参考 (格式:yyyyMMdd),0:未结算,订单’预估结算时间’仅供参考。账号未通过资质审核或订单发生售后,会影响订单实际结算时间。

ext1: Option<String>

订单维度的推客生成推广链接时传入的扩展字段,不建议使用 可以用订单行sku维度ext1参考,(需要联系运营开放白名单才能拿到数据)

valid_code: Option<u8>

sku维度的有效码 (-1:未知,2.无效-拆单,3.无效-取消,4.无效-京东帮帮主订单,5.无效-账号异常,6.无效-赠品类目不返佣,7.无效-校园订单 8.无效-企业订单,9.无效-团购订单,11.无效-乡村推广员下单,13.无效-违规订单 14.无效-来源与备案网址不符,15.待付款,16.已付款,17.已完成(购买用户确认收货),20.无效-此复购订单对应的首购订单无效,21.无效-云店订单

sku_list: Option<SkuInfo>

订单包含的商品信息列表

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more