This commit is contained in:
邹宗楠
2023-06-15 09:08:54 +08:00
parent d37bb62403
commit 65976332fc
749 changed files with 41278 additions and 14 deletions

View File

@@ -0,0 +1,698 @@
package ability3156
import (
"errors"
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk"
request2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/request"
response2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/response"
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
"log"
)
type Ability3156 struct {
Client *topsdk.TopClient
}
func NewAbility3156(client *topsdk.TopClient) *Ability3156 {
return &Ability3156{client}
}
/*
商家会员数据上传
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantUserUpload(req *request2.AlibabaTclsAelophyMerchantUserUploadRequest, session string) (*response2.AlibabaTclsAelophyMerchantUserUploadResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.user.upload", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantUserUploadResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantUserUpload error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
仓作业取消下发
*/
func (ability *Ability3156) WdkWarehouseOrderCancel(req *request2.WdkWarehouseOrderCancelRequest, session string) (*response2.WdkWarehouseOrderCancelResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("wdk.warehouse.order.cancel", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.WdkWarehouseOrderCancelResponse{}
if err != nil {
log.Println("wdkWarehouseOrderCancel error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
仓作业下发
*/
func (ability *Ability3156) WdkWarehouseOrderDispatch(req *request2.WdkWarehouseOrderDispatchRequest, session string) (*response2.WdkWarehouseOrderDispatchResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("wdk.warehouse.order.dispatch", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.WdkWarehouseOrderDispatchResponse{}
if err != nil {
log.Println("wdkWarehouseOrderDispatch error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象ERP核销回调
*/
func (ability *Ability3156) AlibabaTclsAelophyBillVerificateCallback(req *request2.AlibabaTclsAelophyBillVerificateCallbackRequest) (*response2.AlibabaTclsAelophyBillVerificateCallbackResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.Execute("alibaba.tcls.aelophy.bill.verificate.callback", req.ToMap(), req.ToFileMap())
var respStruct = response2.AlibabaTclsAelophyBillVerificateCallbackResponse{}
if err != nil {
log.Println("alibabaTclsAelophyBillVerificateCallback error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
更新渠道店营业状态
*/
func (ability *Ability3156) AlibabaAelophyShopUpdatestatus(req *request2.AlibabaAelophyShopUpdatestatusRequest, session string) (*response2.AlibabaAelophyShopUpdatestatusResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.aelophy.shop.updatestatus", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaAelophyShopUpdatestatusResponse{}
if err != nil {
log.Println("alibabaAelophyShopUpdatestatus error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
更新渠道店基础信息
*/
func (ability *Ability3156) AlibabaAelophyShopUpdateinfo(req *request2.AlibabaAelophyShopUpdateinfoRequest, session string) (*response2.AlibabaAelophyShopUpdateinfoResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.aelophy.shop.updateinfo", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaAelophyShopUpdateinfoResponse{}
if err != nil {
log.Println("alibabaAelophyShopUpdateinfo error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
更新渠道店销售范围
*/
func (ability *Ability3156) AlibabaAelophyShopUpdaterange(req *request2.AlibabaAelophyShopUpdaterangeRequest, session string) (*response2.AlibabaAelophyShopUpdaterangeResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.aelophy.shop.updaterange", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaAelophyShopUpdaterangeResponse{}
if err != nil {
log.Println("alibabaAelophyShopUpdaterange error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
商家代客售后逆向申请渲染获取
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundCsapplyrender(req *request2.AlibabaTclsAelophyRefundCsapplyrenderRequest, session string) (*response2.AlibabaTclsAelophyRefundCsapplyrenderResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.csapplyrender", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundCsapplyrenderResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundCsapplyrender error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
商家代客售后提交逆向申请
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundCsapply(req *request2.AlibabaTclsAelophyRefundCsapplyRequest, session string) (*response2.AlibabaTclsAelophyRefundCsapplyResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.csapply", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundCsapplyResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundCsapply error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱翔经营店更新接口
*/
func (ability *Ability3156) AlibabaWdkAxStoreUpdate(req *request2.AlibabaWdkAxStoreUpdateRequest, session string) (*response2.AlibabaWdkAxStoreUpdateResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.wdk.ax.store.update", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaWdkAxStoreUpdateResponse{}
if err != nil {
log.Println("alibabaWdkAxStoreUpdate error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象经营店创建接口
*/
func (ability *Ability3156) AlibabaWdkAxStoreCreate(req *request2.AlibabaWdkAxStoreCreateRequest, session string) (*response2.AlibabaWdkAxStoreCreateResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.wdk.ax.store.create", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaWdkAxStoreCreateResponse{}
if err != nil {
log.Println("alibabaWdkAxStoreCreate error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象经营店查询接口
*/
func (ability *Ability3156) AlibabaWdkAxStoreQuery(req *request2.AlibabaWdkAxStoreQueryRequest, session string) (*response2.AlibabaWdkAxStoreQueryResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.wdk.ax.store.query", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaWdkAxStoreQueryResponse{}
if err != nil {
log.Println("alibabaWdkAxStoreQuery error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
创单接口
*/
func (ability *Ability3156) AlibabaTclsFulfillQaOrderCreate(req *request2.AlibabaTclsFulfillQaOrderCreateRequest) (*response2.AlibabaTclsFulfillQaOrderCreateResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.Execute("alibaba.tcls.fulfill.qa.order.create", req.ToMap(), req.ToFileMap())
var respStruct = response2.AlibabaTclsFulfillQaOrderCreateResponse{}
if err != nil {
log.Println("alibabaTclsFulfillQaOrderCreate error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
cps正向分销订单批量回流
*/
func (ability *Ability3156) AlibabaWdkorderSharestockCpsorderList(req *request2.AlibabaWdkorderSharestockCpsorderListRequest, session string) (*response2.AlibabaWdkorderSharestockCpsorderListResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.wdkorder.sharestock.cpsorder.list", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaWdkorderSharestockCpsorderListResponse{}
if err != nil {
log.Println("alibabaWdkorderSharestockCpsorderList error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
商家用户id混淆
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantIdMix(req *request2.AlibabaTclsAelophyMerchantIdMixRequest, session string) (*response2.AlibabaTclsAelophyMerchantIdMixResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.id.mix", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantIdMixResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantIdMix error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
获取运力时间片信息
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelOrderSliceget(req *request2.AlibabaTclsAelophyMerchantChannelOrderSlicegetRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelOrderSlicegetResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.order.sliceget", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelOrderSlicegetResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelOrderSliceget error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
前置校验商品是否可下单作业
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelOrderPrecheck(req *request2.AlibabaTclsAelophyMerchantChannelOrderPrecheckRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelOrderPrecheckResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.order.precheck", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelOrderPrecheckResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelOrderPrecheck error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 逆向单申请
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelRefundApply(req *request2.AlibabaTclsAelophyMerchantChannelRefundApplyRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelRefundApplyResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.refund.apply", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelRefundApplyResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelRefundApply error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 订单创建
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelOrderCreate(req *request2.AlibabaTclsAelophyMerchantChannelOrderCreateRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelOrderCreateResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.order.create", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelOrderCreateResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelOrderCreate error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 逆向单完成
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelRefundComplete(req *request2.AlibabaTclsAelophyMerchantChannelRefundCompleteRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelRefundCompleteResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.refund.complete", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelRefundCompleteResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelRefundComplete error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 逆向单申请取消
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelRefundCancel(req *request2.AlibabaTclsAelophyMerchantChannelRefundCancelRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelRefundCancelResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.refund.cancel", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelRefundCancelResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelRefundCancel error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 订单状态更新
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelOrderUpdatestatus(req *request2.AlibabaTclsAelophyMerchantChannelOrderUpdatestatusRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelOrderUpdatestatusResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.order.updatestatus", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelOrderUpdatestatusResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelOrderUpdatestatus error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象商家自有渠道 交易订单取消
*/
func (ability *Ability3156) AlibabaTclsAelophyMerchantChannelOrderCancel(req *request2.AlibabaTclsAelophyMerchantChannelOrderCancelRequest, session string) (*response2.AlibabaTclsAelophyMerchantChannelOrderCancelResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.merchant.channel.order.cancel", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyMerchantChannelOrderCancelResponse{}
if err != nil {
log.Println("alibabaTclsAelophyMerchantChannelOrderCancel error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
订单小票查询
*/
func (ability *Ability3156) AlibabaTclsAelophyOrderReceiptQuery(req *request2.AlibabaTclsAelophyOrderReceiptQueryRequest, session string) (*response2.AlibabaTclsAelophyOrderReceiptQueryResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.order.receipt.query", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyOrderReceiptQueryResponse{}
if err != nil {
log.Println("alibabaTclsAelophyOrderReceiptQuery error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
DP功能点权限校验
*/
func (ability *Ability3156) AlibabaTclsAxIntegrationPermission(req *request2.AlibabaTclsAxIntegrationPermissionRequest, session string) (*response2.AlibabaTclsAxIntegrationPermissionResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.ax.integration.permission", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAxIntegrationPermissionResponse{}
if err != nil {
log.Println("alibabaTclsAxIntegrationPermission error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
账单明细接口
*/
func (ability *Ability3156) AlibabaTclsAelophyBillDetailQuery(req *request2.AlibabaTclsAelophyBillDetailQueryRequest, session string) (*response2.AlibabaTclsAelophyBillDetailQueryResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.bill.detail.query", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyBillDetailQueryResponse{}
if err != nil {
log.Println("alibabaTclsAelophyBillDetailQuery error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
账单日汇总接口
*/
func (ability *Ability3156) AlibabaTclsAelophyBillDailyQuery(req *request2.AlibabaTclsAelophyBillDailyQueryRequest, session string) (*response2.AlibabaTclsAelophyBillDailyQueryResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.bill.daily.query", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyBillDailyQueryResponse{}
if err != nil {
log.Println("alibabaTclsAelophyBillDailyQuery error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
代客退
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundCsapplyNew(req *request2.AlibabaTclsAelophyRefundCsapplyNewRequest, session string) (*response2.AlibabaTclsAelophyRefundCsapplyNewResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.csapply.new", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundCsapplyNewResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundCsapplyNew error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象出仓回传
*/
func (ability *Ability3156) AlibabaAxWarehouseOutboundCallback(req *request2.AlibabaAxWarehouseOutboundCallbackRequest, session string) (*response2.AlibabaAxWarehouseOutboundCallbackResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.ax.warehouse.outbound.callback", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaAxWarehouseOutboundCallbackResponse{}
if err != nil {
log.Println("alibabaAxWarehouseOutboundCallback error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
翱象入库回传
*/
func (ability *Ability3156) AlibabaAxWarehouseInboundCallback(req *request2.AlibabaAxWarehouseInboundCallbackRequest, session string) (*response2.AlibabaAxWarehouseInboundCallbackResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.ax.warehouse.inbound.callback", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaAxWarehouseInboundCallbackResponse{}
if err != nil {
log.Println("alibabaAxWarehouseInboundCallback error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
ISV用户录入
*/
func (ability *Ability3156) AlibabaTclsAxIntegrationAccountImport(req *request2.AlibabaTclsAxIntegrationAccountImportRequest, session string) (*response2.AlibabaTclsAxIntegrationAccountImportResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.ax.integration.account.import", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAxIntegrationAccountImportResponse{}
if err != nil {
log.Println("alibabaTclsAxIntegrationAccountImport error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
saas 售后逆向 商户拒绝用户逆向申请
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundDisagree(req *request2.AlibabaTclsAelophyRefundDisagreeRequest, session string) (*response2.AlibabaTclsAelophyRefundDisagreeResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.disagree", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundDisagreeResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundDisagree error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
saas 售后逆向 商户同意用户逆向申请
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundAgree(req *request2.AlibabaTclsAelophyRefundAgreeRequest, session string) (*response2.AlibabaTclsAelophyRefundAgreeResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.agree", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundAgreeResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundAgree error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}
/*
saas 售后逆向 商户发起逆向取货
*/
func (ability *Ability3156) AlibabaTclsAelophyRefundFetchgoods(req *request2.AlibabaTclsAelophyRefundFetchgoodsRequest, session string) (*response2.AlibabaTclsAelophyRefundFetchgoodsResponse, error) {
if ability.Client == nil {
return nil, errors.New("Ability3156 topClient is nil")
}
var jsonStr, err = ability.Client.ExecuteWithSession("alibaba.tcls.aelophy.refund.fetchgoods", req.ToMap(), req.ToFileMap(), session)
var respStruct = response2.AlibabaTclsAelophyRefundFetchgoodsResponse{}
if err != nil {
log.Println("alibabaTclsAelophyRefundFetchgoods error", err)
return &respStruct, err
}
err = util.HandleJsonResponse(jsonStr, &respStruct)
if respStruct.Body == "" || len(respStruct.Body) == 0 {
respStruct.Body = jsonStr
}
return &respStruct, err
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaAelophyShopUpdateinfoApiResult struct {
/*
调用结果 */
Success *bool `json:"success,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaAelophyShopUpdateinfoApiResult) SetSuccess(v bool) *AlibabaAelophyShopUpdateinfoApiResult {
s.Success = &v
return s
}
func (s *AlibabaAelophyShopUpdateinfoApiResult) SetErrMsg(v string) *AlibabaAelophyShopUpdateinfoApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaAelophyShopUpdateinfoApiResult) SetErrCode(v string) *AlibabaAelophyShopUpdateinfoApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest struct {
/*
营业开始时间(HH:mm) */
StartTime *string `json:"start_time,omitempty" `
/*
营业结束时间(HH:mm) */
EndTime *string `json:"end_time,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
渠道 */
ChannelSourceType *int64 `json:"channel_source_type,omitempty" `
}
func (s *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest) SetStartTime(v string) *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest {
s.StartTime = &v
return s
}
func (s *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest) SetEndTime(v string) *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest {
s.EndTime = &v
return s
}
func (s *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest) SetStoreId(v string) *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest {
s.StoreId = &v
return s
}
func (s *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest) SetChannelSourceType(v int64) *AlibabaAelophyShopUpdateinfoShopInfoUpdateRequest {
s.ChannelSourceType = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaAelophyShopUpdaterangeApiResult struct {
/*
调用结果 */
Success *bool `json:"success,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaAelophyShopUpdaterangeApiResult) SetSuccess(v bool) *AlibabaAelophyShopUpdaterangeApiResult {
s.Success = &v
return s
}
func (s *AlibabaAelophyShopUpdaterangeApiResult) SetErrMsg(v string) *AlibabaAelophyShopUpdaterangeApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaAelophyShopUpdaterangeApiResult) SetErrCode(v string) *AlibabaAelophyShopUpdaterangeApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaAelophyShopUpdaterangePoint struct {
/*
经度(高德坐标) */
Lng *string `json:"lng,omitempty" `
/*
纬度(高德坐标) */
Lat *string `json:"lat,omitempty" `
}
func (s *AlibabaAelophyShopUpdaterangePoint) SetLng(v string) *AlibabaAelophyShopUpdaterangePoint {
s.Lng = &v
return s
}
func (s *AlibabaAelophyShopUpdaterangePoint) SetLat(v string) *AlibabaAelophyShopUpdaterangePoint {
s.Lat = &v
return s
}

View File

@@ -0,0 +1,14 @@
package domain
type AlibabaAelophyShopUpdaterangeShopRange struct {
/*
经纬度点 */
Points *[]AlibabaAelophyShopUpdaterangePoint `json:"points,omitempty" `
}
func (s *AlibabaAelophyShopUpdaterangeShopRange) SetPoints(v []AlibabaAelophyShopUpdaterangePoint) *AlibabaAelophyShopUpdaterangeShopRange {
s.Points = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest struct {
/*
销售范围 */
ShopRanges *[]AlibabaAelophyShopUpdaterangeShopRange `json:"shop_ranges,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
渠道 */
ChannelSourceType *int64 `json:"channel_source_type,omitempty" `
}
func (s *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest) SetShopRanges(v []AlibabaAelophyShopUpdaterangeShopRange) *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest {
s.ShopRanges = &v
return s
}
func (s *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest) SetStoreId(v string) *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest {
s.StoreId = &v
return s
}
func (s *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest) SetChannelSourceType(v int64) *AlibabaAelophyShopUpdaterangeShopRangeUpdateRequest {
s.ChannelSourceType = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaAelophyShopUpdatestatusApiResult struct {
/*
调用结果 */
Success *bool `json:"success,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaAelophyShopUpdatestatusApiResult) SetSuccess(v bool) *AlibabaAelophyShopUpdatestatusApiResult {
s.Success = &v
return s
}
func (s *AlibabaAelophyShopUpdatestatusApiResult) SetErrMsg(v string) *AlibabaAelophyShopUpdatestatusApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaAelophyShopUpdatestatusApiResult) SetErrCode(v string) *AlibabaAelophyShopUpdatestatusApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest struct {
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
渠道 */
ChannelSourceType *int64 `json:"channel_source_type,omitempty" `
/*
营业状态(1:营业,-1:不营业) */
Status *int64 `json:"status,omitempty" `
}
func (s *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest) SetStoreId(v string) *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest {
s.StoreId = &v
return s
}
func (s *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest) SetChannelSourceType(v int64) *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest {
s.ChannelSourceType = &v
return s
}
func (s *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest) SetStatus(v int64) *AlibabaAelophyShopUpdatestatusShopStatusUpdateRequest {
s.Status = &v
return s
}

View File

@@ -0,0 +1,54 @@
package domain
type AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest struct {
/*
子单扩展字段 */
Extension *string `json:"extension,omitempty" `
/*
oms主单号 */
BizOrderId *string `json:"biz_order_id,omitempty" `
/*
实际入库销售数量 */
ActualSaleQuantity *string `json:"actual_sale_quantity,omitempty" `
/*
实际入库库存数量 */
ActualStockQuantity *string `json:"actual_stock_quantity,omitempty" `
/*
oms子单号 */
BizSubOrderId *string `json:"biz_sub_order_id,omitempty" `
/*
sku编码 */
SkuCode *string `json:"sku_code,omitempty" `
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetExtension(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.Extension = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetBizOrderId(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.BizOrderId = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetActualSaleQuantity(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.ActualSaleQuantity = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetActualStockQuantity(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.ActualStockQuantity = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetBizSubOrderId(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.BizSubOrderId = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) SetSkuCode(v string) *AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest {
s.SkuCode = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest struct {
/*
扩展字段 */
Extension *string `json:"extension,omitempty" `
/*
退仓来源单号/退款单号 */
ReverseSourceOrderNo *string `json:"reverse_source_order_no,omitempty" `
/*
测试标记 */
Test *bool `json:"test,omitempty" `
/*
消息体 */
Details *[]AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest `json:"details,omitempty" `
/*
仓编码 */
StoreCode *string `json:"store_code,omitempty" `
}
func (s *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest) SetExtension(v string) *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest {
s.Extension = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest) SetReverseSourceOrderNo(v string) *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest {
s.ReverseSourceOrderNo = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest) SetTest(v bool) *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest {
s.Test = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest) SetDetails(v []AlibabaAxWarehouseInboundCallbackReverseInBoundDetailCallBackRequest) *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest {
s.Details = &v
return s
}
func (s *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest) SetStoreCode(v string) *AlibabaAxWarehouseInboundCallbackTopReverseInBoundCallBackRequest {
s.StoreCode = &v
return s
}

View File

@@ -0,0 +1,14 @@
package domain
type AlibabaAxWarehouseOutboundCallbackBigDecimal struct {
/*
每份重量 */
SkuWeight *string `json:"sku_weight,omitempty" `
}
func (s *AlibabaAxWarehouseOutboundCallbackBigDecimal) SetSkuWeight(v string) *AlibabaAxWarehouseOutboundCallbackBigDecimal {
s.SkuWeight = &v
return s
}

View File

@@ -0,0 +1,72 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest struct {
/*
扩展字段 */
Extension *string `json:"extension,omitempty" `
/*
oms主单号 */
BizOrderId *string `json:"biz_order_id,omitempty" `
/*
出库状态 */
OutBoundStatus *string `json:"out_bound_status,omitempty" `
/*
子单明细列表 */
DemandDetailCallBackRequests *[]AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest `json:"demand_detail_call_back_requests,omitempty" `
/*
渠道单号 */
ChannelOrderNo *string `json:"channel_order_no,omitempty" `
/*
出库状态发生时间 */
DemandStatusTime *util.LocalTime `json:"demand_status_time,omitempty" `
/*
仓编码 */
StoreCode *string `json:"store_code,omitempty" `
/*
渠道类型 */
ChannelSource *string `json:"channel_source,omitempty" `
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetExtension(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.Extension = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetBizOrderId(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.BizOrderId = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetOutBoundStatus(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.OutBoundStatus = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetDemandDetailCallBackRequests(v []AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.DemandDetailCallBackRequests = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetChannelOrderNo(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.ChannelOrderNo = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetDemandStatusTime(v util.LocalTime) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.DemandStatusTime = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetStoreCode(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.StoreCode = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest) SetChannelSource(v string) *AlibabaAxWarehouseOutboundCallbackTopTradeOutBoundCallBackRequest {
s.ChannelSource = &v
return s
}

View File

@@ -0,0 +1,86 @@
package domain
type AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest struct {
/*
缺货出销售数量 */
OutOfStockSaleQuantity *string `json:"out_of_stock_sale_quantity,omitempty" `
/*
渠道子单号 */
ChannelSubOrderNo *string `json:"channel_sub_order_no,omitempty" `
/*
扩展字段 */
Extension *string `json:"extension,omitempty" `
/*
实际出库销售数量 */
ActualSaleQuantity *string `json:"actual_sale_quantity,omitempty" `
/*
实际出库库存数量 */
ActualStockQuantity *string `json:"actual_stock_quantity,omitempty" `
/*
缺货出库存数量 */
OutOfStockStockQuantity *string `json:"out_of_stock_stock_quantity,omitempty" `
/*
oms子单号 */
BizSubOrderId *string `json:"biz_sub_order_id,omitempty" `
/*
商品sku编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
是否缺货出 */
IsOutStock *bool `json:"is_out_stock,omitempty" `
/*
称重品商品实称重量/g */
SkuWeights *[]AlibabaAxWarehouseOutboundCallbackBigDecimal `json:"sku_weights,omitempty" `
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetOutOfStockSaleQuantity(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.OutOfStockSaleQuantity = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetChannelSubOrderNo(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.ChannelSubOrderNo = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetExtension(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.Extension = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetActualSaleQuantity(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.ActualSaleQuantity = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetActualStockQuantity(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.ActualStockQuantity = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetOutOfStockStockQuantity(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.OutOfStockStockQuantity = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetBizSubOrderId(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.BizSubOrderId = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetSkuCode(v string) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.SkuCode = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetIsOutStock(v bool) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.IsOutStock = &v
return s
}
func (s *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest) SetSkuWeights(v []AlibabaAxWarehouseOutboundCallbackBigDecimal) *AlibabaAxWarehouseOutboundCallbackTradeOutBoundDetailCallBackRequest {
s.SkuWeights = &v
return s
}

View File

@@ -0,0 +1,70 @@
package domain
type AlibabaTclsAelophyBillDailyQueryApiPageResults struct {
/*
当前页码 */
PageIndex *int64 `json:"page_index,omitempty" `
/*
页大小 */
PageSize *int64 `json:"page_size,omitempty" `
/*
总页数 */
PageCount *int64 `json:"page_count,omitempty" `
/*
总记录数 */
Total *int64 `json:"total,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误描述 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
/*
业务结果集 */
Model *[]AlibabaTclsAelophyBillDailyQueryBillDailyDTO `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetPageIndex(v int64) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.PageIndex = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetPageSize(v int64) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.PageSize = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetPageCount(v int64) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.PageCount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetTotal(v int64) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.Total = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetSuccess(v bool) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetErrMsg(v string) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetErrCode(v string) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryApiPageResults) SetModel(v []AlibabaTclsAelophyBillDailyQueryBillDailyDTO) *AlibabaTclsAelophyBillDailyQueryApiPageResults {
s.Model = &v
return s
}

View File

@@ -0,0 +1,198 @@
package domain
type AlibabaTclsAelophyBillDailyQueryBillDailyDTO struct {
/*
商家编码 */
MerchantCode *string `json:"merchant_code,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
订单来源 */
OrderFrom *string `json:"order_from,omitempty" `
/*
明细单据唯一结算标识 */
SettleBizId *string `json:"settle_biz_id,omitempty" `
/*
账单日期 */
BillDate *string `json:"bill_date,omitempty" `
/*
商家应收金额,正号代表收入,负号代表支出 */
SettleAmount *string `json:"settle_amount,omitempty" `
/*
商品总金额 */
SkuAmount *string `json:"sku_amount,omitempty" `
/*
计费基数 */
ChargeBaseAmount *string `json:"charge_base_amount,omitempty" `
/*
商户应收包装费总额,正号代表收入,负号代表支出 */
PackageAmount *string `json:"package_amount,omitempty" `
/*
商户应收总运费,正号代表收入,负号代表支出 */
SendAmount *string `json:"send_amount,omitempty" `
/*
商户补贴总金额,正负号存在渠道差异 */
MerchantSubsidyAmount *string `json:"merchant_subsidy_amount,omitempty" `
/*
平台营销补贴费用,正号代表收入,负号代表支出 */
PlatSubsidyAmount *string `json:"plat_subsidy_amount,omitempty" `
/*
品牌营销补贴费用,正号代表收入,负号代表支出 */
BrandSubsidyAmount *string `json:"brand_subsidy_amount,omitempty" `
/*
代理商营销补贴费用,正号代表收入,负号代表支出 */
AgentSubsidyAmount *string `json:"agent_subsidy_amount,omitempty" `
/*
技术服务费,正号代表收入,负号代表支出 */
ChannelCommissionAmount *string `json:"channel_commission_amount,omitempty" `
/*
基础物流费,正号代表收入,负号代表支出 */
BaseLogisticsAmount *string `json:"base_logistics_amount,omitempty" `
/*
增值服务费,正号代表收入,负号代表支出 */
AddedValueAmount *string `json:"added_value_amount,omitempty" `
/*
其它服务费,正号代表收入,负号代表支出 */
OtherFeeAmount *string `json:"other_fee_amount,omitempty" `
/*
手续费,正号代表收入,负号代表支出 */
HandleFeeAmount *string `json:"handle_fee_amount,omitempty" `
/*
其它费用 */
ExtendInfo *string `json:"extend_info,omitempty" `
/*
平台红包补贴 */
PlatformVoucherSubsidyFee *string `json:"platform_voucher_subsidy_fee,omitempty" `
/*
商家承担红包补贴费用 */
MerchantVoucherSubsidyFee *string `json:"merchant_voucher_subsidy_fee,omitempty" `
/*
平台包装费 */
PlatPackageFee *string `json:"plat_package_fee,omitempty" `
/*
用户实付金额 */
UserPayAmount *string `json:"user_pay_amount,omitempty" `
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetMerchantCode(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.MerchantCode = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetStoreId(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetOrderFrom(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetSettleBizId(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.SettleBizId = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetBillDate(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.BillDate = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetSettleAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.SettleAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetSkuAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.SkuAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetChargeBaseAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.ChargeBaseAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetPackageAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.PackageAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetSendAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.SendAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetMerchantSubsidyAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.MerchantSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetPlatSubsidyAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.PlatSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetBrandSubsidyAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.BrandSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetAgentSubsidyAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.AgentSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetChannelCommissionAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.ChannelCommissionAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetBaseLogisticsAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.BaseLogisticsAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetAddedValueAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.AddedValueAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetOtherFeeAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.OtherFeeAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetHandleFeeAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.HandleFeeAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetExtendInfo(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.ExtendInfo = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetPlatformVoucherSubsidyFee(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.PlatformVoucherSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetMerchantVoucherSubsidyFee(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.MerchantVoucherSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetPlatPackageFee(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.PlatPackageFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyDTO) SetUserPayAmount(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyDTO {
s.UserPayAmount = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest struct {
/*
当前页码从1开始 defalutValue:1 */
Current *int64 `json:"current,omitempty" `
/*
页大小 defalutValue:20 */
PageSize *int64 `json:"page_size,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
账单开始时间,默认系统时间前一天 */
BillStartDate *int64 `json:"bill_start_date,omitempty" `
/*
账单结束时间,默认系统时间前一天 */
BillEndDate *int64 `json:"bill_end_date,omitempty" `
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest) SetCurrent(v int64) *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest {
s.Current = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest) SetPageSize(v int64) *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest {
s.PageSize = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest) SetStoreId(v string) *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest) SetBillStartDate(v int64) *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest {
s.BillStartDate = &v
return s
}
func (s *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest) SetBillEndDate(v int64) *AlibabaTclsAelophyBillDailyQueryBillDailyQueryRequest {
s.BillEndDate = &v
return s
}

View File

@@ -0,0 +1,70 @@
package domain
type AlibabaTclsAelophyBillDetailQueryApiPageResults struct {
/*
当前页码 */
PageIndex *int64 `json:"page_index,omitempty" `
/*
页码大小 */
PageSize *int64 `json:"page_size,omitempty" `
/*
总页数 */
PageCount *int64 `json:"page_count,omitempty" `
/*
总记录数 */
Total *int64 `json:"total,omitempty" `
/*
结果集 */
Model *[]AlibabaTclsAelophyBillDetailQueryBillDetailDTO `json:"model,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误描述 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetPageIndex(v int64) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.PageIndex = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetPageSize(v int64) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.PageSize = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetPageCount(v int64) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.PageCount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetTotal(v int64) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.Total = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetModel(v []AlibabaTclsAelophyBillDetailQueryBillDetailDTO) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.Model = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetSuccess(v bool) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetErrMsg(v string) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryApiPageResults) SetErrCode(v string) *AlibabaTclsAelophyBillDetailQueryApiPageResults {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,214 @@
package domain
type AlibabaTclsAelophyBillDetailQueryBillDetailDTO struct {
/*
商家编码 */
MerchantCode *string `json:"merchant_code,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
渠道 */
OrderFrom *string `json:"order_from,omitempty" `
/*
明细单据唯一结算标识 */
SettleBizId *string `json:"settle_biz_id,omitempty" `
/*
账单日期 */
BillDate *string `json:"bill_date,omitempty" `
/*
商家应收金额,正号代表收入,负号代表支出 */
SettleAmount *string `json:"settle_amount,omitempty" `
/*
商品总金额 */
SkuAmount *string `json:"sku_amount,omitempty" `
/*
计费基数 */
ChargeBaseAmount *string `json:"charge_base_amount,omitempty" `
/*
商户应收包装费总额,正号代表收入,负号代表支出 */
PackageAmount *string `json:"package_amount,omitempty" `
/*
商户应收总运费,正号代表收入,负号代表支出 */
SendAmount *string `json:"send_amount,omitempty" `
/*
商户补贴总金额,正负号存在渠道差异 */
MerchantSubsidyAmount *string `json:"merchant_subsidy_amount,omitempty" `
/*
平台营销补贴费用,正号代表收入,负号代表支出 */
PlatSubsidyAmount *string `json:"plat_subsidy_amount,omitempty" `
/*
品牌营销补贴费用,正号代表收入,负号代表支出 */
BrandSubsidyAmount *string `json:"brand_subsidy_amount,omitempty" `
/*
代理商营销补贴费用,正号代表收入,负号代表支出 */
AgentSubsidyAmount *string `json:"agent_subsidy_amount,omitempty" `
/*
技术服务费,正号代表收入,负号代表支出 */
ChannelCommissionAmount *string `json:"channel_commission_amount,omitempty" `
/*
基础物流费,正号代表收入,负号代表支出 */
BaseLogisticsAmount *string `json:"base_logistics_amount,omitempty" `
/*
增值服务费,正号代表收入,负号代表支出 */
AddedValueAmount *string `json:"added_value_amount,omitempty" `
/*
其它服务费,正号代表收入,负号代表支出 */
OtherFeeAmount *string `json:"other_fee_amount,omitempty" `
/*
手续费,正号代表收入,负号代表支出 */
HandleFeeAmount *string `json:"handle_fee_amount,omitempty" `
/*
其它费用 */
ExtendInfo *string `json:"extend_info,omitempty" `
/*
账单类型 */
Type *string `json:"type,omitempty" `
/*
渠道订单号 */
ChannelOrderId *string `json:"channel_order_id,omitempty" `
/*
平台红包补贴 */
PlatformVoucherSubsidyFee *string `json:"platform_voucher_subsidy_fee,omitempty" `
/*
商家承担红包补贴费用 */
MerchantVoucherSubsidyFee *string `json:"merchant_voucher_subsidy_fee,omitempty" `
/*
平台包装费 */
PlatPackageFee *string `json:"plat_package_fee,omitempty" `
/*
用户实付金额 */
UserPayAmount *string `json:"user_pay_amount,omitempty" `
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetMerchantCode(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.MerchantCode = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetStoreId(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetOrderFrom(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetSettleBizId(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.SettleBizId = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetBillDate(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.BillDate = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetSettleAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.SettleAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetSkuAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.SkuAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetChargeBaseAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.ChargeBaseAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetPackageAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.PackageAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetSendAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.SendAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetMerchantSubsidyAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.MerchantSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetPlatSubsidyAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.PlatSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetBrandSubsidyAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.BrandSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetAgentSubsidyAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.AgentSubsidyAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetChannelCommissionAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.ChannelCommissionAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetBaseLogisticsAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.BaseLogisticsAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetAddedValueAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.AddedValueAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetOtherFeeAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.OtherFeeAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetHandleFeeAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.HandleFeeAmount = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetExtendInfo(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.ExtendInfo = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetType(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.Type = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetChannelOrderId(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.ChannelOrderId = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetPlatformVoucherSubsidyFee(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.PlatformVoucherSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetMerchantVoucherSubsidyFee(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.MerchantVoucherSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetPlatPackageFee(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.PlatPackageFee = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailDTO) SetUserPayAmount(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailDTO {
s.UserPayAmount = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest struct {
/*
查询的页码从1开始 defalutValue:1 */
Current *int64 `json:"current,omitempty" `
/*
页大小 defalutValue:20 */
PageSize *int64 `json:"page_size,omitempty" `
/*
经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
账单起始时间: yyyyMMdd defalutValue:默认系统时间前一天 */
BillStartDate *int64 `json:"bill_start_date,omitempty" `
/*
账单结束时间: yyyyMMdd defalutValue:默认系统时间前一天 */
BillEndDate *int64 `json:"bill_end_date,omitempty" `
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest) SetCurrent(v int64) *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest {
s.Current = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest) SetPageSize(v int64) *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest {
s.PageSize = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest) SetStoreId(v string) *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest) SetBillStartDate(v int64) *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest {
s.BillStartDate = &v
return s
}
func (s *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest) SetBillEndDate(v int64) *AlibabaTclsAelophyBillDetailQueryBillDetailQueryRequest {
s.BillEndDate = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyBillVerificateCallbackApiResult struct {
/*
回调是否处理成功 */
Success *bool `json:"success,omitempty" `
/*
错误说明 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaTclsAelophyBillVerificateCallbackApiResult) SetSuccess(v bool) *AlibabaTclsAelophyBillVerificateCallbackApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackApiResult) SetErrMsg(v string) *AlibabaTclsAelophyBillVerificateCallbackApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackApiResult) SetErrCode(v string) *AlibabaTclsAelophyBillVerificateCallbackApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,62 @@
package domain
type AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto struct {
/*
核销说明, 核销失败则填写核销失败原因 */
Remark *string `json:"remark,omitempty" `
/*
核销时间 YYYY-MM-DD HH:MI:SS */
VerificateTime *string `json:"verificate_time,omitempty" `
/*
核销状态 1=核销完成 2=核销失败 */
VerificateStatus *int64 `json:"verificate_status,omitempty" `
/*
核销账单类型 1=正向 / 2=逆向 */
BillType *int64 `json:"bill_type,omitempty" `
/*
核销账单ID */
BillOrderId *string `json:"bill_order_id,omitempty" `
/*
业务经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
商家编码 */
MerchantCode *string `json:"merchant_code,omitempty" `
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetRemark(v string) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.Remark = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetVerificateTime(v string) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.VerificateTime = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetVerificateStatus(v int64) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.VerificateStatus = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetBillType(v int64) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.BillType = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetBillOrderId(v string) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.BillOrderId = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetStoreId(v string) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto) SetMerchantCode(v string) *AlibabaTclsAelophyBillVerificateCallbackVerificateCallbackDto {
s.MerchantCode = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCancelApiResult struct {
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelOrderCancelApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo struct {
/*
外部订单ID */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
渠道来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderCancelOrderUserCancelInfo {
s.ShopId = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCreateApiResult struct {
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelOrderCreateApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCreateBuyer struct {
/*
买家标识 */
UserId *string `json:"user_id,omitempty" `
/*
买家用户名 */
UserName *string `json:"user_name,omitempty" `
/*
买家昵称 */
UserNick *string `json:"user_nick,omitempty" `
/*
买家电话 */
Phone *string `json:"phone,omitempty" `
/*
买家备注 */
UserMemo *string `json:"user_memo,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) SetUserId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer {
s.UserId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) SetUserName(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer {
s.UserName = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) SetUserNick(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer {
s.UserNick = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) SetPhone(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer {
s.Phone = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) SetUserMemo(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer {
s.UserMemo = &v
return s
}

View File

@@ -0,0 +1,56 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaTclsAelophyMerchantChannelOrderCreateConsignee struct {
/*
收件人名称 */
Name *string `json:"name,omitempty" `
/*
收件人电话 */
Phone *string `json:"phone,omitempty" `
/*
配送地址 */
Address *string `json:"address,omitempty" `
/*
配送坐标 */
Geo *string `json:"geo,omitempty" `
/*
配送开始时间 */
StartTime *util.LocalTime `json:"start_time,omitempty" `
/*
配送结束时间 */
EndTime *util.LocalTime `json:"end_time,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetName(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.Name = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetPhone(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.Phone = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetAddress(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.Address = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetGeo(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.Geo = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetStartTime(v util.LocalTime) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.StartTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) SetEndTime(v util.LocalTime) *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee {
s.EndTime = &v
return s
}

View File

@@ -0,0 +1,54 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo struct {
/*
营销活动ID */
ActivityId *string `json:"activity_id,omitempty" `
/*
营销活动类型 */
ActivityType *string `json:"activity_type,omitempty" `
/*
活动优惠金额 */
DiscountFee *int64 `json:"discount_fee,omitempty" `
/*
活动优惠金额商家分摊 */
MerchantDiscountFee *int64 `json:"merchant_discount_fee,omitempty" `
/*
活动优惠金额平台分摊 */
PlatformDiscountFee *int64 `json:"platform_discount_fee,omitempty" `
/*
活动名称 */
ActivityName *string `json:"activity_name,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetActivityId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.ActivityId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetActivityType(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.ActivityType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.DiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetMerchantDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.MerchantDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetPlatformDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.PlatformDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) SetActivityName(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo {
s.ActivityName = &v
return s
}

View File

@@ -0,0 +1,328 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo struct {
/*
买家信息 */
Buyer *AlibabaTclsAelophyMerchantChannelOrderCreateBuyer `json:"buyer,omitempty" `
/*
收件人信息 */
Consignee *AlibabaTclsAelophyMerchantChannelOrderCreateConsignee `json:"consignee,omitempty" `
/*
子订单信息 */
SubOrders *[]AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder `json:"sub_orders,omitempty" `
/*
实际支付金额 */
PayFee *int64 `json:"pay_fee,omitempty" `
/*
原始金额 */
OriginFee *int64 `json:"origin_fee,omitempty" `
/*
优惠金额 */
DiscountFee *int64 `json:"discount_fee,omitempty" `
/*
运费 */
PostFee *int64 `json:"post_fee,omitempty" `
/*
外部订单号 */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
订单状态 */
OrderStatus *string `json:"order_status,omitempty" `
/*
支付时间 */
PayTime *util.LocalTime `json:"pay_time,omitempty" `
/*
创单时间 */
CreateTime *util.LocalTime `json:"create_time,omitempty" `
/*
订单来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
配送方式 1:平台配送 2:商家自配送 3:到店自提 */
PickupType *int64 `json:"pickup_type,omitempty" `
/*
平台佣金 */
Commission *int64 `json:"commission,omitempty" `
/*
订单小号 */
SerialNo *string `json:"serial_no,omitempty" `
/*
包装费 */
PackageFee *int64 `json:"package_fee,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
/*
商家应收总金额 */
MerchantTotalFee *int64 `json:"merchant_total_fee,omitempty" `
/*
未分类商家总优惠 */
OtherMerchantSubsidyFee *int64 `json:"other_merchant_subsidy_fee,omitempty" `
/*
未分类平台总优惠 */
OtherPlatSubsidyFee *int64 `json:"other_plat_subsidy_fee,omitempty" `
/*
商家基础配送费 */
MerchantBaseSendFee *int64 `json:"merchant_base_send_fee,omitempty" `
/*
平台配送费补贴 */
PlatSendSubsidyFee *int64 `json:"plat_send_subsidy_fee,omitempty" `
/*
商家配送费补贴 */
MerchantSendSubsidyFee *int64 `json:"merchant_send_subsidy_fee,omitempty" `
/*
商家呼单小费 */
MerchantCallOrderFee *int64 `json:"merchant_call_order_fee,omitempty" `
/*
冷链配送费 */
ColdChainSendFee *int64 `json:"cold_chain_send_fee,omitempty" `
/*
商家呼单配送费 */
MerchantCallOrderSendFee *int64 `json:"merchant_call_order_send_fee,omitempty" `
/*
配送保险 */
SendInsuranceFee *int64 `json:"send_insurance_fee,omitempty" `
/*
物流驻店服务费 */
LogisticsShopServiceFee *int64 `json:"logistics_shop_service_fee,omitempty" `
/*
实收增值服务费 */
ActualIncrementServiceFee *int64 `json:"actual_increment_service_fee,omitempty" `
/*
履约增值服务费 */
PerformanceIncrementServiceFee *int64 `json:"performance_increment_service_fee,omitempty" `
/*
距离加价履约费 */
DistanceIncreasePerformanceFee *int64 `json:"distance_increase_performance_fee,omitempty" `
/*
时段加价履约费 */
TimeIncreasePerformanceFee *int64 `json:"time_increase_performance_fee,omitempty" `
/*
公益捐款 */
MerchantPublicDonation *int64 `json:"merchant_public_donation,omitempty" `
/*
用户积分抵扣金额 */
PlatPointsDeductionFee *int64 `json:"plat_points_deduction_fee,omitempty" `
/*
自提服务费优惠金额 */
SelfPickDiscountFee *int64 `json:"self_pick_discount_fee,omitempty" `
/*
自提服务费 */
SelfPickPayableFee *int64 `json:"self_pick_payable_fee,omitempty" `
/*
价格加价履约费 */
PriceIncreasePerformanceFee *int64 `json:"price_increase_performance_fee,omitempty" `
/*
支付渠道不填会默认使用类型1支付金额=主单的payFee */
PayChannels *[]AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel `json:"pay_channels,omitempty" `
/*
订单扩展数据 */
Ext *string `json:"ext,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetBuyer(v AlibabaTclsAelophyMerchantChannelOrderCreateBuyer) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.Buyer = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetConsignee(v AlibabaTclsAelophyMerchantChannelOrderCreateConsignee) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.Consignee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetSubOrders(v []AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.SubOrders = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPayFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PayFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOriginFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OriginFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.DiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPostFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PostFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOrderStatus(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OrderStatus = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPayTime(v util.LocalTime) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PayTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetCreateTime(v util.LocalTime) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.CreateTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPickupType(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PickupType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetCommission(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.Commission = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetSerialNo(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.SerialNo = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPackageFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PackageFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.ShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantTotalFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantTotalFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOtherMerchantSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OtherMerchantSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetOtherPlatSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.OtherPlatSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantBaseSendFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantBaseSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPlatSendSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PlatSendSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantSendSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantSendSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantCallOrderFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantCallOrderFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetColdChainSendFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.ColdChainSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantCallOrderSendFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantCallOrderSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetSendInsuranceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.SendInsuranceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetLogisticsShopServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.LogisticsShopServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetActualIncrementServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.ActualIncrementServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPerformanceIncrementServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PerformanceIncrementServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetDistanceIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.DistanceIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetTimeIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.TimeIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetMerchantPublicDonation(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.MerchantPublicDonation = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPlatPointsDeductionFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PlatPointsDeductionFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetSelfPickDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.SelfPickDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetSelfPickPayableFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.SelfPickPayableFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPriceIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PriceIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetPayChannels(v []AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.PayChannels = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo) SetExt(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateOrderInfo {
s.Ext = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel struct {
/*
支付渠道类型 1.默认 10-支付宝 20-微信支付 30-积分支付 40-储值卡支付 50-银行卡支付。有支付渠道的情况下,必填。 必须是翱象支持的支付渠道,否则报错。 */
PayChannelType *int64 `json:"pay_channel_type,omitempty" `
/*
当前支付渠道的支付金额,单位分。有支付渠道的情况下,必填。 */
PayFee *int64 `json:"pay_fee,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel) SetPayChannelType(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel {
s.PayChannelType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel) SetPayFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreatePayChannel {
s.PayFee = &v
return s
}

View File

@@ -0,0 +1,102 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder struct {
/*
外部子单号 */
SubOutOrderId *string `json:"sub_out_order_id,omitempty" `
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
销售商品数量 */
SaleQuantity *int64 `json:"sale_quantity,omitempty" `
/*
销售单价 */
SalePrice *int64 `json:"sale_price,omitempty" `
/*
实际支付金额 */
PayFee *int64 `json:"pay_fee,omitempty" `
/*
原始金额 */
OriginFee *int64 `json:"origin_fee,omitempty" `
/*
优惠金额 */
DiscountFee *int64 `json:"discount_fee,omitempty" `
/*
营销优惠明细 */
DiscountInfos *[]AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo `json:"discount_infos,omitempty" `
/*
子单优惠金额商家分摊 */
MerchantDiscountFee *int64 `json:"merchant_discount_fee,omitempty" `
/*
子单优惠金额平台分摊 */
PlatformDiscountFee *int64 `json:"platform_discount_fee,omitempty" `
/*
子单商品总重量 */
TotalWeight *int64 `json:"total_weight,omitempty" `
/*
处理方式 */
HandlingType *string `json:"handling_type,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetSubOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.SubOutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetSaleQuantity(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.SaleQuantity = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetSalePrice(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.SalePrice = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetPayFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.PayFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetOriginFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.OriginFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.DiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetDiscountInfos(v []AlibabaTclsAelophyMerchantChannelOrderCreateDiscountInfo) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.DiscountInfos = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetMerchantDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.MerchantDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetPlatformDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.PlatformDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetTotalWeight(v int64) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.TotalWeight = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder) SetHandlingType(v string) *AlibabaTclsAelophyMerchantChannelOrderCreateSubOrder {
s.HandlingType = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult struct {
/*
返回码说明 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
返回码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
商品校验结果返回对象 */
Model *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult) SetModel(v AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse) *AlibabaTclsAelophyMerchantChannelOrderPrecheckApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse struct {
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
是否可作业 */
CanFulfill *bool `json:"can_fulfill,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse) SetCanFulfill(v bool) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse {
s.CanFulfill = &v
return s
}

View File

@@ -0,0 +1,54 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest struct {
/*
渠道店ID */
ShopId *string `json:"shop_id,omitempty" `
/*
配送地址经纬度 */
Geo *string `json:"geo,omitempty" `
/*
CartScene = 购物车场景 / PostOrderScene = 进入支付场景 */
Scene *string `json:"scene,omitempty" `
/*
选择时间片日期, PostOrderScene场景必填 */
TimeSliceDate *string `json:"time_slice_date,omitempty" `
/*
选择时间片时间段, PostOrderScene场景必填 */
TimeSlice *string `json:"time_slice,omitempty" `
/*
购买商品列表 */
SkuList *[]AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo `json:"sku_list,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.ShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetGeo(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.Geo = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetScene(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.Scene = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetTimeSliceDate(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.TimeSliceDate = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetTimeSlice(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.TimeSlice = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest) SetSkuList(v []AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckRequest {
s.SkuList = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse struct {
/*
履约前置校验扩展数据 */
Ext *string `json:"ext,omitempty" `
/*
商品是否可作业信息 */
ProductList *[]AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse `json:"product_list,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse) SetExt(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse {
s.Ext = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse) SetProductList(v []AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckProductResponse) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPreCheckResponse {
s.ProductList = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo struct {
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
加购数量 */
Quantity *string `json:"quantity,omitempty" `
/*
商品履约线路 */
LineInstances *string `json:"line_instances,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo) SetQuantity(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo {
s.Quantity = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo) SetLineInstances(v string) *AlibabaTclsAelophyMerchantChannelOrderPrecheckPromiseSkuInfo {
s.LineInstances = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult struct {
/*
返回码说明 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
返回码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
返回的时间片数据 */
Model *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult) SetModel(v AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse) *AlibabaTclsAelophyMerchantChannelOrderSlicegetApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct struct {
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
商品履约线路 */
LineInstances *string `json:"line_instances,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct) SetLineInstances(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct {
s.LineInstances = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo struct {
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
加购数量 */
Quantity *string `json:"quantity,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo) SetQuantity(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo {
s.Quantity = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice struct {
/*
时间片日期 YYYY-MM-DD */
SliceDate *string `json:"slice_date,omitempty" `
/*
时间片小时维度列表, 单个时间片格式为09:00-09:30 */
SliceList *[]string `json:"slice_list,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice) SetSliceDate(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice {
s.SliceDate = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice) SetSliceList(v []string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice {
s.SliceList = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest struct {
/*
渠道店ID */
ShopId *string `json:"shop_id,omitempty" `
/*
配送地址经纬度 */
Geo *string `json:"geo,omitempty" `
/*
购买商品列表 */
SkuList *[]AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo `json:"sku_list,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest {
s.ShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest) SetGeo(v string) *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest {
s.Geo = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest) SetSkuList(v []AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseSkuInfo) *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetRequest {
s.SkuList = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse struct {
/*
时间片列表 */
TimeSliceList *[]AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice `json:"time_slice_list,omitempty" `
/*
商品信息 */
ProductList *[]AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct `json:"product_list,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse) SetTimeSliceList(v []AlibabaTclsAelophyMerchantChannelOrderSlicegetPromiseTimeSlice) *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse {
s.TimeSliceList = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse) SetProductList(v []AlibabaTclsAelophyMerchantChannelOrderSlicegetFulfillProduct) *AlibabaTclsAelophyMerchantChannelOrderSlicegetTimeSliceGetResponse {
s.ProductList = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult struct {
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusApiResult {
s.ErrCode = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo struct {
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
外部订单号 */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
订单状态 已支付: PAID TRADE_CLOSE仅未支付订单 */
OrderStatus *string `json:"order_status,omitempty" `
/*
渠道来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo) SetOrderStatus(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo {
s.OrderStatus = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelOrderUpdatestatusOrderStatusInfo {
s.ShopId = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundApplyApiResult struct {
/*
返回码说明 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
返回码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelRefundApplyApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,110 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo struct {
/*
外部主单号 */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
外部逆向单ID */
OutRefundId *string `json:"out_refund_id,omitempty" `
/*
申请退款金额,单位:分 */
RefundFee *int64 `json:"refund_fee,omitempty" `
/*
退款原因 */
RefundReason *string `json:"refund_reason,omitempty" `
/*
退的运费 */
RefundPostFee *int64 `json:"refund_post_fee,omitempty" `
/*
退的包装费 */
RefundPackageFee *int64 `json:"refund_package_fee,omitempty" `
/*
逆向子单列表 */
SubRefundOrders *[]AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder `json:"sub_refund_orders,omitempty" `
/*
渠道来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
/*
退款类型1:仅退款。2.仅退货。3.退货退款 */
RefundType *int64 `json:"refund_type,omitempty" `
/*
退款备注、或问题描述等补充性文本 */
RefundNote *string `json:"refund_note,omitempty" `
/*
退款图片清单 */
RefundPics *[]string `json:"refund_pics,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetOutRefundId(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.OutRefundId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundReason(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundReason = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundPostFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundPostFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundPackageFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundPackageFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetSubRefundOrders(v []AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.SubRefundOrders = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.ShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundType(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundNote(v string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundNote = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo) SetRefundPics(v []string) *AlibabaTclsAelophyMerchantChannelRefundApplyRefundApplyInfo {
s.RefundPics = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder struct {
/*
外部子单号 */
SubOutOrderId *string `json:"sub_out_order_id,omitempty" `
/*
退款数量 */
RefundQuantity *int64 `json:"refund_quantity,omitempty" `
/*
退款金额,单位:分 */
RefundFee *int64 `json:"refund_fee,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder) SetSubOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder {
s.SubOutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder) SetRefundQuantity(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder {
s.RefundQuantity = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder) SetRefundFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundApplySubRefundOrder {
s.RefundFee = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCancelApiResult struct {
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
返回码 */
ErrCode *string `json:"err_code,omitempty" `
/*
返回码说明 */
ErrMsg *string `json:"err_msg,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelApiResult {
s.ErrMsg = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo struct {
/*
外部主单号 */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
外部逆向单ID */
OutRefundId *string `json:"out_refund_id,omitempty" `
/*
渠道来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo) SetOutRefundId(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo {
s.OutRefundId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundCancelRefundCancelInfo {
s.ShopId = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult struct {
/*
返回码说明 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
返回码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantChannelRefundCompleteApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,54 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo struct {
/*
营销活动Id */
ActivityId *string `json:"activity_id,omitempty" `
/*
营销活动类型 */
ActivityType *string `json:"activity_type,omitempty" `
/*
优惠金额,单位:分 */
DiscountFee *int64 `json:"discount_fee,omitempty" `
/*
该活动下商家分摊优惠金额,单位:分 */
MerchantDiscountFee *int64 `json:"merchant_discount_fee,omitempty" `
/*
该活动下平台分摊优惠金额,单位:分 */
PlatformDiscountFee *int64 `json:"platform_discount_fee,omitempty" `
/*
活动名称 */
ActivityName *string `json:"activity_name,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetActivityId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.ActivityId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetActivityType(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.ActivityType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.DiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetMerchantDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.MerchantDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetPlatformDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.PlatformDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) SetActivityName(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo {
s.ActivityName = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel struct {
/*
支付渠道类型 1.默认 10-支付宝 20-微信支付 30-积分支付 40-储值卡支付 50-银行卡支付。有支付渠道的情况下,必填。 必须是翱象支持的支付渠道,否则报错。 */
PayChannelType *int64 `json:"pay_channel_type,omitempty" `
/*
当前支付渠道的退款金额,单位分。有支付渠道的情况下,必填。 */
RefundFee *int64 `json:"refund_fee,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel) SetPayChannelType(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel {
s.PayChannelType = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel) SetRefundFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel {
s.RefundFee = &v
return s
}

View File

@@ -0,0 +1,262 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo struct {
/*
外部主单号 */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
外部渠道店ID(与shop_id必选其一) */
OutShopId *string `json:"out_shop_id,omitempty" `
/*
外部逆向单ID */
OutRefundId *string `json:"out_refund_id,omitempty" `
/*
退的商品费 */
RefundFee *int64 `json:"refund_fee,omitempty" `
/*
退的运费 */
RefundPostFee *int64 `json:"refund_post_fee,omitempty" `
/*
退的包装费 */
RefundPackageFee *int64 `json:"refund_package_fee,omitempty" `
/*
子单 */
SubRefundOrders *[]AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder `json:"sub_refund_orders,omitempty" `
/*
订单来源(选填out_shop_id时该值必填) */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
渠道店id(与out_shop_id必选其一) */
ShopId *string `json:"shop_id,omitempty" `
/*
渠道退商家的佣金,单位:分 */
Commission *int64 `json:"commission,omitempty" `
/*
未分类商家总优惠,单位:分 */
OtherMerchantSubsidyFee *int64 `json:"other_merchant_subsidy_fee,omitempty" `
/*
未分类平台总优惠,单位:分 */
OtherPlatSubsidyFee *int64 `json:"other_plat_subsidy_fee,omitempty" `
/*
商家应退给平台的金额,单位:分 */
MerchantTotalFee *int64 `json:"merchant_total_fee,omitempty" `
/*
退的渠道配送费补贴,单位:分 */
PlatSendSubsidyFee *int64 `json:"plat_send_subsidy_fee,omitempty" `
/*
退的商家配送费补贴,单位:分 */
MerchantSendSubsidyFee *int64 `json:"merchant_send_subsidy_fee,omitempty" `
/*
商家呼单小费,单位:分 */
MerchantCallOrderFee *int64 `json:"merchant_call_order_fee,omitempty" `
/*
冷链配送费,单位:分 */
ColdChainSendFee *int64 `json:"cold_chain_send_fee,omitempty" `
/*
商家呼单配送费,单位:分 */
MerchantCallOrderSendFee *int64 `json:"merchant_call_order_send_fee,omitempty" `
/*
配送保险,单位:分 */
SendInsuranceFee *int64 `json:"send_insurance_fee,omitempty" `
/*
物流驻店服务费,单位:分 */
LogisticsShopServiceFee *int64 `json:"logistics_shop_service_fee,omitempty" `
/*
实收增值服务费,单位:分 */
ActualIncrementServiceFee *int64 `json:"actual_increment_service_fee,omitempty" `
/*
履约增值服务费,单位:分 */
PerformanceIncrementServiceFee *int64 `json:"performance_increment_service_fee,omitempty" `
/*
距离加价履约费,单位:分 */
DistanceIncreasePerformanceFee *int64 `json:"distance_increase_performance_fee,omitempty" `
/*
时段加价履约费,单位:分 */
TimeIncreasePerformanceFee *int64 `json:"time_increase_performance_fee,omitempty" `
/*
公益捐款,单位:分 */
MerchantPublicDonation *int64 `json:"merchant_public_donation,omitempty" `
/*
用户积分抵扣金额,单位:分 */
PlatPointsDeductionFee *int64 `json:"plat_points_deduction_fee,omitempty" `
/*
自提服务费优惠金额,单位:分 */
SelfPickDiscountFee *int64 `json:"self_pick_discount_fee,omitempty" `
/*
自提服务费,单位:分 */
SelfPickPayableFee *int64 `json:"self_pick_payable_fee,omitempty" `
/*
商家基础配送费,单位:分 */
MerchantBaseSendFee *int64 `json:"merchant_base_send_fee,omitempty" `
/*
价格加价履约费,单位:分 */
PriceIncreasePerformanceFee *int64 `json:"price_increase_performance_fee,omitempty" `
/*
支付渠道 */
PayChannels *[]AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel `json:"pay_channels,omitempty" `
/*
退款原因类型10-整单全缺;11-订单部分缺;12-商家侧发起的退款(商家拒单); 13-用户侧发起的退款(用户逆向申请);15-用户拒收 */
RefundReasonType *int64 `json:"refund_reason_type,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOutShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OutShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOutRefundId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OutRefundId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetRefundFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.RefundFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetRefundPostFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.RefundPostFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetRefundPackageFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.RefundPackageFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetSubRefundOrders(v []AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.SubRefundOrders = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOrderFrom(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetShopId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.ShopId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetCommission(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.Commission = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOtherMerchantSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OtherMerchantSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetOtherPlatSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.OtherPlatSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantTotalFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantTotalFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetPlatSendSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.PlatSendSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantSendSubsidyFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantSendSubsidyFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantCallOrderFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantCallOrderFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetColdChainSendFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.ColdChainSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantCallOrderSendFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantCallOrderSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetSendInsuranceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.SendInsuranceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetLogisticsShopServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.LogisticsShopServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetActualIncrementServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.ActualIncrementServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetPerformanceIncrementServiceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.PerformanceIncrementServiceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetDistanceIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.DistanceIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetTimeIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.TimeIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantPublicDonation(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantPublicDonation = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetPlatPointsDeductionFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.PlatPointsDeductionFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetSelfPickDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.SelfPickDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetSelfPickPayableFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.SelfPickPayableFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetMerchantBaseSendFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.MerchantBaseSendFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetPriceIncreasePerformanceFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.PriceIncreasePerformanceFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetPayChannels(v []AlibabaTclsAelophyMerchantChannelRefundCompletePayChannel) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.PayChannels = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo) SetRefundReasonType(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteRefundCompleteInfo {
s.RefundReasonType = &v
return s
}

View File

@@ -0,0 +1,78 @@
package domain
type AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder struct {
/*
外部子单号 */
SubOutOrderId *string `json:"sub_out_order_id,omitempty" `
/*
商品编码 */
SkuCode *string `json:"sku_code,omitempty" `
/*
子单退货数量 */
RefundQuantity *int64 `json:"refund_quantity,omitempty" `
/*
子单退款金额,单位:分 */
RefundFee *int64 `json:"refund_fee,omitempty" `
/*
子单退款重量 */
RefundWeight *int64 `json:"refund_weight,omitempty" `
/*
退款商品的优惠金额,单位:分 */
DiscountFee *int64 `json:"discount_fee,omitempty" `
/*
退款商品的商家分摊优惠金额,单位:分 */
MerchantDiscountFee *int64 `json:"merchant_discount_fee,omitempty" `
/*
退款商品的平台分摊优惠金额,单位:分 */
PlatformDiscountFee *int64 `json:"platform_discount_fee,omitempty" `
/*
营销优惠明细 */
DiscountInfos *[]AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo `json:"discount_infos,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetSubOutOrderId(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.SubOutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetSkuCode(v string) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.SkuCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetRefundQuantity(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.RefundQuantity = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetRefundFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.RefundFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetRefundWeight(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.RefundWeight = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.DiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetMerchantDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.MerchantDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetPlatformDiscountFee(v int64) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.PlatformDiscountFee = &v
return s
}
func (s *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder) SetDiscountInfos(v []AlibabaTclsAelophyMerchantChannelRefundCompleteDiscountInfo) *AlibabaTclsAelophyMerchantChannelRefundCompleteSubRefundOrder {
s.DiscountInfos = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyMerchantIdMixApiResult struct {
/*
获取mixId成功 */
Success *bool `json:"success,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
返回混淆id */
Model *string `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantIdMixApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantIdMixApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantIdMixApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantIdMixApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantIdMixApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantIdMixApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantIdMixApiResult) SetModel(v string) *AlibabaTclsAelophyMerchantIdMixApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyMerchantUserUploadApiResult struct {
/*
是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
/*
错误信息描述 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
model */
Model *bool `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantUserUploadApiResult) SetSuccess(v bool) *AlibabaTclsAelophyMerchantUserUploadApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadApiResult) SetErrCode(v string) *AlibabaTclsAelophyMerchantUserUploadApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadApiResult) SetErrMsg(v string) *AlibabaTclsAelophyMerchantUserUploadApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadApiResult) SetModel(v bool) *AlibabaTclsAelophyMerchantUserUploadApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,200 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo struct {
/*
真实手机号 */
RealPhone *string `json:"real_phone,omitempty" `
/*
生日 */
Birthday *util.LocalTime `json:"birthday,omitempty" `
/*
地址 */
Address *string `json:"address,omitempty" `
/*
性别 */
Gender *string `json:"gender,omitempty" `
/*
注册时间 */
RegisterTime *util.LocalTime `json:"register_time,omitempty" `
/*
等级 */
MemberLevel *string `json:"member_level,omitempty" `
/*
入会来源 */
Source *string `json:"source,omitempty" `
/*
用户名 */
UserName *string `json:"user_name,omitempty" `
/*
卡号 */
CardNo *string `json:"card_no,omitempty" `
/*
积分余额,可以为小数 */
ScoreBalance *string `json:"score_balance,omitempty" `
/*
自定义渠道类型 */
CustomizeChannel *string `json:"customize_channel,omitempty" `
/*
商家侧统一用户标识ID,如统一会员id */
UnionUid *string `json:"union_uid,omitempty" `
/*
渠道用户ID如erp会员id淘宝openid、饿了么uid、微信openId */
ChannelUserId *string `json:"channel_user_id,omitempty" `
/*
储值卡余额,需要统一单位为”分“,然后取整上传 */
CardBalance *int64 `json:"card_balance,omitempty" `
/*
扩项属性 */
ExtendProperty *string `json:"extend_property,omitempty" `
/*
会员开始时间 */
StartTime *util.LocalTime `json:"start_time,omitempty" `
/*
会员结束时间 */
EndTime *util.LocalTime `json:"end_time,omitempty" `
/*
是否续费 defalutValue:false */
Renew *bool `json:"renew,omitempty" `
/*
引导来源标识,填写引导来源标识备注,如门店编码 */
SourceTag *string `json:"source_tag,omitempty" `
/*
是否付费 defalutValue:false */
PayMember *bool `json:"pay_member,omitempty" `
/*
storeMember门店会员txd淘鲜达eleme饿了么weixin微信小程序 */
ChannelCode *string `json:"channel_code,omitempty" `
/*
isv系统中的完整的用户信息 */
OriginWholeData *string `json:"origin_whole_data,omitempty" `
/*
微信名 */
WxUserName *string `json:"wx_user_name,omitempty" `
/*
微信unionId */
WxUnionId *string `json:"wx_union_id,omitempty" `
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetRealPhone(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.RealPhone = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetBirthday(v util.LocalTime) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.Birthday = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetAddress(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.Address = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetGender(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.Gender = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetRegisterTime(v util.LocalTime) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.RegisterTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetMemberLevel(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.MemberLevel = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetSource(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.Source = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetUserName(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.UserName = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetCardNo(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.CardNo = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetScoreBalance(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.ScoreBalance = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetCustomizeChannel(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.CustomizeChannel = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetUnionUid(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.UnionUid = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetChannelUserId(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.ChannelUserId = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetCardBalance(v int64) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.CardBalance = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetExtendProperty(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.ExtendProperty = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetStartTime(v util.LocalTime) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.StartTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetEndTime(v util.LocalTime) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.EndTime = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetRenew(v bool) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.Renew = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetSourceTag(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.SourceTag = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetPayMember(v bool) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.PayMember = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetChannelCode(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.ChannelCode = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetOriginWholeData(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.OriginWholeData = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetWxUserName(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.WxUserName = &v
return s
}
func (s *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo) SetWxUnionId(v string) *AlibabaTclsAelophyMerchantUserUploadMerchantUserInfo {
s.WxUnionId = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyOrderReceiptQueryApiResult struct {
/*
错误码 */
ErrCode *string `json:"err_code,omitempty" `
/*
接口状态 */
Status *bool `json:"status,omitempty" `
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
打印商家/顾客联小票数据列表 */
OrderList *[]AlibabaTclsAelophyOrderReceiptQueryReceiptDTO `json:"order_list,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryApiResult) SetErrCode(v string) *AlibabaTclsAelophyOrderReceiptQueryApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryApiResult) SetStatus(v bool) *AlibabaTclsAelophyOrderReceiptQueryApiResult {
s.Status = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryApiResult) SetErrMsg(v string) *AlibabaTclsAelophyOrderReceiptQueryApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryApiResult) SetOrderList(v []AlibabaTclsAelophyOrderReceiptQueryReceiptDTO) *AlibabaTclsAelophyOrderReceiptQueryApiResult {
s.OrderList = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO struct {
/*
买家姓名 */
BuyerName *string `json:"buyer_name,omitempty" `
/*
买家电话号码 */
BuyerPhone *string `json:"buyer_phone,omitempty" `
/*
收货地址 */
BuyerAddress *string `json:"buyer_address,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO) SetBuyerName(v string) *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO {
s.BuyerName = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO) SetBuyerPhone(v string) *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO {
s.BuyerPhone = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO) SetBuyerAddress(v string) *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO {
s.BuyerAddress = &v
return s
}

View File

@@ -0,0 +1,110 @@
package domain
type AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO struct {
/*
库存单位 */
SkuStockUnit *string `json:"sku_stock_unit,omitempty" `
/*
商品原单价 */
ItemUnitPrice *string `json:"item_unit_price,omitempty" `
/*
商品编码 */
ItemCode *string `json:"item_code,omitempty" `
/*
缺货出件数 */
OutOfStockItemCount *int64 `json:"out_of_stock_item_count,omitempty" `
/*
商品应拣数量 */
ExpectItemCount *int64 `json:"expect_item_count,omitempty" `
/*
加工服务 */
ServiceNames *[]string `json:"service_names,omitempty" `
/*
实称重量 */
NonstandardItemCount *string `json:"nonstandard_item_count,omitempty" `
/*
商品原合计金额 */
TotalAmount *string `json:"total_amount,omitempty" `
/*
商品应拣重量 */
ExpectStockQuantity *string `json:"expect_stock_quantity,omitempty" `
/*
商品名称 */
ItemName *string `json:"item_name,omitempty" `
/*
温层信息 */
StorageMode *int64 `json:"storage_mode,omitempty" `
/*
条形码 */
Barcode *string `json:"barcode,omitempty" `
/*
是否标品 */
StandardSku *bool `json:"standard_sku,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetSkuStockUnit(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.SkuStockUnit = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetItemUnitPrice(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ItemUnitPrice = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetItemCode(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ItemCode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetOutOfStockItemCount(v int64) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.OutOfStockItemCount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetExpectItemCount(v int64) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ExpectItemCount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetServiceNames(v []string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ServiceNames = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetNonstandardItemCount(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.NonstandardItemCount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetTotalAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.TotalAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetExpectStockQuantity(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ExpectStockQuantity = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetItemName(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.ItemName = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetStorageMode(v int64) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.StorageMode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetBarcode(v string) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.Barcode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) SetStandardSku(v bool) *AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO {
s.StandardSku = &v
return s
}

View File

@@ -0,0 +1,14 @@
package domain
type AlibabaTclsAelophyOrderReceiptQueryReceiptDTO struct {
/*
商家/顾客联小票数据 */
ReceiptInfo *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO `json:"receipt_info,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptDTO) SetReceiptInfo(v AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) *AlibabaTclsAelophyOrderReceiptQueryReceiptDTO {
s.ReceiptInfo = &v
return s
}

View File

@@ -0,0 +1,224 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO struct {
/*
批次名称 */
BatchName *string `json:"batch_name,omitempty" `
/*
淘宝订单号 */
TbOrderId *string `json:"tb_order_id,omitempty" `
/*
取消退款金额 */
CancelAmount *string `json:"cancel_amount,omitempty" `
/*
渠道号 */
OrderNum *string `json:"order_num,omitempty" `
/*
优惠金额 */
DiscountAmount *string `json:"discount_amount,omitempty" `
/*
备注 */
Remark *string `json:"remark,omitempty" `
/*
批次号 */
BatchId *string `json:"batch_id,omitempty" `
/*
店仓名称 */
WarehouseName *string `json:"warehouse_name,omitempty" `
/*
店仓code */
WarehouseCode *string `json:"warehouse_code,omitempty" `
/*
自提点地址 */
SelfPickPlace *string `json:"self_pick_place,omitempty" `
/*
商品列表 */
ItemInfoList *[]AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO `json:"item_info_list,omitempty" `
/*
储藏方式 */
StorageMode *int64 `json:"storage_mode,omitempty" `
/*
商品总件数 */
AllItemCount *int64 `json:"all_item_count,omitempty" `
/*
缺货出状态 */
OutOfStock *bool `json:"out_of_stock,omitempty" `
/*
最晚送达时间 */
LatestArriveTime *util.LocalTime `json:"latest_arrive_time,omitempty" `
/*
实付金额 */
PayOrderAmount *string `json:"pay_order_amount,omitempty" `
/*
包装费 */
PackageFee *string `json:"package_fee,omitempty" `
/*
差额退款金额 */
RefundAmount *string `json:"refund_amount,omitempty" `
/*
渠道订单号 */
ChannelOrderId *string `json:"channel_order_id,omitempty" `
/*
发票连接 */
BillingLink *string `json:"billing_link,omitempty" `
/*
订单票联 user:顾客联seller商家联 */
TicketCouPon *[]string `json:"ticket_cou_pon,omitempty" `
/*
买家信息 */
BuyerInfo *AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO `json:"buyer_info,omitempty" `
/*
运费 */
Postage *string `json:"postage,omitempty" `
/*
商品总额 */
TotalOrderAmount *string `json:"total_order_amount,omitempty" `
/*
批次策略 */
BatchStrategy *string `json:"batch_strategy,omitempty" `
/*
业务类型 */
BusinessType *string `json:"business_type,omitempty" `
/*
履约单号 */
FulfillOrderId *string `json:"fulfill_order_id,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBatchName(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BatchName = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetTbOrderId(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.TbOrderId = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetCancelAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.CancelAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetOrderNum(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.OrderNum = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetDiscountAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.DiscountAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetRemark(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.Remark = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBatchId(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BatchId = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetWarehouseName(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.WarehouseName = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetWarehouseCode(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.WarehouseCode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetSelfPickPlace(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.SelfPickPlace = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetItemInfoList(v []AlibabaTclsAelophyOrderReceiptQueryItemInfoDTO) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.ItemInfoList = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetStorageMode(v int64) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.StorageMode = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetAllItemCount(v int64) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.AllItemCount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetOutOfStock(v bool) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.OutOfStock = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetLatestArriveTime(v util.LocalTime) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.LatestArriveTime = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetPayOrderAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.PayOrderAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetPackageFee(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.PackageFee = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetRefundAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.RefundAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetChannelOrderId(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.ChannelOrderId = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBillingLink(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BillingLink = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetTicketCouPon(v []string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.TicketCouPon = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBuyerInfo(v AlibabaTclsAelophyOrderReceiptQueryBuyerInfoDTO) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BuyerInfo = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetPostage(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.Postage = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetTotalOrderAmount(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.TotalOrderAmount = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBatchStrategy(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BatchStrategy = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetBusinessType(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.BusinessType = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO) SetFulfillOrderId(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptInfoDTO {
s.FulfillOrderId = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyOrderReceiptQueryReceiptQueryRequest struct {
/*
打印批次 */
BatchId *string `json:"batch_id,omitempty" `
/*
打印纸宽度 defalutValue:58 */
PaperWidth *int64 `json:"paper_width,omitempty" `
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptQueryRequest) SetBatchId(v string) *AlibabaTclsAelophyOrderReceiptQueryReceiptQueryRequest {
s.BatchId = &v
return s
}
func (s *AlibabaTclsAelophyOrderReceiptQueryReceiptQueryRequest) SetPaperWidth(v int64) *AlibabaTclsAelophyOrderReceiptQueryReceiptQueryRequest {
s.PaperWidth = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundAgreeApiResult struct {
/*
调用是否成功 */
IsSuccess *bool `json:"is_success,omitempty" `
/*
返回码 */
ReturnCode *string `json:"return_code,omitempty" `
/*
返回码说明 */
ReturnMsg *string `json:"return_msg,omitempty" `
}
func (s *AlibabaTclsAelophyRefundAgreeApiResult) SetIsSuccess(v bool) *AlibabaTclsAelophyRefundAgreeApiResult {
s.IsSuccess = &v
return s
}
func (s *AlibabaTclsAelophyRefundAgreeApiResult) SetReturnCode(v string) *AlibabaTclsAelophyRefundAgreeApiResult {
s.ReturnCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundAgreeApiResult) SetReturnMsg(v string) *AlibabaTclsAelophyRefundAgreeApiResult {
s.ReturnMsg = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyRefundAgreeSubrefundlist struct {
/*
外部子订单ID */
OutSubOrderId *string `json:"out_sub_order_id,omitempty" `
/*
退款金额 */
RefundFee *int64 `json:"refund_fee,omitempty" `
}
func (s *AlibabaTclsAelophyRefundAgreeSubrefundlist) SetOutSubOrderId(v string) *AlibabaTclsAelophyRefundAgreeSubrefundlist {
s.OutSubOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundAgreeSubrefundlist) SetRefundFee(v int64) *AlibabaTclsAelophyRefundAgreeSubrefundlist {
s.RefundFee = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundCsapplyApiResult struct {
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyApiResult) SetErrMsg(v string) *AlibabaTclsAelophyRefundCsapplyApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyApiResult) SetErrCode(v string) *AlibabaTclsAelophyRefundCsapplyApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyApiResult) SetSuccess(v bool) *AlibabaTclsAelophyRefundCsapplyApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundCsapplyNewApiResult struct {
/*
错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyNewApiResult) SetErrMsg(v string) *AlibabaTclsAelophyRefundCsapplyNewApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewApiResult) SetErrCode(v string) *AlibabaTclsAelophyRefundCsapplyNewApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewApiResult) SetSuccess(v bool) *AlibabaTclsAelophyRefundCsapplyNewApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO struct {
/*
申请子单退款金额 */
RefundFee *string `json:"refund_fee,omitempty" `
/*
申请子单退货数量 */
RefundAmount *string `json:"refund_amount,omitempty" `
/*
渠道子订单号淘鲜达渠道为TP子单号 */
OutSubOrderId *string `json:"out_sub_order_id,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO) SetRefundFee(v string) *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO {
s.RefundFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO) SetRefundAmount(v string) *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO {
s.RefundAmount = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO) SetOutSubOrderId(v string) *AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO {
s.OutSubOrderId = &v
return s
}

View File

@@ -0,0 +1,94 @@
package domain
type AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO struct {
/*
退款原因id */
ReasonId *int64 `json:"reason_id,omitempty" `
/*
渠道订单ID */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
商家经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
请求唯一键 */
RequestId *string `json:"request_id,omitempty" `
/*
申请退款的子订单ID列表 */
SubRefundOrders *[]AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO `json:"sub_refund_orders,omitempty" `
/*
备注说明 */
Memo *string `json:"memo,omitempty" `
/*
渠道来源 */
OrderFrom *int64 `json:"order_from,omitempty" `
/*
申请退款金额 */
RefundFee *int64 `json:"refund_fee,omitempty" `
/*
申请退运费 */
RefundDeliveryFee *int64 `json:"refund_delivery_fee,omitempty" `
/*
申请退包装费 */
RefundPackageFee *int64 `json:"refund_package_fee,omitempty" `
/*
申请退款原因 */
RefundReason *string `json:"refund_reason,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetReasonId(v int64) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.ReasonId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetOutOrderId(v string) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetStoreId(v string) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetRequestId(v string) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.RequestId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetSubRefundOrders(v []AlibabaTclsAelophyRefundCsapplyNewCsApplySubOrderDTO) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.SubRefundOrders = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetMemo(v string) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.Memo = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetOrderFrom(v int64) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.OrderFrom = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetRefundFee(v int64) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.RefundFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetRefundDeliveryFee(v int64) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.RefundDeliveryFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetRefundPackageFee(v int64) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.RefundPackageFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO) SetRefundReason(v string) *AlibabaTclsAelophyRefundCsapplyNewRefundCsApplyNewDTO {
s.RefundReason = &v
return s
}

View File

@@ -0,0 +1,54 @@
package domain
type AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto struct {
/*
退款原因id */
ReasonId *int64 `json:"reason_id,omitempty" `
/*
渠道订单ID */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
商家经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
请求唯一键 */
RequestId *string `json:"request_id,omitempty" `
/*
申请退款的子订单ID列表 */
OutSubOrderIds *[]string `json:"out_sub_order_ids,omitempty" `
/*
备注说明 */
Memo *string `json:"memo,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetReasonId(v int64) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.ReasonId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetOutOrderId(v string) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetStoreId(v string) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetRequestId(v string) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.RequestId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetOutSubOrderIds(v []string) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.OutSubOrderIds = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto) SetMemo(v string) *AlibabaTclsAelophyRefundCsapplyRefundCsApplyDto {
s.Memo = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyRefundCsapplyrenderApiResult struct {
/*
回调返回编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
回调是否成功 */
Success *bool `json:"success,omitempty" `
/*
回调错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
数据 */
Model *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto `json:"model,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderApiResult) SetErrCode(v string) *AlibabaTclsAelophyRefundCsapplyrenderApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderApiResult) SetSuccess(v bool) *AlibabaTclsAelophyRefundCsapplyrenderApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderApiResult) SetErrMsg(v string) *AlibabaTclsAelophyRefundCsapplyrenderApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderApiResult) SetModel(v AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) *AlibabaTclsAelophyRefundCsapplyrenderApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyRefundCsapplyrenderOutsuborders struct {
/*
渠道子订单ID */
OutSubOrderId *string `json:"out_sub_order_id,omitempty" `
/*
渠道子订单最大可退金额 */
MaxRefundFee *int64 `json:"max_refund_fee,omitempty" `
/*
当逆向已达到整单退时, 最后一个会有退运费金额 */
PostFee *int64 `json:"post_fee,omitempty" `
/*
是否可退 */
CanReverse *bool `json:"can_reverse,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders) SetOutSubOrderId(v string) *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders {
s.OutSubOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders) SetMaxRefundFee(v int64) *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders {
s.MaxRefundFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders) SetPostFee(v int64) *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders {
s.PostFee = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders) SetCanReverse(v bool) *AlibabaTclsAelophyRefundCsapplyrenderOutsuborders {
s.CanReverse = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyRefundCsapplyrenderReasonlist struct {
/*
退款原因ID */
ReasonId *int64 `json:"reason_id,omitempty" `
/*
退款原因说明 */
ReasonText *string `json:"reason_text,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderReasonlist) SetReasonId(v int64) *AlibabaTclsAelophyRefundCsapplyrenderReasonlist {
s.ReasonId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderReasonlist) SetReasonText(v string) *AlibabaTclsAelophyRefundCsapplyrenderReasonlist {
s.ReasonText = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto struct {
/*
渠道订单ID */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
商家经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
申请退款的子订单ID列表 */
OutSubOrderIds *[]string `json:"out_sub_order_ids,omitempty" `
/*
渠道来源 */
OrderFrom *int64 `json:"order_from,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto) SetOutOrderId(v string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto) SetStoreId(v string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto) SetOutSubOrderIds(v []string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto {
s.OutSubOrderIds = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto) SetOrderFrom(v int64) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderDto {
s.OrderFrom = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto struct {
/*
商家经营店ID */
StoreId *string `json:"store_id,omitempty" `
/*
渠道主订单ID */
OutOrderId *string `json:"out_order_id,omitempty" `
/*
请求唯一键, 提交请求(alibaba.tcls.aelophy.refund.csapply)时保持一致 */
RequestId *string `json:"request_id,omitempty" `
/*
申请退款的子订单列表 */
OutSubOrders *[]AlibabaTclsAelophyRefundCsapplyrenderOutsuborders `json:"out_sub_orders,omitempty" `
/*
退款原因枚举列表 */
ReasonList *[]AlibabaTclsAelophyRefundCsapplyrenderReasonlist `json:"reason_list,omitempty" `
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) SetStoreId(v string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto {
s.StoreId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) SetOutOrderId(v string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto {
s.OutOrderId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) SetRequestId(v string) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto {
s.RequestId = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) SetOutSubOrders(v []AlibabaTclsAelophyRefundCsapplyrenderOutsuborders) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto {
s.OutSubOrders = &v
return s
}
func (s *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto) SetReasonList(v []AlibabaTclsAelophyRefundCsapplyrenderReasonlist) *AlibabaTclsAelophyRefundCsapplyrenderRefundCsApplyRenderResponseDto {
s.ReasonList = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundDisagreeApiResult struct {
/*
调用是否成功 */
IsSuccess *bool `json:"is_success,omitempty" `
/*
返回码 */
ReturnCode *string `json:"return_code,omitempty" `
/*
返回码说明 */
ReturnMsg *string `json:"return_msg,omitempty" `
}
func (s *AlibabaTclsAelophyRefundDisagreeApiResult) SetIsSuccess(v bool) *AlibabaTclsAelophyRefundDisagreeApiResult {
s.IsSuccess = &v
return s
}
func (s *AlibabaTclsAelophyRefundDisagreeApiResult) SetReturnCode(v string) *AlibabaTclsAelophyRefundDisagreeApiResult {
s.ReturnCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundDisagreeApiResult) SetReturnMsg(v string) *AlibabaTclsAelophyRefundDisagreeApiResult {
s.ReturnMsg = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaTclsAelophyRefundFetchgoodsApiResult struct {
/*
调用是否成功 */
IsSuccess *bool `json:"is_success,omitempty" `
/*
返回码 */
ReturnCode *string `json:"return_code,omitempty" `
/*
返回码说明 */
ReturnMsg *string `json:"return_msg,omitempty" `
}
func (s *AlibabaTclsAelophyRefundFetchgoodsApiResult) SetIsSuccess(v bool) *AlibabaTclsAelophyRefundFetchgoodsApiResult {
s.IsSuccess = &v
return s
}
func (s *AlibabaTclsAelophyRefundFetchgoodsApiResult) SetReturnCode(v string) *AlibabaTclsAelophyRefundFetchgoodsApiResult {
s.ReturnCode = &v
return s
}
func (s *AlibabaTclsAelophyRefundFetchgoodsApiResult) SetReturnMsg(v string) *AlibabaTclsAelophyRefundFetchgoodsApiResult {
s.ReturnMsg = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAelophyRefundFetchgoodsSubrefundlist struct {
/*
期望取货数量 */
ExpectFetchQuantity *int64 `json:"expect_fetch_quantity,omitempty" `
/*
外部子订单ID */
OutSubOrderId *string `json:"out_sub_order_id,omitempty" `
}
func (s *AlibabaTclsAelophyRefundFetchgoodsSubrefundlist) SetExpectFetchQuantity(v int64) *AlibabaTclsAelophyRefundFetchgoodsSubrefundlist {
s.ExpectFetchQuantity = &v
return s
}
func (s *AlibabaTclsAelophyRefundFetchgoodsSubrefundlist) SetOutSubOrderId(v string) *AlibabaTclsAelophyRefundFetchgoodsSubrefundlist {
s.OutSubOrderId = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAxIntegrationAccountImportApiResult struct {
/*
扩展信息 */
Ext *string `json:"ext,omitempty" `
/*
请求是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误码 */
ErrorCode *string `json:"error_code,omitempty" `
/*
导入结果 */
Model *string `json:"model,omitempty" `
/*
错误信息 */
ErrorMsg *string `json:"error_msg,omitempty" `
}
func (s *AlibabaTclsAxIntegrationAccountImportApiResult) SetExt(v string) *AlibabaTclsAxIntegrationAccountImportApiResult {
s.Ext = &v
return s
}
func (s *AlibabaTclsAxIntegrationAccountImportApiResult) SetSuccess(v bool) *AlibabaTclsAxIntegrationAccountImportApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAxIntegrationAccountImportApiResult) SetErrorCode(v string) *AlibabaTclsAxIntegrationAccountImportApiResult {
s.ErrorCode = &v
return s
}
func (s *AlibabaTclsAxIntegrationAccountImportApiResult) SetModel(v string) *AlibabaTclsAxIntegrationAccountImportApiResult {
s.Model = &v
return s
}
func (s *AlibabaTclsAxIntegrationAccountImportApiResult) SetErrorMsg(v string) *AlibabaTclsAxIntegrationAccountImportApiResult {
s.ErrorMsg = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type AlibabaTclsAxIntegrationPermissionApiResult struct {
/*
额外参数 */
Ext *string `json:"ext,omitempty" `
/*
请求是否成功 */
Success *bool `json:"success,omitempty" `
/*
错误码 */
ErrorCode *string `json:"error_code,omitempty" `
/*
功能权限返回true和false如果入参includeDataPerm=truemodel中会返回accountId值_data_permissions 内容,返回的是该用户拥有的数据权限 */
Model *AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto `json:"model,omitempty" `
/*
错误信息 */
ErrorMsg *string `json:"error_msg,omitempty" `
}
func (s *AlibabaTclsAxIntegrationPermissionApiResult) SetExt(v string) *AlibabaTclsAxIntegrationPermissionApiResult {
s.Ext = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionApiResult) SetSuccess(v bool) *AlibabaTclsAxIntegrationPermissionApiResult {
s.Success = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionApiResult) SetErrorCode(v string) *AlibabaTclsAxIntegrationPermissionApiResult {
s.ErrorCode = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionApiResult) SetModel(v AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto) *AlibabaTclsAxIntegrationPermissionApiResult {
s.Model = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionApiResult) SetErrorMsg(v string) *AlibabaTclsAxIntegrationPermissionApiResult {
s.ErrorMsg = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaTclsAxIntegrationPermissionDataPermissionDto struct {
/*
拥有权限的列表 */
Permissions *[]string `json:"permissions,omitempty" `
/*
是否拥有全部权限 */
PermitAll *bool `json:"permit_all,omitempty" `
/*
外部数据维度编码 */
OutDataRangeCode *string `json:"out_data_range_code,omitempty" `
/*
数据维度编码 */
DataRangeCode *string `json:"data_range_code,omitempty" `
}
func (s *AlibabaTclsAxIntegrationPermissionDataPermissionDto) SetPermissions(v []string) *AlibabaTclsAxIntegrationPermissionDataPermissionDto {
s.Permissions = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionDataPermissionDto) SetPermitAll(v bool) *AlibabaTclsAxIntegrationPermissionDataPermissionDto {
s.PermitAll = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionDataPermissionDto) SetOutDataRangeCode(v string) *AlibabaTclsAxIntegrationPermissionDataPermissionDto {
s.OutDataRangeCode = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionDataPermissionDto) SetDataRangeCode(v string) *AlibabaTclsAxIntegrationPermissionDataPermissionDto {
s.DataRangeCode = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto struct {
/*
数据权限 */
DataPermissions *[]AlibabaTclsAxIntegrationPermissionDataPermissionDto `json:"data_permissions,omitempty" `
/*
功能权限 */
IdentifierPermissions *string `json:"identifier_permissions,omitempty" `
}
func (s *AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto) SetDataPermissions(v []AlibabaTclsAxIntegrationPermissionDataPermissionDto) *AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto {
s.DataPermissions = &v
return s
}
func (s *AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto) SetIdentifierPermissions(v string) *AlibabaTclsAxIntegrationPermissionIdentifierPermissionDto {
s.IdentifierPermissions = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaWdkAxStoreCreateApiResult struct {
/*
返回对象 */
Model *bool `json:"model,omitempty" `
/*
调用接口返回错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
调用接口返回错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
调用接口返回成功失败 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaWdkAxStoreCreateApiResult) SetModel(v bool) *AlibabaWdkAxStoreCreateApiResult {
s.Model = &v
return s
}
func (s *AlibabaWdkAxStoreCreateApiResult) SetErrCode(v string) *AlibabaWdkAxStoreCreateApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaWdkAxStoreCreateApiResult) SetErrMsg(v string) *AlibabaWdkAxStoreCreateApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaWdkAxStoreCreateApiResult) SetSuccess(v bool) *AlibabaWdkAxStoreCreateApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,78 @@
package domain
type AlibabaWdkAxStoreCreateAxStoreCreateRequest struct {
/*
门店经营状态 1 正常 0 关闭 */
Status *int64 `json:"status,omitempty" `
/*
纬度 */
Latitude *string `json:"latitude,omitempty" `
/*
经度 */
Longitude *string `json:"longitude,omitempty" `
/*
地址 */
Address *string `json:"address,omitempty" `
/*
区编码 */
Area *string `json:"area,omitempty" `
/*
市编码 */
City *string `json:"city,omitempty" `
/*
省编码 */
Prov *string `json:"prov,omitempty" `
/*
门店编码 */
Code *string `json:"code,omitempty" `
/*
门店名称 */
Name *string `json:"name,omitempty" `
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetStatus(v int64) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Status = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetLatitude(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Latitude = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetLongitude(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Longitude = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetAddress(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Address = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetArea(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Area = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetCity(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.City = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetProv(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Prov = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetCode(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Code = &v
return s
}
func (s *AlibabaWdkAxStoreCreateAxStoreCreateRequest) SetName(v string) *AlibabaWdkAxStoreCreateAxStoreCreateRequest {
s.Name = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaWdkAxStoreQueryApiResult struct {
/*
调用接口返回成功失败 */
Success *bool `json:"success,omitempty" `
/*
调用接口返回错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
调用接口返回错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
查询接口返回对象 */
Model *AlibabaWdkAxStoreQueryAxStoreQueryResponse `json:"model,omitempty" `
}
func (s *AlibabaWdkAxStoreQueryApiResult) SetSuccess(v bool) *AlibabaWdkAxStoreQueryApiResult {
s.Success = &v
return s
}
func (s *AlibabaWdkAxStoreQueryApiResult) SetErrMsg(v string) *AlibabaWdkAxStoreQueryApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaWdkAxStoreQueryApiResult) SetErrCode(v string) *AlibabaWdkAxStoreQueryApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaWdkAxStoreQueryApiResult) SetModel(v AlibabaWdkAxStoreQueryAxStoreQueryResponse) *AlibabaWdkAxStoreQueryApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,14 @@
package domain
type AlibabaWdkAxStoreQueryAxStoreQueryRequest struct {
/*
经营店code */
StoreCode *string `json:"store_code,omitempty" `
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryRequest) SetStoreCode(v string) *AlibabaWdkAxStoreQueryAxStoreQueryRequest {
s.StoreCode = &v
return s
}

View File

@@ -0,0 +1,102 @@
package domain
type AlibabaWdkAxStoreQueryAxStoreQueryResponse struct {
/*
负责人姓名 */
PrincipalName *string `json:"principal_name,omitempty" `
/*
负责人 */
Principal *string `json:"principal,omitempty" `
/*
门店经营状态 1营业 0闭店 */
Status *int64 `json:"status,omitempty" `
/*
纬度 */
Latitude *string `json:"latitude,omitempty" `
/*
经度 */
Longitude *string `json:"longitude,omitempty" `
/*
地址 */
Address *string `json:"address,omitempty" `
/*
区编码 */
Area *string `json:"area,omitempty" `
/*
市编码 */
City *string `json:"city,omitempty" `
/*
省编码 */
Prov *string `json:"prov,omitempty" `
/*
门店名字 */
Name *string `json:"name,omitempty" `
/*
门店编码 */
Code *string `json:"code,omitempty" `
/*
商家code */
MerchantCode *string `json:"merchant_code,omitempty" `
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetPrincipalName(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.PrincipalName = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetPrincipal(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Principal = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetStatus(v int64) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Status = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetLatitude(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Latitude = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetLongitude(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Longitude = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetAddress(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Address = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetArea(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Area = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetCity(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.City = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetProv(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Prov = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetName(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Name = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetCode(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.Code = &v
return s
}
func (s *AlibabaWdkAxStoreQueryAxStoreQueryResponse) SetMerchantCode(v string) *AlibabaWdkAxStoreQueryAxStoreQueryResponse {
s.MerchantCode = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaWdkAxStoreUpdateApiResult struct {
/*
返回对象 */
Model *bool `json:"model,omitempty" `
/*
调用接口返回错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
调用接口返回错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
调用接口返回成功失败 */
Success *bool `json:"success,omitempty" `
}
func (s *AlibabaWdkAxStoreUpdateApiResult) SetModel(v bool) *AlibabaWdkAxStoreUpdateApiResult {
s.Model = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateApiResult) SetErrCode(v string) *AlibabaWdkAxStoreUpdateApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateApiResult) SetErrMsg(v string) *AlibabaWdkAxStoreUpdateApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateApiResult) SetSuccess(v bool) *AlibabaWdkAxStoreUpdateApiResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,78 @@
package domain
type AlibabaWdkAxStoreUpdateAxStoreCreateRequest struct {
/*
门店经营状态 1 正常 0 关闭 */
Status *int64 `json:"status,omitempty" `
/*
纬度 */
Latitude *string `json:"latitude,omitempty" `
/*
地址 */
Address *string `json:"address,omitempty" `
/*
区编码 */
Area *string `json:"area,omitempty" `
/*
市编码 */
City *string `json:"city,omitempty" `
/*
省编码 */
Prov *string `json:"prov,omitempty" `
/*
门店编码 */
Code *string `json:"code,omitempty" `
/*
门店名称 */
Name *string `json:"name,omitempty" `
/*
经度 */
Longitude *string `json:"longitude,omitempty" `
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetStatus(v int64) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Status = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetLatitude(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Latitude = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetAddress(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Address = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetArea(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Area = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetCity(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.City = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetProv(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Prov = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetCode(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Code = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetName(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Name = &v
return s
}
func (s *AlibabaWdkAxStoreUpdateAxStoreCreateRequest) SetLongitude(v string) *AlibabaWdkAxStoreUpdateAxStoreCreateRequest {
s.Longitude = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type AlibabaWdkorderSharestockCpsorderListApiResult struct {
/*
调用接口成功失败 */
Success *bool `json:"success,omitempty" `
/*
调用接口返回错误信息 */
ErrMsg *string `json:"err_msg,omitempty" `
/*
调用接口返回错误编码 */
ErrCode *string `json:"err_code,omitempty" `
/*
调用接口返回对象 */
Model *[]AlibabaWdkorderSharestockCpsorderListCpsOrderResponse `json:"model,omitempty" `
}
func (s *AlibabaWdkorderSharestockCpsorderListApiResult) SetSuccess(v bool) *AlibabaWdkorderSharestockCpsorderListApiResult {
s.Success = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListApiResult) SetErrMsg(v string) *AlibabaWdkorderSharestockCpsorderListApiResult {
s.ErrMsg = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListApiResult) SetErrCode(v string) *AlibabaWdkorderSharestockCpsorderListApiResult {
s.ErrCode = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListApiResult) SetModel(v []AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) *AlibabaWdkorderSharestockCpsorderListApiResult {
s.Model = &v
return s
}

View File

@@ -0,0 +1,40 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaWdkorderSharestockCpsorderListCpsOrderRequest struct {
/*
订单更新开始时间 */
StartTime *util.LocalTime `json:"start_time,omitempty" `
/*
订单更新结束时间 */
EndTime *util.LocalTime `json:"end_time,omitempty" `
/*
页序号从0开始 */
PageIndex *int64 `json:"page_index,omitempty" `
/*
单页大小不超过200 */
PageSize *int64 `json:"page_size,omitempty" `
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest) SetStartTime(v util.LocalTime) *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest {
s.StartTime = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest) SetEndTime(v util.LocalTime) *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest {
s.EndTime = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest) SetPageIndex(v int64) *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest {
s.PageIndex = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest) SetPageSize(v int64) *AlibabaWdkorderSharestockCpsorderListCpsOrderRequest {
s.PageSize = &v
return s
}

View File

@@ -0,0 +1,80 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type AlibabaWdkorderSharestockCpsorderListCpsOrderResponse struct {
/*
订单创建时间 */
CreateTime *util.LocalTime `json:"create_time,omitempty" `
/*
支付成功时间 */
PayTime *util.LocalTime `json:"pay_time,omitempty" `
/*
业务订单ID */
BizOrderId *string `json:"biz_order_id,omitempty" `
/*
订单状态: INIT(0, "初始化"),CREATED(1, "已创建"),PAID_DONE(2, "已付款"),ACCEPT_ORDER(3, "已接单"),PICK_ORDER(4, "已拣货"),SHIPPED(5, "已发货"),TRADE_SUCCESS(6, "交易成功"),TRADE_CLOSE(-1, "交易关闭"), */
OrderStatus *string `json:"order_status,omitempty" `
/*
主订单付款金额(不含运费、优惠、券) */
PayPrice *int64 `json:"pay_price,omitempty" `
/*
外部用户ID由pid+siteid+adzoneid+custom四部分拼成其中前3个参数对应拼链中淘宝联盟mm=1_2_3第4个参数对应拼链中 custom_parameters eg125000304_108400334_28176750484_12345 */
OuterId *string `json:"outer_id,omitempty" `
/*
预估总分佣金额仅是预估金额实际结算仍然通过xls线下doublecheck为准 */
ShareAmount *int64 `json:"share_amount,omitempty" `
/*
最后更新时间 */
ModifiedTime *util.LocalTime `json:"modified_time,omitempty" `
/*
子单列表 */
CpsSubOrder *[]AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO `json:"cps_sub_order,omitempty" `
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetCreateTime(v util.LocalTime) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.CreateTime = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetPayTime(v util.LocalTime) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.PayTime = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetBizOrderId(v string) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.BizOrderId = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetOrderStatus(v string) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.OrderStatus = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetPayPrice(v int64) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.PayPrice = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetOuterId(v string) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.OuterId = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetShareAmount(v int64) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.ShareAmount = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetModifiedTime(v util.LocalTime) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.ModifiedTime = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse) SetCpsSubOrder(v []AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO) *AlibabaWdkorderSharestockCpsorderListCpsOrderResponse {
s.CpsSubOrder = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO struct {
/*
业务子订单ID */
BizSubOrderId *string `json:"biz_sub_order_id,omitempty" `
/*
商品名称 */
ItemTitle *string `json:"item_title,omitempty" `
/*
购买数量 */
Quantity *int64 `json:"quantity,omitempty" `
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO) SetBizSubOrderId(v string) *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO {
s.BizSubOrderId = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO) SetItemTitle(v string) *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO {
s.ItemTitle = &v
return s
}
func (s *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO) SetQuantity(v int64) *AlibabaWdkorderSharestockCpsorderListCpsSubOrderBO {
s.Quantity = &v
return s
}

View File

@@ -0,0 +1,46 @@
package domain
type WdkWarehouseOrderCancelCancelRequest struct {
/*
订单号 */
SourceOrderCode *string `json:"source_order_code,omitempty" `
/*
子订单号列表 */
SubBizOrderCodes *[]string `json:"sub_biz_order_codes,omitempty" `
/*
出库单单据类型 */
OutboundOrderType *int64 `json:"outbound_order_type,omitempty" `
/*
仓编码 */
WarehouseCode *string `json:"warehouse_code,omitempty" `
/*
渠道来源 */
SourceFrom *string `json:"source_from,omitempty" `
}
func (s *WdkWarehouseOrderCancelCancelRequest) SetSourceOrderCode(v string) *WdkWarehouseOrderCancelCancelRequest {
s.SourceOrderCode = &v
return s
}
func (s *WdkWarehouseOrderCancelCancelRequest) SetSubBizOrderCodes(v []string) *WdkWarehouseOrderCancelCancelRequest {
s.SubBizOrderCodes = &v
return s
}
func (s *WdkWarehouseOrderCancelCancelRequest) SetOutboundOrderType(v int64) *WdkWarehouseOrderCancelCancelRequest {
s.OutboundOrderType = &v
return s
}
func (s *WdkWarehouseOrderCancelCancelRequest) SetWarehouseCode(v string) *WdkWarehouseOrderCancelCancelRequest {
s.WarehouseCode = &v
return s
}
func (s *WdkWarehouseOrderCancelCancelRequest) SetSourceFrom(v string) *WdkWarehouseOrderCancelCancelRequest {
s.SourceFrom = &v
return s
}

View File

@@ -0,0 +1,38 @@
package domain
type WdkWarehouseOrderCancelDataResult struct {
/*
返回码 */
ReturnCode *string `json:"return_code,omitempty" `
/*
返回信息 */
ReturnMsg *string `json:"return_msg,omitempty" `
/*
取消详情列表 */
Datas *[]WdkWarehouseOrderCancelSubOrderReturn `json:"datas,omitempty" `
/*
是否成功 */
Success *bool `json:"success,omitempty" `
}
func (s *WdkWarehouseOrderCancelDataResult) SetReturnCode(v string) *WdkWarehouseOrderCancelDataResult {
s.ReturnCode = &v
return s
}
func (s *WdkWarehouseOrderCancelDataResult) SetReturnMsg(v string) *WdkWarehouseOrderCancelDataResult {
s.ReturnMsg = &v
return s
}
func (s *WdkWarehouseOrderCancelDataResult) SetDatas(v []WdkWarehouseOrderCancelSubOrderReturn) *WdkWarehouseOrderCancelDataResult {
s.Datas = &v
return s
}
func (s *WdkWarehouseOrderCancelDataResult) SetSuccess(v bool) *WdkWarehouseOrderCancelDataResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type WdkWarehouseOrderCancelSubOrderReturn struct {
/*
拦截状态 */
InterceptStatus *string `json:"intercept_status,omitempty" `
/*
子订单 */
SubOrderCode *string `json:"sub_order_code,omitempty" `
/*
取消结果 */
CancelSuccess *bool `json:"cancel_success,omitempty" `
}
func (s *WdkWarehouseOrderCancelSubOrderReturn) SetInterceptStatus(v string) *WdkWarehouseOrderCancelSubOrderReturn {
s.InterceptStatus = &v
return s
}
func (s *WdkWarehouseOrderCancelSubOrderReturn) SetSubOrderCode(v string) *WdkWarehouseOrderCancelSubOrderReturn {
s.SubOrderCode = &v
return s
}
func (s *WdkWarehouseOrderCancelSubOrderReturn) SetCancelSuccess(v bool) *WdkWarehouseOrderCancelSubOrderReturn {
s.CancelSuccess = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type WdkWarehouseOrderDispatchBaseResult struct {
/*
返回码 */
ReturnCode *string `json:"return_code,omitempty" `
/*
返回信息 */
ReturnMsg *string `json:"return_msg,omitempty" `
/*
是否执行成功 */
Success *bool `json:"success,omitempty" `
}
func (s *WdkWarehouseOrderDispatchBaseResult) SetReturnCode(v string) *WdkWarehouseOrderDispatchBaseResult {
s.ReturnCode = &v
return s
}
func (s *WdkWarehouseOrderDispatchBaseResult) SetReturnMsg(v string) *WdkWarehouseOrderDispatchBaseResult {
s.ReturnMsg = &v
return s
}
func (s *WdkWarehouseOrderDispatchBaseResult) SetSuccess(v bool) *WdkWarehouseOrderDispatchBaseResult {
s.Success = &v
return s
}

View File

@@ -0,0 +1,30 @@
package domain
type WdkWarehouseOrderDispatchCustomer struct {
/*
收货人地址 */
BuyerAddress *string `json:"buyer_address,omitempty" `
/*
收货人联系电话 */
BuyerPhone *string `json:"buyer_phone,omitempty" `
/*
收货人姓名 */
BuyerName *string `json:"buyer_name,omitempty" `
}
func (s *WdkWarehouseOrderDispatchCustomer) SetBuyerAddress(v string) *WdkWarehouseOrderDispatchCustomer {
s.BuyerAddress = &v
return s
}
func (s *WdkWarehouseOrderDispatchCustomer) SetBuyerPhone(v string) *WdkWarehouseOrderDispatchCustomer {
s.BuyerPhone = &v
return s
}
func (s *WdkWarehouseOrderDispatchCustomer) SetBuyerName(v string) *WdkWarehouseOrderDispatchCustomer {
s.BuyerName = &v
return s
}

View File

@@ -0,0 +1,22 @@
package domain
type WdkWarehouseOrderDispatchExtMap struct {
/*
订单小号 */
OrderNo *string `json:"order_no,omitempty" `
/*
最晚拣货完成时间 */
LatestPrepareTime *string `json:"latest_prepare_time,omitempty" `
}
func (s *WdkWarehouseOrderDispatchExtMap) SetOrderNo(v string) *WdkWarehouseOrderDispatchExtMap {
s.OrderNo = &v
return s
}
func (s *WdkWarehouseOrderDispatchExtMap) SetLatestPrepareTime(v string) *WdkWarehouseOrderDispatchExtMap {
s.LatestPrepareTime = &v
return s
}

View File

@@ -0,0 +1,56 @@
package domain
import (
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)
type WdkWarehouseOrderDispatchWorkOrder struct {
/*
仓编码 */
WareHouseCode *string `json:"ware_house_code,omitempty" `
/*
作业单列表 */
WorkOrderUnits *[]WdkWarehouseOrderDispatchWorkOrderUnits `json:"work_order_units,omitempty" `
/*
作业单最早送达时间 */
EarliestArrivalTime *util.LocalTime `json:"earliest_arrival_time,omitempty" `
/*
任务名称 */
WorkOrderName *string `json:"work_order_name,omitempty" `
/*
作业单最晚送达时间 */
LatestArriveTime *util.LocalTime `json:"latest_arrive_time,omitempty" `
/*
任务编码 */
WorkOrderId *string `json:"work_order_id,omitempty" `
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetWareHouseCode(v string) *WdkWarehouseOrderDispatchWorkOrder {
s.WareHouseCode = &v
return s
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetWorkOrderUnits(v []WdkWarehouseOrderDispatchWorkOrderUnits) *WdkWarehouseOrderDispatchWorkOrder {
s.WorkOrderUnits = &v
return s
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetEarliestArrivalTime(v util.LocalTime) *WdkWarehouseOrderDispatchWorkOrder {
s.EarliestArrivalTime = &v
return s
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetWorkOrderName(v string) *WdkWarehouseOrderDispatchWorkOrder {
s.WorkOrderName = &v
return s
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetLatestArriveTime(v util.LocalTime) *WdkWarehouseOrderDispatchWorkOrder {
s.LatestArriveTime = &v
return s
}
func (s *WdkWarehouseOrderDispatchWorkOrder) SetWorkOrderId(v string) *WdkWarehouseOrderDispatchWorkOrder {
s.WorkOrderId = &v
return s
}

Some files were not shown because too many files have changed in this diff Show More