package domain


type AlibabaWdkOrderAggregateOrderAggregateQueryResult struct {
    /*
        接口返回码. 如果返回 HM05038888888006 需重试(数据查询失败，请重试，注意限定重试次数)     */
    ReturnCode  *string `json:"return_code,omitempty" `

    /*
        接口返回码描述     */
    ReturnMsg  *string `json:"return_msg,omitempty" `

    /*
        240000310869037498     */
    BizIdList  *[]int64 `json:"biz_id_list,omitempty" `

    /*
        171321816752430897     */
    TbBizIdList  *[]int64 `json:"tb_biz_id_list,omitempty" `

    /*
        totalNum     */
    TotalNum  *int64 `json:"total_num,omitempty" `

    /*
        商品总金额（不含优惠）     */
    OriginalAmt  *int64 `json:"original_amt,omitempty" `

    /*
        总优惠金额     */
    DiscountAmt  *int64 `json:"discount_amt,omitempty" `

    /*
        下一页序号     */
    NextIndex  *int64 `json:"next_index,omitempty" `

}

func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetReturnCode(v string) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.ReturnCode = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetReturnMsg(v string) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.ReturnMsg = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetBizIdList(v []int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.BizIdList = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetTbBizIdList(v []int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.TbBizIdList = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetTotalNum(v int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.TotalNum = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetOriginalAmt(v int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.OriginalAmt = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetDiscountAmt(v int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.DiscountAmt = &v
    return s
}
func (s *AlibabaWdkOrderAggregateOrderAggregateQueryResult) SetNextIndex(v int64) *AlibabaWdkOrderAggregateOrderAggregateQueryResult {
    s.NextIndex = &v
    return s
}
