tmallnr

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tmallnr 包含天猫新零售相关结构体

https://open.taobao.com/API.htm?docId=55242&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaLsyCrmActivityDataUpdateAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityDataUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityDataUpdateAPIRequest 私域导购数据回流接口 API请求 alibaba.lsy.crm.activity.data.update

私域导购数据回流接口

func NewAlibabaLsyCrmActivityDataUpdateRequest

func NewAlibabaLsyCrmActivityDataUpdateRequest() *AlibabaLsyCrmActivityDataUpdateAPIRequest

NewAlibabaLsyCrmActivityDataUpdateRequest 初始化AlibabaLsyCrmActivityDataUpdateAPIRequest对象

func (AlibabaLsyCrmActivityDataUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityDataUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityDataUpdateAPIRequest) GetReqDTO added in v1.2.0

GetReqDTO ReqDTO Getter

func (*AlibabaLsyCrmActivityDataUpdateAPIRequest) SetReqDTO added in v1.2.0

SetReqDTO is ReqDTO Setter 入参对象

type AlibabaLsyCrmActivityDataUpdateAPIResponse

type AlibabaLsyCrmActivityDataUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityDataUpdateAPIResponseModel
}

AlibabaLsyCrmActivityDataUpdateAPIResponse 私域导购数据回流接口 API返回值 alibaba.lsy.crm.activity.data.update

私域导购数据回流接口

type AlibabaLsyCrmActivityDataUpdateAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityDataUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_data_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaLsyCrmActivityDataUpdateResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivityDataUpdateAPIResponseModel is 私域导购数据回流接口 成功返回结果

type AlibabaLsyCrmActivityDataUpdateResultDo

type AlibabaLsyCrmActivityDataUpdateResultDo struct {
	// err_code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误描述
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmActivityDataUpdateResultDo 结构体

type AlibabaLsyCrmActivityGetAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityGetAPIRequest 私域导购查询活动详情 API请求 alibaba.lsy.crm.activity.get

私域导购查询活动详情

func NewAlibabaLsyCrmActivityGetRequest

func NewAlibabaLsyCrmActivityGetRequest() *AlibabaLsyCrmActivityGetAPIRequest

NewAlibabaLsyCrmActivityGetRequest 初始化AlibabaLsyCrmActivityGetAPIRequest对象

func (AlibabaLsyCrmActivityGetAPIRequest) GetActivityId added in v1.2.0

func (r AlibabaLsyCrmActivityGetAPIRequest) GetActivityId() int64

GetActivityId ActivityId Getter

func (AlibabaLsyCrmActivityGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyCrmActivityGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityGetAPIRequest) GetGuiderId added in v1.2.0

func (r AlibabaLsyCrmActivityGetAPIRequest) GetGuiderId() int64

GetGuiderId GuiderId Getter

func (AlibabaLsyCrmActivityGetAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*AlibabaLsyCrmActivityGetAPIRequest) SetActivityId added in v1.2.0

func (r *AlibabaLsyCrmActivityGetAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动id

func (*AlibabaLsyCrmActivityGetAPIRequest) SetGuiderId added in v1.2.0

func (r *AlibabaLsyCrmActivityGetAPIRequest) SetGuiderId(_guiderId int64) error

SetGuiderId is GuiderId Setter 导购员id

func (*AlibabaLsyCrmActivityGetAPIRequest) SetStoreId added in v1.2.0

func (r *AlibabaLsyCrmActivityGetAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 摊位id

type AlibabaLsyCrmActivityGetAPIResponse

type AlibabaLsyCrmActivityGetAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityGetAPIResponseModel
}

AlibabaLsyCrmActivityGetAPIResponse 私域导购查询活动详情 API返回值 alibaba.lsy.crm.activity.get

私域导购查询活动详情

type AlibabaLsyCrmActivityGetAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *AlibabaLsyCrmActivityGetResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivityGetAPIResponseModel is 私域导购查询活动详情 成功返回结果

type AlibabaLsyCrmActivityGetResultDo

type AlibabaLsyCrmActivityGetResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 数据
	Data *NrtCrmActivityDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmActivityGetResultDo 结构体

type AlibabaLsyCrmActivityGetbaseinfoAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityGetbaseinfoAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityGetbaseinfoAPIRequest ISV查询活动 API请求 alibaba.lsy.crm.activity.getbaseinfo

ISV查询活动

func NewAlibabaLsyCrmActivityGetbaseinfoRequest

func NewAlibabaLsyCrmActivityGetbaseinfoRequest() *AlibabaLsyCrmActivityGetbaseinfoAPIRequest

NewAlibabaLsyCrmActivityGetbaseinfoRequest 初始化AlibabaLsyCrmActivityGetbaseinfoAPIRequest对象

func (AlibabaLsyCrmActivityGetbaseinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityGetbaseinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityGetbaseinfoAPIRequest) GetNrtQueryActivityReq added in v1.2.0

GetNrtQueryActivityReq NrtQueryActivityReq Getter

func (*AlibabaLsyCrmActivityGetbaseinfoAPIRequest) SetNrtQueryActivityReq added in v1.2.0

func (r *AlibabaLsyCrmActivityGetbaseinfoAPIRequest) SetNrtQueryActivityReq(_nrtQueryActivityReq *NrtQueryActivityReq) error

SetNrtQueryActivityReq is NrtQueryActivityReq Setter 入参

type AlibabaLsyCrmActivityGetbaseinfoAPIResponse

type AlibabaLsyCrmActivityGetbaseinfoAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityGetbaseinfoAPIResponseModel
}

AlibabaLsyCrmActivityGetbaseinfoAPIResponse ISV查询活动 API返回值 alibaba.lsy.crm.activity.getbaseinfo

ISV查询活动

type AlibabaLsyCrmActivityGetbaseinfoAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityGetbaseinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_getbaseinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaLsyCrmActivityGetbaseinfoResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivityGetbaseinfoAPIResponseModel is ISV查询活动 成功返回结果

type AlibabaLsyCrmActivityGetbaseinfoResultDo

type AlibabaLsyCrmActivityGetbaseinfoResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// DTO
	Data *NrtCrmActivityDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmActivityGetbaseinfoResultDo 结构体

type AlibabaLsyCrmActivityPageUpdateAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityPageUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityPageUpdateAPIRequest ISV活动页面创建修改 API请求 alibaba.lsy.crm.activity.page.update

ISV活动页面创建修改

func NewAlibabaLsyCrmActivityPageUpdateRequest

func NewAlibabaLsyCrmActivityPageUpdateRequest() *AlibabaLsyCrmActivityPageUpdateAPIRequest

NewAlibabaLsyCrmActivityPageUpdateRequest 初始化AlibabaLsyCrmActivityPageUpdateAPIRequest对象

func (AlibabaLsyCrmActivityPageUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityPageUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityPageUpdateAPIRequest) GetNrtCrmActivityPageCreateReq added in v1.2.0

func (r AlibabaLsyCrmActivityPageUpdateAPIRequest) GetNrtCrmActivityPageCreateReq() *NrtCrmActivityPageCreateReq

GetNrtCrmActivityPageCreateReq NrtCrmActivityPageCreateReq Getter

func (*AlibabaLsyCrmActivityPageUpdateAPIRequest) SetNrtCrmActivityPageCreateReq added in v1.2.0

func (r *AlibabaLsyCrmActivityPageUpdateAPIRequest) SetNrtCrmActivityPageCreateReq(_nrtCrmActivityPageCreateReq *NrtCrmActivityPageCreateReq) error

SetNrtCrmActivityPageCreateReq is NrtCrmActivityPageCreateReq Setter 入参

type AlibabaLsyCrmActivityPageUpdateAPIResponse

type AlibabaLsyCrmActivityPageUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityPageUpdateAPIResponseModel
}

AlibabaLsyCrmActivityPageUpdateAPIResponse ISV活动页面创建修改 API返回值 alibaba.lsy.crm.activity.page.update

ISV活动页面创建修改

type AlibabaLsyCrmActivityPageUpdateAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityPageUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_page_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaLsyCrmActivityPageUpdateResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivityPageUpdateAPIResponseModel is ISV活动页面创建修改 成功返回结果

type AlibabaLsyCrmActivityPageUpdateResultDo

type AlibabaLsyCrmActivityPageUpdateResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 活动ID
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmActivityPageUpdateResultDo 结构体

type AlibabaLsyCrmActivitySellerinfoAPIRequest added in v1.2.5

type AlibabaLsyCrmActivitySellerinfoAPIRequest struct {
	model.Params
}

AlibabaLsyCrmActivitySellerinfoAPIRequest 商家信息推送 API请求 alibaba.lsy.crm.activity.sellerinfo

本地团商家信息推送

func NewAlibabaLsyCrmActivitySellerinfoRequest added in v1.2.5

func NewAlibabaLsyCrmActivitySellerinfoRequest() *AlibabaLsyCrmActivitySellerinfoAPIRequest

NewAlibabaLsyCrmActivitySellerinfoRequest 初始化AlibabaLsyCrmActivitySellerinfoAPIRequest对象

func (AlibabaLsyCrmActivitySellerinfoAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivitySellerinfoAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaLsyCrmActivitySellerinfoAPIResponse added in v1.2.5

type AlibabaLsyCrmActivitySellerinfoAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivitySellerinfoAPIResponseModel
}

AlibabaLsyCrmActivitySellerinfoAPIResponse 商家信息推送 API返回值 alibaba.lsy.crm.activity.sellerinfo

本地团商家信息推送

type AlibabaLsyCrmActivitySellerinfoAPIResponseModel added in v1.2.5

type AlibabaLsyCrmActivitySellerinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_sellerinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivitySellerinfoAPIResponseModel is 商家信息推送 成功返回结果

type AlibabaLsyCrmActivityStoreGetstorelistAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityStoreGetstorelistAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityStoreGetstorelistAPIRequest ISV查询门店 API请求 alibaba.lsy.crm.activity.store.getstorelist

ISV查询门店

func NewAlibabaLsyCrmActivityStoreGetstorelistRequest

func NewAlibabaLsyCrmActivityStoreGetstorelistRequest() *AlibabaLsyCrmActivityStoreGetstorelistAPIRequest

NewAlibabaLsyCrmActivityStoreGetstorelistRequest 初始化AlibabaLsyCrmActivityStoreGetstorelistAPIRequest对象

func (AlibabaLsyCrmActivityStoreGetstorelistAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityStoreGetstorelistAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityStoreGetstorelistAPIRequest) GetQueryStoreReq added in v1.2.0

GetQueryStoreReq QueryStoreReq Getter

func (*AlibabaLsyCrmActivityStoreGetstorelistAPIRequest) SetQueryStoreReq added in v1.2.0

func (r *AlibabaLsyCrmActivityStoreGetstorelistAPIRequest) SetQueryStoreReq(_queryStoreReq *NrtQueryStoreReq) error

SetQueryStoreReq is QueryStoreReq Setter 系统自动生成

type AlibabaLsyCrmActivityStoreGetstorelistAPIResponse

type AlibabaLsyCrmActivityStoreGetstorelistAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityStoreGetstorelistAPIResponseModel
}

AlibabaLsyCrmActivityStoreGetstorelistAPIResponse ISV查询门店 API返回值 alibaba.lsy.crm.activity.store.getstorelist

ISV查询门店

type AlibabaLsyCrmActivityStoreGetstorelistAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityStoreGetstorelistAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_store_getstorelist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果集
	PageResultDO *PageResultDo `json:"page_result_d_o,omitempty" xml:"page_result_d_o,omitempty"`
}

AlibabaLsyCrmActivityStoreGetstorelistAPIResponseModel is ISV查询门店 成功返回结果

type AlibabaLsyCrmActivityUpdateAPIRequest added in v1.2.0

type AlibabaLsyCrmActivityUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmActivityUpdateAPIRequest ISV活动修改 API请求 alibaba.lsy.crm.activity.update

ISV活动修改

func NewAlibabaLsyCrmActivityUpdateRequest

func NewAlibabaLsyCrmActivityUpdateRequest() *AlibabaLsyCrmActivityUpdateAPIRequest

NewAlibabaLsyCrmActivityUpdateRequest 初始化AlibabaLsyCrmActivityUpdateAPIRequest对象

func (AlibabaLsyCrmActivityUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyCrmActivityUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmActivityUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmActivityUpdateAPIRequest) GetNrtUpdateActivityReq added in v1.2.0

func (r AlibabaLsyCrmActivityUpdateAPIRequest) GetNrtUpdateActivityReq() *NrtUpdateActivityReq

GetNrtUpdateActivityReq NrtUpdateActivityReq Getter

func (*AlibabaLsyCrmActivityUpdateAPIRequest) SetNrtUpdateActivityReq added in v1.2.0

func (r *AlibabaLsyCrmActivityUpdateAPIRequest) SetNrtUpdateActivityReq(_nrtUpdateActivityReq *NrtUpdateActivityReq) error

SetNrtUpdateActivityReq is NrtUpdateActivityReq Setter 入参

type AlibabaLsyCrmActivityUpdateAPIResponse

type AlibabaLsyCrmActivityUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmActivityUpdateAPIResponseModel
}

AlibabaLsyCrmActivityUpdateAPIResponse ISV活动修改 API返回值 alibaba.lsy.crm.activity.update

ISV活动修改

type AlibabaLsyCrmActivityUpdateAPIResponseModel added in v1.2.0

type AlibabaLsyCrmActivityUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_activity_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaLsyCrmActivityUpdateResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmActivityUpdateAPIResponseModel is ISV活动修改 成功返回结果

type AlibabaLsyCrmActivityUpdateResultDo

type AlibabaLsyCrmActivityUpdateResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmActivityUpdateResultDo 结构体

type AlibabaLsyCrmCustomerAddAPIRequest added in v1.2.0

type AlibabaLsyCrmCustomerAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmCustomerAddAPIRequest 私域导购添加活动留资入口 API请求 alibaba.lsy.crm.customer.add

私域导购添加活动留资入口

func NewAlibabaLsyCrmCustomerAddRequest

func NewAlibabaLsyCrmCustomerAddRequest() *AlibabaLsyCrmCustomerAddAPIRequest

NewAlibabaLsyCrmCustomerAddRequest 初始化AlibabaLsyCrmCustomerAddAPIRequest对象

func (AlibabaLsyCrmCustomerAddAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLsyCrmCustomerAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmCustomerAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmCustomerAddAPIRequest) GetReqDto added in v1.2.0

GetReqDto ReqDto Getter

func (*AlibabaLsyCrmCustomerAddAPIRequest) SetReqDto added in v1.2.0

SetReqDto is ReqDto Setter 入参对象

type AlibabaLsyCrmCustomerAddAPIResponse

type AlibabaLsyCrmCustomerAddAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmCustomerAddAPIResponseModel
}

AlibabaLsyCrmCustomerAddAPIResponse 私域导购添加活动留资入口 API返回值 alibaba.lsy.crm.customer.add

私域导购添加活动留资入口

type AlibabaLsyCrmCustomerAddAPIResponseModel added in v1.2.0

type AlibabaLsyCrmCustomerAddAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_customer_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *AlibabaLsyCrmCustomerAddResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmCustomerAddAPIResponseModel is 私域导购添加活动留资入口 成功返回结果

type AlibabaLsyCrmCustomerAddNewAPIRequest added in v1.2.5

type AlibabaLsyCrmCustomerAddNewAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmCustomerAddNewAPIRequest 导购域留资接口 API请求 alibaba.lsy.crm.customer.add.new

导购域提供留资入口

func NewAlibabaLsyCrmCustomerAddNewRequest added in v1.2.5

func NewAlibabaLsyCrmCustomerAddNewRequest() *AlibabaLsyCrmCustomerAddNewAPIRequest

NewAlibabaLsyCrmCustomerAddNewRequest 初始化AlibabaLsyCrmCustomerAddNewAPIRequest对象

func (AlibabaLsyCrmCustomerAddNewAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaLsyCrmCustomerAddNewAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmCustomerAddNewAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmCustomerAddNewAPIRequest) GetReqDTO added in v1.2.5

GetReqDTO ReqDTO Getter

func (*AlibabaLsyCrmCustomerAddNewAPIRequest) SetReqDTO added in v1.2.5

SetReqDTO is ReqDTO Setter 入参DTO

type AlibabaLsyCrmCustomerAddNewAPIResponse added in v1.2.5

type AlibabaLsyCrmCustomerAddNewAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmCustomerAddNewAPIResponseModel
}

AlibabaLsyCrmCustomerAddNewAPIResponse 导购域留资接口 API返回值 alibaba.lsy.crm.customer.add.new

导购域提供留资入口

type AlibabaLsyCrmCustomerAddNewAPIResponseModel added in v1.2.5

type AlibabaLsyCrmCustomerAddNewAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_customer_add_new_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaLsyCrmCustomerAddNewResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmCustomerAddNewAPIResponseModel is 导购域留资接口 成功返回结果

type AlibabaLsyCrmCustomerAddNewResultDo added in v1.2.5

type AlibabaLsyCrmCustomerAddNewResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 出参对象
	Data *NrtRecordDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmCustomerAddNewResultDo 结构体

type AlibabaLsyCrmCustomerAddResultDo

type AlibabaLsyCrmCustomerAddResultDo struct {
	// 错误提示码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLsyCrmCustomerAddResultDo 结构体

type AlibabaLsyCrmCustomerAppointAPIRequest added in v1.2.5

type AlibabaLsyCrmCustomerAppointAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaLsyCrmCustomerAppointAPIRequest ISV直播间预约 API请求 alibaba.lsy.crm.customer.appoint

ISV直播间预约

func NewAlibabaLsyCrmCustomerAppointRequest added in v1.2.5

func NewAlibabaLsyCrmCustomerAppointRequest() *AlibabaLsyCrmCustomerAppointAPIRequest

NewAlibabaLsyCrmCustomerAppointRequest 初始化AlibabaLsyCrmCustomerAppointAPIRequest对象

func (AlibabaLsyCrmCustomerAppointAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaLsyCrmCustomerAppointAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLsyCrmCustomerAppointAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLsyCrmCustomerAppointAPIRequest) GetCrmAppointActivityReq added in v1.2.5

func (r AlibabaLsyCrmCustomerAppointAPIRequest) GetCrmAppointActivityReq() *CrmAppointActivityReq

GetCrmAppointActivityReq CrmAppointActivityReq Getter

func (*AlibabaLsyCrmCustomerAppointAPIRequest) SetCrmAppointActivityReq added in v1.2.5

func (r *AlibabaLsyCrmCustomerAppointAPIRequest) SetCrmAppointActivityReq(_crmAppointActivityReq *CrmAppointActivityReq) error

SetCrmAppointActivityReq is CrmAppointActivityReq Setter 入参

type AlibabaLsyCrmCustomerAppointAPIResponse added in v1.2.5

type AlibabaLsyCrmCustomerAppointAPIResponse struct {
	model.CommonResponse
	AlibabaLsyCrmCustomerAppointAPIResponseModel
}

AlibabaLsyCrmCustomerAppointAPIResponse ISV直播间预约 API返回值 alibaba.lsy.crm.customer.appoint

ISV直播间预约

type AlibabaLsyCrmCustomerAppointAPIResponseModel added in v1.2.5

type AlibabaLsyCrmCustomerAppointAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lsy_crm_customer_appoint_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// asdasd
	Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLsyCrmCustomerAppointAPIResponseModel is ISV直播间预约 成功返回结果

type CrmAppointActivityReq added in v1.2.5

type CrmAppointActivityReq struct {
	// 微信名称
	WechatName string `json:"wechat_name,omitempty" xml:"wechat_name,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 会员ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 导购员ID
	GuiderId int64 `json:"guider_id,omitempty" xml:"guider_id,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

CrmAppointActivityReq 结构体

type Errmsg

type Errmsg struct {
	// 错误编码
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 订单号
	Key int64 `json:"key,omitempty" xml:"key,omitempty"`
}

Errmsg 结构体

type InventoryUpdateRespDto

type InventoryUpdateRespDto struct {
	// 返回成功的库存记录数
	SuccessInventorys []NrInventoryCheckDetailDto `json:"success_inventorys,omitempty" xml:"success_inventorys>nr_inventory_check_detail_dto,omitempty"`
	// 失败的库存更新记录
	FailInventorys []NrInventoryCheckDetailDto `json:"fail_inventorys,omitempty" xml:"fail_inventorys>nr_inventory_check_detail_dto,omitempty"`
}

InventoryUpdateRespDto 结构体

type NewRetailResult

type NewRetailResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 请求结果
	ResultData *TagRespDto `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 成功或者失败
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

NewRetailResult 结构体

type NrCancelFulfillReqDto

type NrCancelFulfillReqDto struct {
	// 操作取消人员姓名
	CancelOperUserName string `json:"cancel_oper_user_name,omitempty" xml:"cancel_oper_user_name,omitempty"`
	// 取消原因的说明
	CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"`
	// 操作取消人员ID号
	CancelOperUserId int64 `json:"cancel_oper_user_id,omitempty" xml:"cancel_oper_user_id,omitempty"`
	// 取消的对应编码
	CancelReasonCode int64 `json:"cancel_reason_code,omitempty" xml:"cancel_reason_code,omitempty"`
	// 淘宝商家的sellerID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 取消类型。操作人类型:1寄件人,3客服小二,4快递员, 5CP, 6收件人,8门店取消,100系统
	CancelOperType int64 `json:"cancel_oper_type,omitempty" xml:"cancel_oper_type,omitempty"`
	// 淘宝交易的主订单号
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
}

NrCancelFulfillReqDto 结构体

type NrDeliveryBriefStatusDto

type NrDeliveryBriefStatusDto struct {
	// 状态产生时间
	LogisticsTime string `json:"logistics_time,omitempty" xml:"logistics_time,omitempty"`
	// 取件失败的code
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 取件失败的原因
	FailReason string `json:"fail_reason,omitempty" xml:"fail_reason,omitempty"`
	// 快递员电话
	DelivererPhone string `json:"deliverer_phone,omitempty" xml:"deliverer_phone,omitempty"`
	// 快递员姓名
	DelivererName string `json:"deliverer_name,omitempty" xml:"deliverer_name,omitempty"`
	// 服务商的cp
	SpName string `json:"sp_name,omitempty" xml:"sp_name,omitempty"`
	// logisticsStatusName状态的说明包含[下单,接单,取件,妥投,拒收,取消]
	LogisticsStatusName string `json:"logistics_status_name,omitempty" xml:"logistics_status_name,omitempty"`
	// 包含[CREATE,GRASP,GOT,DELIVERYED]
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
}

NrDeliveryBriefStatusDto 结构体

type NrFetchCodeDto

type NrFetchCodeDto struct {
	// 发货公司名称
	ConsignCompanyName string `json:"consign_company_name,omitempty" xml:"consign_company_name,omitempty"`
	// 业务标识(fn/cn)
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 发货公司编码
	ConsignCompanyCode string `json:"consign_company_code,omitempty" xml:"consign_company_code,omitempty"`
	// 打印内容
	Printdata string `json:"printdata,omitempty" xml:"printdata,omitempty"`
	// 取件码
	FetchCode string `json:"fetch_code,omitempty" xml:"fetch_code,omitempty"`
	// 面单号
	FaceSheetId string `json:"face_sheet_id,omitempty" xml:"face_sheet_id,omitempty"`
	// 菜鸟生成的标签号
	TagNo string `json:"tag_no,omitempty" xml:"tag_no,omitempty"`
	// 物流cp内部的ID号
	CpOutId string `json:"cp_out_id,omitempty" xml:"cp_out_id,omitempty"`
	// 收货人的手机号
	ReceivePhone string `json:"receive_phone,omitempty" xml:"receive_phone,omitempty"`
	// 收货地址
	ReceiveAddr string `json:"receive_addr,omitempty" xml:"receive_addr,omitempty"`
	// 收货人名称
	ReceiveName string `json:"receive_name,omitempty" xml:"receive_name,omitempty"`
	// 发货省份
	SendProvince string `json:"send_province,omitempty" xml:"send_province,omitempty"`
	// 发货城市
	SendCity string `json:"send_city,omitempty" xml:"send_city,omitempty"`
	// 发货详细地址
	SendAddr string `json:"send_addr,omitempty" xml:"send_addr,omitempty"`
	// 核销码
	WriteOffCode string `json:"write_off_code,omitempty" xml:"write_off_code,omitempty"`
	// 主订单号
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 对货码
	ShortId int64 `json:"short_id,omitempty" xml:"short_id,omitempty"`
}

NrFetchCodeDto 结构体

type NrFetchCodeQueryRespDto

type NrFetchCodeQueryRespDto struct {
	// 实体信息
	NrFetchCodeDTOList []NrFetchCodeDto `json:"nr_fetch_code_d_t_o_list,omitempty" xml:"nr_fetch_code_d_t_o_list>nr_fetch_code_dto,omitempty"`
	// 返回的订单错误信息映射
	ErrMsg *Errmsg `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
}

NrFetchCodeQueryRespDto 结构体

type NrInventoryCheckDetailDto

type NrInventoryCheckDetailDto struct {
	// 商家的商品编码
	ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"`
	// 幂等值
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 淘宝后端商品的id号
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

NrInventoryCheckDetailDto 结构体

type NrInventoryUpdateReqDto

type NrInventoryUpdateReqDto struct {
	// 更新库存的列表值
	DetailList []NrInventoryCheckDetailDto `json:"detail_list,omitempty" xml:"detail_list>nr_inventory_check_detail_dto,omitempty"`
	// 定时送dss,jsd极速达
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 幂等值
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 门店编号
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 1表示全量,2表示增量
	CheckMode int64 `json:"check_mode,omitempty" xml:"check_mode,omitempty"`
	// 商家的sellerID,如果是零售商需要给品牌的sellerId
	OwnerId int64 `json:"owner_id,omitempty" xml:"owner_id,omitempty"`
	// 默认为6:门店库存,2:电商库存
	StoreType int64 `json:"store_type,omitempty" xml:"store_type,omitempty"`
}

NrInventoryUpdateReqDto 结构体

type NrLogisticsInfoSynReqDto

type NrLogisticsInfoSynReqDto struct {
	// 站点名称
	FacilityName string `json:"facility_name,omitempty" xml:"facility_name,omitempty"`
	// 配送日期,周期送业务必传
	PlanDate string `json:"plan_date,omitempty" xml:"plan_date,omitempty"`
	// 流转节点的详细地址及操作描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 快递员的姓名
	DeliveryUserName string `json:"delivery_user_name,omitempty" xml:"delivery_user_name,omitempty"`
	// 流转节点发生时间
	EventCreateTime string `json:"event_create_time,omitempty" xml:"event_create_time,omitempty"`
	// 取消配送原因
	CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"`
	// 快递公司名称,自配送传入:其他
	MailCpName string `json:"mail_cp_name,omitempty" xml:"mail_cp_name,omitempty"`
	// 流转节点的当前城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 快递单号。各个快递公司的运单号格式不同。
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 取消配送编号
	CancelReasonCode string `json:"cancel_reason_code,omitempty" xml:"cancel_reason_code,omitempty"`
	// 快递业务员联系方式,手机号码或电话。
	DeliveryPhone string `json:"delivery_phone,omitempty" xml:"delivery_phone,omitempty"`
	// 请求编号
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 运单所属CP,自配送传入:OTHER
	MailCp string `json:"mail_cp,omitempty" xml:"mail_cp,omitempty"`
	// 业务类型(oneHour:一小时达,zqs:周期送,dss:定时送,周期送业务:zqs)如果自配送传入:other
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 运力类型,0: 第三方快递员,  1:商家自动
	DeliveryUserType int64 `json:"delivery_user_type,omitempty" xml:"delivery_user_type,omitempty"`
	// 快递员id
	DeliveryUserId int64 `json:"delivery_user_id,omitempty" xml:"delivery_user_id,omitempty"`
	// 淘系交易主订单号
	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`
	// 淘宝交易子订单号,周期送业务必传
	SubBizOrderId int64 `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"`
	// 事件编码,10:已下发等待接单,20:骑手已接单,待提货,40:揽收,999:妥投,50:拒收,-999:取消
	Event int64 `json:"event,omitempty" xml:"event,omitempty"`
	// 操作人类型:1寄件人,3客服小二,4快递员,5CP,6收件人,100系统
	EventOperType int64 `json:"event_oper_type,omitempty" xml:"event_oper_type,omitempty"`
	// 配送序号
	SequenceNo int64 `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"`
}

NrLogisticsInfoSynReqDto 结构体

type NrOrderDto

type NrOrderDto struct {
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 退款状态退款状态。退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意),WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货),WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货),SELLER_REFUSE_BUYER(卖家拒绝退款),CLOSED(退款关闭),SUCCESS(退款成功)
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// outIdItemCode
	OutIdItemCode string `json:"out_id_item_code,omitempty" xml:"out_id_item_code,omitempty"`
	// 商家sku的外部编码
	OuterIdSku string `json:"outer_id_sku,omitempty" xml:"outer_id_sku,omitempty"`
	// 购买数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 子订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 修改价格修改的金额
	AdjustFee int64 `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"`
	// 店铺优惠的分摊
	DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 实际付款金额
	ActualPaidFee int64 `json:"actual_paid_fee,omitempty" xml:"actual_paid_fee,omitempty"`
	// 商品价格
	AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"`
	// 配送计划的详情,仅做周期送业务需要
	NrZqsPlanRespDTO *NrZqsPlanRespDto `json:"nr_zqs_plan_resp_d_t_o,omitempty" xml:"nr_zqs_plan_resp_d_t_o,omitempty"`
}

NrOrderDto 结构体

type NrResult

type NrResult struct {
	// 系统自动生成
	ResultDatas []ResultData `json:"result_datas,omitempty" xml:"result_datas>result_data,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// errorCode
	ErrorCode2 string `json:"error_code2,omitempty" xml:"error_code2,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 取消是否成功
	ResultData bool `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// isSuccess
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

NrResult 结构体

type NrServiceRangeResponseDto

type NrServiceRangeResponseDto struct {
	// 围栏数据
	Points []Points `json:"points,omitempty" xml:"points>points,omitempty"`
}

NrServiceRangeResponseDto 结构体

type NrStoreGoodsReadyReqDto

type NrStoreGoodsReadyReqDto struct {
	// 配送人员的姓名
	PerformerName string `json:"performer_name,omitempty" xml:"performer_name,omitempty"`
	// 配送人员的电话
	PerformerPhone string `json:"performer_phone,omitempty" xml:"performer_phone,omitempty"`
	// 发货编码
	CompanyOrderNo string `json:"company_order_no,omitempty" xml:"company_order_no,omitempty"`
	// 发货公司
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 业务标识,dss标识定时送业务;jsd表示极速达业务
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 发货公司编码
	CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"`
	// 交易主订单号
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
}

NrStoreGoodsReadyReqDto 结构体

type NrStoreGoodsReadyRespDto

type NrStoreGoodsReadyRespDto struct {
	// 取件码
	GotCode string `json:"got_code,omitempty" xml:"got_code,omitempty"`
	// 根据门店+sellerId按日期生成从1到N的数据
	ShortId string `json:"short_id,omitempty" xml:"short_id,omitempty"`
	// 核销码
	MaCode string `json:"ma_code,omitempty" xml:"ma_code,omitempty"`
	// 发货单号
	CompanyOrderNo string `json:"company_order_no,omitempty" xml:"company_order_no,omitempty"`
	// 发货公司
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 取消码
	CancelCode string `json:"cancel_code,omitempty" xml:"cancel_code,omitempty"`
	// 主订单号
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
}

NrStoreGoodsReadyRespDto 结构体

type NrStoreInvItemInitialReqDto

type NrStoreInvItemInitialReqDto struct {
	// 门店信息
	Stores []StoreDto `json:"stores,omitempty" xml:"stores>store_dto,omitempty"`
	// 操作时间
	OperationTime string `json:"operation_time,omitempty" xml:"operation_time,omitempty"`
	// 操作者
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 如果是品牌商家填写商家的sellerID,如果是零售商需要填写品牌商的sellerID,但是需要平台授权;
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

NrStoreInvItemInitialReqDto 结构体

type NrTimingFulfillDetailQueryRespDto

type NrTimingFulfillDetailQueryRespDto struct {
	// 历史状态
	NrDeliveryBriefStatusDTOs []NrDeliveryBriefStatusDto `json:"nr_delivery_brief_status_d_t_os,omitempty" xml:"nr_delivery_brief_status_d_t_os>nr_delivery_brief_status_dto,omitempty"`
	// 当前状态
	NrDeliveryBriefStatusDTO *NrDeliveryBriefStatusDto `json:"nr_delivery_brief_status_d_t_o,omitempty" xml:"nr_delivery_brief_status_d_t_o,omitempty"`
}

NrTimingFulfillDetailQueryRespDto 结构体

type NrTimingOrderSoldQueryReqDto

type NrTimingOrderSoldQueryReqDto struct {
	// 要查询的订单创建结束时间,开始时间和结束时间之间最多相隔72小时
	EndCreated string `json:"end_created,omitempty" xml:"end_created,omitempty"`
	// 要查询的订单创建开始时间
	StartCreated string `json:"start_created,omitempty" xml:"start_created,omitempty"`
	// 业务标识,dss标识定时送业务;jsd表示极速达业务;qyls 区域零售业务标识
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 品牌商的sellerID
	BrandSellerId int64 `json:"brand_seller_id,omitempty" xml:"brand_seller_id,omitempty"`
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页大小--当前限制了20
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

NrTimingOrderSoldQueryReqDto 结构体

type NrTimingOrderSoldQueryRespDto

type NrTimingOrderSoldQueryRespDto struct {
	// 主订单列表
	TradeOrderDetailDTOs []TradeOrderDetailDto `json:"trade_order_detail_d_t_os,omitempty" xml:"trade_order_detail_d_t_os>trade_order_detail_dto,omitempty"`
	// pageNo
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// totalNum
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// pageSize
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

NrTimingOrderSoldQueryRespDto 结构体

type NrZqsGoodsReadyReqDto

type NrZqsGoodsReadyReqDto struct {
	// 配送人员姓名
	PerformerName string `json:"performer_name,omitempty" xml:"performer_name,omitempty"`
	// 配送人员电话号码
	PerformerPhone string `json:"performer_phone,omitempty" xml:"performer_phone,omitempty"`
	// 可选参数,编码
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 提货码
	OuterGotCode string `json:"outer_got_code,omitempty" xml:"outer_got_code,omitempty"`
	// 经销商的姓名
	DealerName string `json:"dealer_name,omitempty" xml:"dealer_name,omitempty"`
	// 经销商的电话
	DealerPhone string `json:"dealer_phone,omitempty" xml:"dealer_phone,omitempty"`
	// 业务标识dds,zqs等
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 卖家的sellerId
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 淘宝交易订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

NrZqsGoodsReadyReqDto 结构体

type NrZqsPauseInfoDto

type NrZqsPauseInfoDto struct {
	// 暂停开始时间,包含该天
	PauseStartDay string `json:"pause_start_day,omitempty" xml:"pause_start_day,omitempty"`
	// 暂停结束时间,包含该天
	PauseEndDay string `json:"pause_end_day,omitempty" xml:"pause_end_day,omitempty"`
}

NrZqsPauseInfoDto 结构体

type NrZqsPlanDetailInfoDto

type NrZqsPlanDetailInfoDto struct {
	// 计划配送时间
	PlanDate string `json:"plan_date,omitempty" xml:"plan_date,omitempty"`
	// 配送期号从1开始,一直到N
	SequenceNo int64 `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"`
}

NrZqsPlanDetailInfoDto 结构体

type NrZqsPlanRespDto

type NrZqsPlanRespDto struct {
	// 已生成的配送计划序号及配送日期
	PlanList []NrZqsPlanDetailInfoDto `json:"plan_list,omitempty" xml:"plan_list>nr_zqs_plan_detail_info_dto,omitempty"`
	// pauseInfos
	PauseInfos []NrZqsPauseInfoDto `json:"pause_infos,omitempty" xml:"pause_infos>nr_zqs_pause_info_dto,omitempty"`
	// 配送时间范围,起送时间,只取时分,HH:mm格式
	SendStartTime string `json:"send_start_time,omitempty" xml:"send_start_time,omitempty"`
	// 配送时间范围,结束时间,只取时分,HH:mm格式
	SendEndTime string `json:"send_end_time,omitempty" xml:"send_end_time,omitempty"`
	// 退款开始时间,注意,这个时间当天如果有配送还是会配送的,第二天开始之后的配送会取消
	StartRefundDate string `json:"start_refund_date,omitempty" xml:"start_refund_date,omitempty"`
	// 每次配送件数
	NumPerCycle int64 `json:"num_per_cycle,omitempty" xml:"num_per_cycle,omitempty"`
	// 暂停/退款提前告知的天数
	PauseAheadDays int64 `json:"pause_ahead_days,omitempty" xml:"pause_ahead_days,omitempty"`
	// 每次配送的周期天数(在cycleType为1时生效,其它时候为空)1表示每天送,2表示隔1天送
	CycleDays int64 `json:"cycle_days,omitempty" xml:"cycle_days,omitempty"`
	// 配送频率类型:1-隔N天送,2-周末送,3-工作日送
	CycleType int64 `json:"cycle_type,omitempty" xml:"cycle_type,omitempty"`
	// 每周几送,在cycle_type=4时生效,其它时候为空, 1表示周日,2表示周一...7表示周六(以周日为每周的第一天)
	WeekDay int64 `json:"week_day,omitempty" xml:"week_day,omitempty"`
}

NrZqsPlanRespDto 结构体

type NrtCertificateInstanceQueryDto added in v1.2.5

type NrtCertificateInstanceQueryDto struct {
	// 淘系加密ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 电子凭证码值集合
	Codes string `json:"codes,omitempty" xml:"codes,omitempty"`
	// 业务编码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 显示数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

NrtCertificateInstanceQueryDto 结构体

type NrtCertificateInstanceResponseDto added in v1.2.5

type NrtCertificateInstanceResponseDto struct {
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 电子凭证码值
	CertificateCode string `json:"certificate_code,omitempty" xml:"certificate_code,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 淘系加密ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 电子凭证模版id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 投放渠道
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
}

NrtCertificateInstanceResponseDto 结构体

type NrtCertificateSendDto added in v1.2.5

type NrtCertificateSendDto struct {
	// 淘系加密ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 业务编码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 投放渠道
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 电子凭证模版id
	OutId int64 `json:"out_id,omitempty" xml:"out_id,omitempty"`
}

NrtCertificateSendDto 结构体

type NrtCouponSendDto

type NrtCouponSendDto struct {
	// 加密后淘系ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// {"key","value"}
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 幂等ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 券类型,247:品类券,276:门店券,357:门店通用券
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
}

NrtCouponSendDto 结构体

type NrtCouponTemplateDto added in v1.2.5

type NrtCouponTemplateDto struct {
	// 券渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 创建人
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 修改人
	ModifiedBy string `json:"modified_by,omitempty" xml:"modified_by,omitempty"`
	// 使用开始时间:yyyy-MM-dd HH:mm:ss
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 使用结束时间:yyyy-MM-dd HH:mm:ss
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 发放开始时间yyyy-MM-dd HH:mm:ss
	SendStartTime string `json:"send_start_time,omitempty" xml:"send_start_time,omitempty"`
	// 发放结束时间yyyy-MM-dd HH:mm:ss
	SendEndTime string `json:"send_end_time,omitempty" xml:"send_end_time,omitempty"`
	// 发放code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 券总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 券剩余数量
	ReserveCount int64 `json:"reserve_count,omitempty" xml:"reserve_count,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 使用时间类型use_time_type
	UseTimeType int64 `json:"use_time_type,omitempty" xml:"use_time_type,omitempty"`
	// 领取后可以使用的相对时间,秒或天为单位
	UseTime int64 `json:"use_time,omitempty" xml:"use_time,omitempty"`
	// 券状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 券类型
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
	// 券模版id
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
}

NrtCouponTemplateDto 结构体

type NrtCrmActivityDetailDto

type NrtCrmActivityDetailDto struct {
	// 状态
	StatusStr string `json:"status_str,omitempty" xml:"status_str,omitempty"`
	// 结束时间
	EndTimeStr string `json:"end_time_str,omitempty" xml:"end_time_str,omitempty"`
	// 开始时间
	StartTimeStr string `json:"start_time_str,omitempty" xml:"start_time_str,omitempty"`
	// 规则
	Rule string `json:"rule,omitempty" xml:"rule,omitempty"`
	// 摊位名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 导购员名称
	GuiderName string `json:"guider_name,omitempty" xml:"guider_name,omitempty"`
	// 活动标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 摊位地址
	StoreAddress string `json:"store_address,omitempty" xml:"store_address,omitempty"`
	// 头图
	BannerUrl string `json:"banner_url,omitempty" xml:"banner_url,omitempty"`
	// 有价礼包List
	TmpSceneActivityIdList string `json:"tmp_scene_activity_id_list,omitempty" xml:"tmp_scene_activity_id_list,omitempty"`
	// 留资人数
	GuiderCustomerNum int64 `json:"guider_customer_num,omitempty" xml:"guider_customer_num,omitempty"`
	// 总留资人数
	TotalCustomerNum int64 `json:"total_customer_num,omitempty" xml:"total_customer_num,omitempty"`
	// 总uv
	TotalUv int64 `json:"total_uv,omitempty" xml:"total_uv,omitempty"`
	// 总pv
	TotalPv int64 `json:"total_pv,omitempty" xml:"total_pv,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 导购员员工id
	GuiderId int64 `json:"guider_id,omitempty" xml:"guider_id,omitempty"`
	// 活动ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 100:已发布,-100:失效,200:已结束
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 直播对象
	NrtCrmLiveDTO *NrtCrmLiveDto `json:"nrt_crm_live_d_t_o,omitempty" xml:"nrt_crm_live_d_t_o,omitempty"`
}

NrtCrmActivityDetailDto 结构体

type NrtCrmActivityDto

type NrtCrmActivityDto struct {
	// 有价券DTO
	SceneActivityList []NrtCrmSceneActivityDto `json:"scene_activity_list,omitempty" xml:"scene_activity_list>nrt_crm_scene_activity_dto,omitempty"`
	// 头图
	BannerUrl string `json:"banner_url,omitempty" xml:"banner_url,omitempty"`
	// 活动状态
	StatusStr string `json:"status_str,omitempty" xml:"status_str,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 活动描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 活动规则
	Rule string `json:"rule,omitempty" xml:"rule,omitempty"`
	// 权益信息
	CertificateRights string `json:"certificate_rights,omitempty" xml:"certificate_rights,omitempty"`
	// 同城站ID
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 活动状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 站外页面ID
	PageId int64 `json:"page_id,omitempty" xml:"page_id,omitempty"`
	// 电子凭证ID
	TmpCertificateId int64 `json:"tmp_certificate_id,omitempty" xml:"tmp_certificate_id,omitempty"`
	// 直播信息
	NrtCrmLiveDto *NrtCrmLiveDto `json:"nrt_crm_live_dto,omitempty" xml:"nrt_crm_live_dto,omitempty"`
	// 卖场ID
	MallId int64 `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
}

NrtCrmActivityDto 结构体

type NrtCrmActivityPageCreateReq

type NrtCrmActivityPageCreateReq struct {
	// isvCode
	IsvCode string `json:"isv_code,omitempty" xml:"isv_code,omitempty"`
	// 缩略图url
	Thumbnail string `json:"thumbnail,omitempty" xml:"thumbnail,omitempty"`
	// 页面地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 备注说明
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 简介
	Synopsis string `json:"synopsis,omitempty" xml:"synopsis,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 页面ID
	PageId int64 `json:"page_id,omitempty" xml:"page_id,omitempty"`
	// 创建人id
	Creator int64 `json:"creator,omitempty" xml:"creator,omitempty"`
	// 页面类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

NrtCrmActivityPageCreateReq 结构体

type NrtCrmActivityStatisticsDataReq

type NrtCrmActivityStatisticsDataReq struct {
	// 数据上传时间
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 浏览人数
	Uv int64 `json:"uv,omitempty" xml:"uv,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 页面访问数
	Pv int64 `json:"pv,omitempty" xml:"pv,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 导购员id
	GuiderId int64 `json:"guider_id,omitempty" xml:"guider_id,omitempty"`
}

NrtCrmActivityStatisticsDataReq 结构体

type NrtCrmBenefitDto

type NrtCrmBenefitDto struct {
	// 限领总额
	TotalQuantity string `json:"total_quantity,omitempty" xml:"total_quantity,omitempty"`
	// 个人限领
	PersonLimitCount string `json:"person_limit_count,omitempty" xml:"person_limit_count,omitempty"`
	// uuid
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 门槛
	StartFee string `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 面额
	FaceValue string `json:"face_value,omitempty" xml:"face_value,omitempty"`
	// 券使用有效期间
	EffectiveDuration string `json:"effective_duration,omitempty" xml:"effective_duration,omitempty"`
	// 券使用结束时间
	EffectiveEndTime string `json:"effective_end_time,omitempty" xml:"effective_end_time,omitempty"`
	// 券使用开始时间
	EffectiveStartTime string `json:"effective_start_time,omitempty" xml:"effective_start_time,omitempty"`
	// 券使用时间类型
	EffectiveTimeMode string `json:"effective_time_mode,omitempty" xml:"effective_time_mode,omitempty"`
	// 券发送截止时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 券发送开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 券名称
	BenefitName string `json:"benefit_name,omitempty" xml:"benefit_name,omitempty"`
	// 券模板权益描述
	BenefitDescription string `json:"benefit_description,omitempty" xml:"benefit_description,omitempty"`
	// 券Code
	BenefitCode string `json:"benefit_code,omitempty" xml:"benefit_code,omitempty"`
	// 券模板实例Code
	TemplateCode string `json:"template_code,omitempty" xml:"template_code,omitempty"`
	// 券发放错误Code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 券发放错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 券模板实例ID
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 券模板ID
	OutId int64 `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 优惠券类型
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
}

NrtCrmBenefitDto 结构体

type NrtCrmCreateCustomerReq

type NrtCrmCreateCustomerReq struct {
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 业务身份:居然/红星
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 会员openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 微信昵称
	WechatName string `json:"wechat_name,omitempty" xml:"wechat_name,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 导购员id
	GuiderId int64 `json:"guider_id,omitempty" xml:"guider_id,omitempty"`
}

NrtCrmCreateCustomerReq 结构体

type NrtCrmLiveDto added in v1.2.5

type NrtCrmLiveDto struct {
	// 预考链接
	LiveForeShow string `json:"live_fore_show,omitempty" xml:"live_fore_show,omitempty"`
	// 淘口令
	LiveTaoPwd string `json:"live_tao_pwd,omitempty" xml:"live_tao_pwd,omitempty"`
	// 直播间链接
	LiveUrl string `json:"live_url,omitempty" xml:"live_url,omitempty"`
	// 直播开始时间
	LiveEndTime string `json:"live_end_time,omitempty" xml:"live_end_time,omitempty"`
	// 直播结束时间
	LiveStartTime string `json:"live_start_time,omitempty" xml:"live_start_time,omitempty"`
	// 直播间标题
	LiveTitle string `json:"live_title,omitempty" xml:"live_title,omitempty"`
	// 直播间封面URL
	LiveCoverUrl string `json:"live_cover_url,omitempty" xml:"live_cover_url,omitempty"`
	// 直播间状态
	LiveStatus int64 `json:"live_status,omitempty" xml:"live_status,omitempty"`
	// 直播间ID
	LiveId int64 `json:"live_id,omitempty" xml:"live_id,omitempty"`
}

NrtCrmLiveDto 结构体

type NrtCrmSceneActivityDto

type NrtCrmSceneActivityDto struct {
	// 下挂模板DTO
	NrtCrmBenefitList []NrtCrmBenefitDto `json:"nrt_crm_benefit_list,omitempty" xml:"nrt_crm_benefit_list>nrt_crm_benefit_dto,omitempty"`
	// 有价礼包类型Type
	TmpType string `json:"tmp_type,omitempty" xml:"tmp_type,omitempty"`
	// 有价礼包商品价格
	ReservePrice int64 `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 有价礼包商品id
	SellGiftItemId int64 `json:"sell_gift_item_id,omitempty" xml:"sell_gift_item_id,omitempty"`
	// 有价礼包活动状态
	SceneStatus int64 `json:"scene_status,omitempty" xml:"scene_status,omitempty"`
	// 有价礼包ID
	SceneActivityId int64 `json:"scene_activity_id,omitempty" xml:"scene_activity_id,omitempty"`
}

NrtCrmSceneActivityDto 结构体

type NrtCrmSellerInfoDto added in v1.2.5

type NrtCrmSellerInfoDto struct {
	NativeBrandLogo string `json:"native_brand_logo,omitempty" xml:"native_brand_logo,omitempty"`
	// nativeOpenMember
	NativeOpenMember string `json:"native_open_member,omitempty" xml:"native_open_member,omitempty"`
	// 手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 商家名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

NrtCrmSellerInfoDto 结构体

type NrtQueryActivityReq

type NrtQueryActivityReq struct {
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

NrtQueryActivityReq 结构体

type NrtQueryStoreReq

type NrtQueryStoreReq struct {
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 每页数据条数,最大100条
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
}

NrtQueryStoreReq 结构体

type NrtRecordDto added in v1.2.5

type NrtRecordDto struct {
	// 券信息集合
	CouponList []NrtCrmBenefitDto `json:"coupon_list,omitempty" xml:"coupon_list>nrt_crm_benefit_dto,omitempty"`
	// 有效结束时间
	CertificateEndTime string `json:"certificate_end_time,omitempty" xml:"certificate_end_time,omitempty"`
	// 有效开始时间
	CertificateStartTime string `json:"certificate_start_time,omitempty" xml:"certificate_start_time,omitempty"`
	// 电子凭证编码
	CertificateCode string `json:"certificate_code,omitempty" xml:"certificate_code,omitempty"`
	// 加密后的会员ID
	OpenIdStr string `json:"open_id_str,omitempty" xml:"open_id_str,omitempty"`
	// 会员openId-废弃
	OpenId int64 `json:"open_id,omitempty" xml:"open_id,omitempty"`
}

NrtRecordDto 结构体

type NrtStoreDto

type NrtStoreDto struct {
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 地址
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

NrtStoreDto 结构体

type NrtUpdateActivityReq

type NrtUpdateActivityReq struct {
	// 权利说明
	CertificateRights string `json:"certificate_rights,omitempty" xml:"certificate_rights,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 页面ID
	PageId int64 `json:"page_id,omitempty" xml:"page_id,omitempty"`
	// 员工ID
	EmployeeId int64 `json:"employee_id,omitempty" xml:"employee_id,omitempty"`
	// 是否需要电子凭证
	NeedCertificate bool `json:"need_certificate,omitempty" xml:"need_certificate,omitempty"`
}

NrtUpdateActivityReq 结构体

type PageData added in v1.2.5

type PageData struct {
	// 电子凭证实例DTO
	DataList []NrtCertificateInstanceResponseDto `json:"data_list,omitempty" xml:"data_list>nrt_certificate_instance_response_dto,omitempty"`
	// 显示数量
	PageSize string `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	CurrentPage string `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 总数
	TotalItem string `json:"total_item,omitempty" xml:"total_item,omitempty"`
}

PageData 结构体

type PageResultDo

type PageResultDo struct {
	// 门店集合
	DataList []NrtStoreDto `json:"data_list,omitempty" xml:"data_list>nrt_store_dto,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 数据总数目
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 每页记录数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalPageNum int64 `json:"total_page_num,omitempty" xml:"total_page_num,omitempty"`
	// 当前页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageResultDo 结构体

type Point

type Point struct {
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
}

Point 结构体

type Points

type Points struct {
	// 维度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
}

Points 结构体

type ResultData

type ResultData struct {
	// 服务范围,支持多服务范围返回
	Ranges []NrServiceRangeResponseDto `json:"ranges,omitempty" xml:"ranges>nr_service_range_response_dto,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

ResultData 结构体

type ResultDo added in v1.2.5

type ResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// DTO
	Data *NrtCrmSellerInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultDo 结构体

type SendCouponResponse

type SendCouponResponse struct {
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 券模板ID
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
	// 券实例ID
	CouponInstanceId int64 `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

SendCouponResponse 结构体

type StoreDto

type StoreDto struct {
	// 门店商品,最大列表长度:20
	StoreInventories []StoreInvetoryDto `json:"store_inventories,omitempty" xml:"store_inventories>store_invetory_dto,omitempty"`
	// 库存来源的类型;STORE表示门店
	WarehouseType string `json:"warehouse_type,omitempty" xml:"warehouse_type,omitempty"`
	// 门店对应的storeID值
	WarehouseId string `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"`
}

StoreDto 结构体

type StoreInvetoryDto

type StoreInvetoryDto struct {
	// 商家的外部商品编码,写入值。
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 单据流水号,用于幂等操作
	BillNum string `json:"bill_num,omitempty" xml:"bill_num,omitempty"`
	// CERTAINTY 表示确定性库存
	InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// sku号
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 天猫商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 天猫后端商品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 库存数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

StoreInvetoryDto 结构体

type SyncServiceRangeRequestDto

type SyncServiceRangeRequestDto struct {
	// 围栏信息
	Points []Point `json:"points,omitempty" xml:"points>point,omitempty"`
	// 扩展字段
	Properties string `json:"properties,omitempty" xml:"properties,omitempty"`
	// 门店id
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 类型 -1 为删除,其余为添加,如果记录存在则做更新
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SyncServiceRangeRequestDto 结构体

type TagReqDto

type TagReqDto struct {
	// 商品编码列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 业务身份标识,dss定时送;FN蜂鸟,CN菜鸟
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 信息追踪串,用于后续排查问题,以及与外部厂商对账等场景下使用
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 商品标操作类型,1:打标,2:去标
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 商家编码
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

TagReqDto 结构体

type TagRespDto

type TagRespDto struct {
	// 失败描述
	Descs []string `json:"descs,omitempty" xml:"descs>string,omitempty"`
	// 失败商品编码
	FailIds []int64 `json:"fail_ids,omitempty" xml:"fail_ids>int64,omitempty"`
	// 成功商品编码
	SuccessIds []int64 `json:"success_ids,omitempty" xml:"success_ids>int64,omitempty"`
}

TagRespDto 结构体

type TmallNrFulfillCancelAPIRequest added in v1.2.0

type TmallNrFulfillCancelAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillCancelAPIRequest 取消上门揽件 API请求 tmall.nr.fulfill.cancel

新零售门店业务取消上门揽件

func NewTmallNrFulfillCancelRequest

func NewTmallNrFulfillCancelRequest() *TmallNrFulfillCancelAPIRequest

NewTmallNrFulfillCancelRequest 初始化TmallNrFulfillCancelAPIRequest对象

func (TmallNrFulfillCancelAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrFulfillCancelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillCancelAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrFulfillCancelAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillCancelAPIRequest) GetReq added in v1.2.0

GetReq Req Getter

func (*TmallNrFulfillCancelAPIRequest) SetReq added in v1.2.0

SetReq is Req Setter 入参

type TmallNrFulfillCancelAPIResponse

type TmallNrFulfillCancelAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillCancelAPIResponseModel
}

TmallNrFulfillCancelAPIResponse 取消上门揽件 API返回值 tmall.nr.fulfill.cancel

新零售门店业务取消上门揽件

type TmallNrFulfillCancelAPIResponseModel added in v1.2.0

type TmallNrFulfillCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillCancelAPIResponseModel is 取消上门揽件 成功返回结果

type TmallNrFulfillCancelReasonQueryAPIRequest added in v1.2.0

type TmallNrFulfillCancelReasonQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillCancelReasonQueryAPIRequest 查询取消履约的原因列表 API请求 tmall.nr.fulfill.cancel.reason.query

新零售门店业务查询取消上门揽件的原因列表

func NewTmallNrFulfillCancelReasonQueryRequest

func NewTmallNrFulfillCancelReasonQueryRequest() *TmallNrFulfillCancelReasonQueryAPIRequest

NewTmallNrFulfillCancelReasonQueryRequest 初始化TmallNrFulfillCancelReasonQueryAPIRequest对象

func (TmallNrFulfillCancelReasonQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillCancelReasonQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillCancelReasonQueryAPIRequest) GetMainOrderId added in v1.2.0

GetMainOrderId MainOrderId Getter

func (TmallNrFulfillCancelReasonQueryAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (*TmallNrFulfillCancelReasonQueryAPIRequest) SetMainOrderId added in v1.2.0

func (r *TmallNrFulfillCancelReasonQueryAPIRequest) SetMainOrderId(_mainOrderId int64) error

SetMainOrderId is MainOrderId Setter 淘宝交易的主订单号

func (*TmallNrFulfillCancelReasonQueryAPIRequest) SetSellerId added in v1.2.0

func (r *TmallNrFulfillCancelReasonQueryAPIRequest) SetSellerId(_sellerId int64) error

SetSellerId is SellerId Setter 商家的sellerID

type TmallNrFulfillCancelReasonQueryAPIResponse

type TmallNrFulfillCancelReasonQueryAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillCancelReasonQueryAPIResponseModel
}

TmallNrFulfillCancelReasonQueryAPIResponse 查询取消履约的原因列表 API返回值 tmall.nr.fulfill.cancel.reason.query

新零售门店业务查询取消上门揽件的原因列表

type TmallNrFulfillCancelReasonQueryAPIResponseModel added in v1.2.0

type TmallNrFulfillCancelReasonQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_cancel_reason_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillCancelReasonQueryAPIResponseModel is 查询取消履约的原因列表 成功返回结果

type TmallNrFulfillLogisticsConsignAPIRequest added in v1.2.0

type TmallNrFulfillLogisticsConsignAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillLogisticsConsignAPIRequest 同城配门店备货通知 API请求 tmall.nr.fulfill.logistics.consign

同城配业务备货通知,商家告诉平台门店的货已经准备好,可以发货了;

func NewTmallNrFulfillLogisticsConsignRequest

func NewTmallNrFulfillLogisticsConsignRequest() *TmallNrFulfillLogisticsConsignAPIRequest

NewTmallNrFulfillLogisticsConsignRequest 初始化TmallNrFulfillLogisticsConsignAPIRequest对象

func (TmallNrFulfillLogisticsConsignAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrFulfillLogisticsConsignAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillLogisticsConsignAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillLogisticsConsignAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrFulfillLogisticsConsignAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参对象

type TmallNrFulfillLogisticsConsignAPIResponse

type TmallNrFulfillLogisticsConsignAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillLogisticsConsignAPIResponseModel
}

TmallNrFulfillLogisticsConsignAPIResponse 同城配门店备货通知 API返回值 tmall.nr.fulfill.logistics.consign

同城配业务备货通知,商家告诉平台门店的货已经准备好,可以发货了;

type TmallNrFulfillLogisticsConsignAPIResponseModel added in v1.2.0

type TmallNrFulfillLogisticsConsignAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_logistics_consign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillLogisticsConsignAPIResponseModel is 同城配门店备货通知 成功返回结果

type TmallNrFulfillLogisticsQueryAPIRequest added in v1.2.0

type TmallNrFulfillLogisticsQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillLogisticsQueryAPIRequest 定时送和极速达配送物流信息查询 API请求 tmall.nr.fulfill.logistics.query

发布定时送&极速达物流信息查询服务

func NewTmallNrFulfillLogisticsQueryRequest

func NewTmallNrFulfillLogisticsQueryRequest() *TmallNrFulfillLogisticsQueryAPIRequest

NewTmallNrFulfillLogisticsQueryRequest 初始化TmallNrFulfillLogisticsQueryAPIRequest对象

func (TmallNrFulfillLogisticsQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrFulfillLogisticsQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillLogisticsQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillLogisticsQueryAPIRequest) GetBizIdentity added in v1.2.0

GetBizIdentity BizIdentity Getter

func (TmallNrFulfillLogisticsQueryAPIRequest) GetMainOrderId added in v1.2.0

func (r TmallNrFulfillLogisticsQueryAPIRequest) GetMainOrderId() int64

GetMainOrderId MainOrderId Getter

func (*TmallNrFulfillLogisticsQueryAPIRequest) SetBizIdentity added in v1.2.0

func (r *TmallNrFulfillLogisticsQueryAPIRequest) SetBizIdentity(_bizIdentity string) error

SetBizIdentity is BizIdentity Setter 业务标识,dss标识定时送业务;jsd表示极速达业务

func (*TmallNrFulfillLogisticsQueryAPIRequest) SetMainOrderId added in v1.2.0

func (r *TmallNrFulfillLogisticsQueryAPIRequest) SetMainOrderId(_mainOrderId int64) error

SetMainOrderId is MainOrderId Setter 交易主订单号

type TmallNrFulfillLogisticsQueryAPIResponse

type TmallNrFulfillLogisticsQueryAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillLogisticsQueryAPIResponseModel
}

TmallNrFulfillLogisticsQueryAPIResponse 定时送和极速达配送物流信息查询 API返回值 tmall.nr.fulfill.logistics.query

发布定时送&极速达物流信息查询服务

type TmallNrFulfillLogisticsQueryAPIResponseModel added in v1.2.0

type TmallNrFulfillLogisticsQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_logistics_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillLogisticsQueryAPIResponseModel is 定时送和极速达配送物流信息查询 成功返回结果

type TmallNrFulfillLogisticsSyncAPIRequest added in v1.2.0

type TmallNrFulfillLogisticsSyncAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillLogisticsSyncAPIRequest 同城配物流信息回传 API请求 tmall.nr.fulfill.logistics.sync

同城配业务物流信息回传,通过接口将物流信息同步给天猫

func NewTmallNrFulfillLogisticsSyncRequest

func NewTmallNrFulfillLogisticsSyncRequest() *TmallNrFulfillLogisticsSyncAPIRequest

NewTmallNrFulfillLogisticsSyncRequest 初始化TmallNrFulfillLogisticsSyncAPIRequest对象

func (TmallNrFulfillLogisticsSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrFulfillLogisticsSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillLogisticsSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillLogisticsSyncAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrFulfillLogisticsSyncAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 物流回传参数

type TmallNrFulfillLogisticsSyncAPIResponse

type TmallNrFulfillLogisticsSyncAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillLogisticsSyncAPIResponseModel
}

TmallNrFulfillLogisticsSyncAPIResponse 同城配物流信息回传 API返回值 tmall.nr.fulfill.logistics.sync

同城配业务物流信息回传,通过接口将物流信息同步给天猫

type TmallNrFulfillLogisticsSyncAPIResponseModel added in v1.2.0

type TmallNrFulfillLogisticsSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_logistics_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillLogisticsSyncAPIResponseModel is 同城配物流信息回传 成功返回结果

type TmallNrFulfillOrderQueryAPIRequest added in v1.2.0

type TmallNrFulfillOrderQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillOrderQueryAPIRequest 零售商获取品牌商的单笔订单 API请求 tmall.nr.fulfill.order.query

零售商获取品牌商的单笔订单,后端服务有零售商和品牌商的绑定关系,存在开关控制;返回值存在品牌方用户的电话号码,当前电话号码是屏蔽中间四位

func NewTmallNrFulfillOrderQueryRequest

func NewTmallNrFulfillOrderQueryRequest() *TmallNrFulfillOrderQueryAPIRequest

NewTmallNrFulfillOrderQueryRequest 初始化TmallNrFulfillOrderQueryAPIRequest对象

func (TmallNrFulfillOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrFulfillOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillOrderQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillOrderQueryAPIRequest) GetBizIdentity added in v1.2.0

func (r TmallNrFulfillOrderQueryAPIRequest) GetBizIdentity() string

GetBizIdentity BizIdentity Getter

func (TmallNrFulfillOrderQueryAPIRequest) GetExtParam added in v1.2.0

GetExtParam ExtParam Getter

func (TmallNrFulfillOrderQueryAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (*TmallNrFulfillOrderQueryAPIRequest) SetBizIdentity added in v1.2.0

func (r *TmallNrFulfillOrderQueryAPIRequest) SetBizIdentity(_bizIdentity string) error

SetBizIdentity is BizIdentity Setter 业务标识,dss标识定时送业务;jsd表示极速达业务

func (*TmallNrFulfillOrderQueryAPIRequest) SetExtParam added in v1.2.0

func (r *TmallNrFulfillOrderQueryAPIRequest) SetExtParam(_extParam string) error

SetExtParam is ExtParam Setter 预留-扩展信息

func (*TmallNrFulfillOrderQueryAPIRequest) SetOrderId added in v1.2.0

func (r *TmallNrFulfillOrderQueryAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 交易主订单号

type TmallNrFulfillOrderQueryAPIResponse

type TmallNrFulfillOrderQueryAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillOrderQueryAPIResponseModel
}

TmallNrFulfillOrderQueryAPIResponse 零售商获取品牌商的单笔订单 API返回值 tmall.nr.fulfill.order.query

零售商获取品牌商的单笔订单,后端服务有零售商和品牌商的绑定关系,存在开关控制;返回值存在品牌方用户的电话号码,当前电话号码是屏蔽中间四位

type TmallNrFulfillOrderQueryAPIResponseModel added in v1.2.0

type TmallNrFulfillOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillOrderQueryAPIResponseModel is 零售商获取品牌商的单笔订单 成功返回结果

type TmallNrFulfillSoldOrderlistQueryAPIRequest added in v1.2.0

type TmallNrFulfillSoldOrderlistQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrFulfillSoldOrderlistQueryAPIRequest 零售商获取品牌商的特定订单列表 API请求 tmall.nr.fulfill.sold.orderlist.query

零售商获取品牌商的特定订单列表,后端服务有零售商和品牌商的绑定关系,存在开关控制;同时后端存在定时送业务等特殊业务的校验,非同城配送业务不能返回,返回值存在品牌方用户的电话号码,当前电话号码是屏蔽中间四位

func NewTmallNrFulfillSoldOrderlistQueryRequest

func NewTmallNrFulfillSoldOrderlistQueryRequest() *TmallNrFulfillSoldOrderlistQueryAPIRequest

NewTmallNrFulfillSoldOrderlistQueryRequest 初始化TmallNrFulfillSoldOrderlistQueryAPIRequest对象

func (TmallNrFulfillSoldOrderlistQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrFulfillSoldOrderlistQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrFulfillSoldOrderlistQueryAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrFulfillSoldOrderlistQueryAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参对象

type TmallNrFulfillSoldOrderlistQueryAPIResponse

type TmallNrFulfillSoldOrderlistQueryAPIResponse struct {
	model.CommonResponse
	TmallNrFulfillSoldOrderlistQueryAPIResponseModel
}

TmallNrFulfillSoldOrderlistQueryAPIResponse 零售商获取品牌商的特定订单列表 API返回值 tmall.nr.fulfill.sold.orderlist.query

零售商获取品牌商的特定订单列表,后端服务有零售商和品牌商的绑定关系,存在开关控制;同时后端存在定时送业务等特殊业务的校验,非同城配送业务不能返回,返回值存在品牌方用户的电话号码,当前电话号码是屏蔽中间四位

type TmallNrFulfillSoldOrderlistQueryAPIResponseModel added in v1.2.0

type TmallNrFulfillSoldOrderlistQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_fulfill_sold_orderlist_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrFulfillSoldOrderlistQueryAPIResponseModel is 零售商获取品牌商的特定订单列表 成功返回结果

type TmallNrInventoryInitialAPIRequest added in v1.2.0

type TmallNrInventoryInitialAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrInventoryInitialAPIRequest 门店库存初始化前后端商品绑定 API请求 tmall.nr.inventory.initial

用于门店业务的商品的初始化,前端商品和后端商品绑定,走后端库存模式

func NewTmallNrInventoryInitialRequest

func NewTmallNrInventoryInitialRequest() *TmallNrInventoryInitialAPIRequest

NewTmallNrInventoryInitialRequest 初始化TmallNrInventoryInitialAPIRequest对象

func (TmallNrInventoryInitialAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrInventoryInitialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrInventoryInitialAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrInventoryInitialAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrInventoryInitialAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrInventoryInitialAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 请求入参

type TmallNrInventoryInitialAPIResponse

type TmallNrInventoryInitialAPIResponse struct {
	model.CommonResponse
	TmallNrInventoryInitialAPIResponseModel
}

TmallNrInventoryInitialAPIResponse 门店库存初始化前后端商品绑定 API返回值 tmall.nr.inventory.initial

用于门店业务的商品的初始化,前端商品和后端商品绑定,走后端库存模式

type TmallNrInventoryInitialAPIResponseModel added in v1.2.0

type TmallNrInventoryInitialAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_inventory_initial_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误编码
	ErrorCode2 string `json:"error_code2,omitempty" xml:"error_code2,omitempty"`
	// 初始化成功
	ResultData bool `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallNrInventoryInitialAPIResponseModel is 门店库存初始化前后端商品绑定 成功返回结果

type TmallNrInventoryUpdateAPIRequest added in v1.2.0

type TmallNrInventoryUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrInventoryUpdateAPIRequest 门店业务同步库存 API请求 tmall.nr.inventory.update

用于商家每日同步更新门店库存

func NewTmallNrInventoryUpdateRequest

func NewTmallNrInventoryUpdateRequest() *TmallNrInventoryUpdateAPIRequest

NewTmallNrInventoryUpdateRequest 初始化TmallNrInventoryUpdateAPIRequest对象

func (TmallNrInventoryUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrInventoryUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrInventoryUpdateAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrInventoryUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrInventoryUpdateAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrInventoryUpdateAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参

type TmallNrInventoryUpdateAPIResponse

type TmallNrInventoryUpdateAPIResponse struct {
	model.CommonResponse
	TmallNrInventoryUpdateAPIResponseModel
}

TmallNrInventoryUpdateAPIResponse 门店业务同步库存 API返回值 tmall.nr.inventory.update

用于商家每日同步更新门店库存

type TmallNrInventoryUpdateAPIResponseModel added in v1.2.0

type TmallNrInventoryUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_inventory_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrInventoryUpdateAPIResponseModel is 门店业务同步库存 成功返回结果

type TmallNrItemTagOpsAPIRequest added in v1.2.0

type TmallNrItemTagOpsAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrItemTagOpsAPIRequest 区域零售商品打标去标 API请求 tmall.nr.item.tag.ops

参加区域零售的商品,需要批量打标或去标,方便后续设置商品库存

func NewTmallNrItemTagOpsRequest

func NewTmallNrItemTagOpsRequest() *TmallNrItemTagOpsAPIRequest

NewTmallNrItemTagOpsRequest 初始化TmallNrItemTagOpsAPIRequest对象

func (TmallNrItemTagOpsAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrItemTagOpsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrItemTagOpsAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrItemTagOpsAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrItemTagOpsAPIRequest) GetTagReqDTO added in v1.2.0

func (r TmallNrItemTagOpsAPIRequest) GetTagReqDTO() *TagReqDto

GetTagReqDTO TagReqDTO Getter

func (*TmallNrItemTagOpsAPIRequest) SetTagReqDTO added in v1.2.0

func (r *TmallNrItemTagOpsAPIRequest) SetTagReqDTO(_tagReqDTO *TagReqDto) error

SetTagReqDTO is TagReqDTO Setter 请求入参

type TmallNrItemTagOpsAPIResponse

type TmallNrItemTagOpsAPIResponse struct {
	model.CommonResponse
	TmallNrItemTagOpsAPIResponseModel
}

TmallNrItemTagOpsAPIResponse 区域零售商品打标去标 API返回值 tmall.nr.item.tag.ops

参加区域零售的商品,需要批量打标或去标,方便后续设置商品库存

type TmallNrItemTagOpsAPIResponseModel added in v1.2.0

type TmallNrItemTagOpsAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_item_tag_ops_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *NewRetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrItemTagOpsAPIResponseModel is 区域零售商品打标去标 成功返回结果

type TmallNrNoticeGoodsReadyAPIRequest added in v1.2.0

type TmallNrNoticeGoodsReadyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrNoticeGoodsReadyAPIRequest 同步天猫配送人员信息 API请求 tmall.nr.notice.goods.ready

接收商家的配送人员信息,和第三公司信息及提货码

func NewTmallNrNoticeGoodsReadyRequest

func NewTmallNrNoticeGoodsReadyRequest() *TmallNrNoticeGoodsReadyAPIRequest

NewTmallNrNoticeGoodsReadyRequest 初始化TmallNrNoticeGoodsReadyAPIRequest对象

func (TmallNrNoticeGoodsReadyAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrNoticeGoodsReadyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrNoticeGoodsReadyAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrNoticeGoodsReadyAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrNoticeGoodsReadyAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrNoticeGoodsReadyAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参

type TmallNrNoticeGoodsReadyAPIResponse

type TmallNrNoticeGoodsReadyAPIResponse struct {
	model.CommonResponse
	TmallNrNoticeGoodsReadyAPIResponseModel
}

TmallNrNoticeGoodsReadyAPIResponse 同步天猫配送人员信息 API返回值 tmall.nr.notice.goods.ready

接收商家的配送人员信息,和第三公司信息及提货码

type TmallNrNoticeGoodsReadyAPIResponseModel added in v1.2.0

type TmallNrNoticeGoodsReadyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_notice_goods_ready_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// errorCode
	ErrorCode2 string `json:"error_code2,omitempty" xml:"error_code2,omitempty"`
	// resultData
	ResultData bool `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallNrNoticeGoodsReadyAPIResponseModel is 同步天猫配送人员信息 成功返回结果

type TmallNrOrderLogisInfoAPIRequest added in v1.2.0

type TmallNrOrderLogisInfoAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrOrderLogisInfoAPIRequest 区域零售订单获取取件码 API请求 tmall.nr.order.logis.info

区域零售订单获取取件码,方便商家系统接入,获取取件码打印信息进行打印。

func NewTmallNrOrderLogisInfoRequest

func NewTmallNrOrderLogisInfoRequest() *TmallNrOrderLogisInfoAPIRequest

NewTmallNrOrderLogisInfoRequest 初始化TmallNrOrderLogisInfoAPIRequest对象

func (TmallNrOrderLogisInfoAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrOrderLogisInfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrOrderLogisInfoAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrOrderLogisInfoAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrOrderLogisInfoAPIRequest) GetChannel added in v1.2.0

func (r TmallNrOrderLogisInfoAPIRequest) GetChannel() string

GetChannel Channel Getter

func (TmallNrOrderLogisInfoAPIRequest) GetMainOrderIds added in v1.2.0

func (r TmallNrOrderLogisInfoAPIRequest) GetMainOrderIds() []int64

GetMainOrderIds MainOrderIds Getter

func (TmallNrOrderLogisInfoAPIRequest) GetSellerId added in v1.2.0

func (r TmallNrOrderLogisInfoAPIRequest) GetSellerId() int64

GetSellerId SellerId Getter

func (*TmallNrOrderLogisInfoAPIRequest) SetChannel added in v1.2.0

func (r *TmallNrOrderLogisInfoAPIRequest) SetChannel(_channel string) error

SetChannel is Channel Setter 来源标识

func (*TmallNrOrderLogisInfoAPIRequest) SetMainOrderIds added in v1.2.0

func (r *TmallNrOrderLogisInfoAPIRequest) SetMainOrderIds(_mainOrderIds []int64) error

SetMainOrderIds is MainOrderIds Setter 主订单号

func (*TmallNrOrderLogisInfoAPIRequest) SetSellerId added in v1.2.0

func (r *TmallNrOrderLogisInfoAPIRequest) SetSellerId(_sellerId int64) error

SetSellerId is SellerId Setter 卖家ID

type TmallNrOrderLogisInfoAPIResponse

type TmallNrOrderLogisInfoAPIResponse struct {
	model.CommonResponse
	TmallNrOrderLogisInfoAPIResponseModel
}

TmallNrOrderLogisInfoAPIResponse 区域零售订单获取取件码 API返回值 tmall.nr.order.logis.info

区域零售订单获取取件码,方便商家系统接入,获取取件码打印信息进行打印。

type TmallNrOrderLogisInfoAPIResponseModel added in v1.2.0

type TmallNrOrderLogisInfoAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_order_logis_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果实体
	Result *NewRetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrOrderLogisInfoAPIResponseModel is 区域零售订单获取取件码 成功返回结果

type TmallNrOrderQueryJstAPIRequest added in v1.2.0

type TmallNrOrderQueryJstAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrOrderQueryJstAPIRequest 获取同城配送业务单笔订单 API请求 tmall.nr.order.query.jst

同城配送业务获取单笔订单

func NewTmallNrOrderQueryJstRequest

func NewTmallNrOrderQueryJstRequest() *TmallNrOrderQueryJstAPIRequest

NewTmallNrOrderQueryJstRequest 初始化TmallNrOrderQueryJstAPIRequest对象

func (TmallNrOrderQueryJstAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrOrderQueryJstAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrOrderQueryJstAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrOrderQueryJstAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrOrderQueryJstAPIRequest) GetBizIdentity added in v1.2.0

func (r TmallNrOrderQueryJstAPIRequest) GetBizIdentity() string

GetBizIdentity BizIdentity Getter

func (TmallNrOrderQueryJstAPIRequest) GetExtParam added in v1.2.0

func (r TmallNrOrderQueryJstAPIRequest) GetExtParam() string

GetExtParam ExtParam Getter

func (TmallNrOrderQueryJstAPIRequest) GetOrderId added in v1.2.0

func (r TmallNrOrderQueryJstAPIRequest) GetOrderId() int64

GetOrderId OrderId Getter

func (*TmallNrOrderQueryJstAPIRequest) SetBizIdentity added in v1.2.0

func (r *TmallNrOrderQueryJstAPIRequest) SetBizIdentity(_bizIdentity string) error

SetBizIdentity is BizIdentity Setter 业务标识,dss标识定时送业务;jsd表示极速达业务

func (*TmallNrOrderQueryJstAPIRequest) SetExtParam added in v1.2.0

func (r *TmallNrOrderQueryJstAPIRequest) SetExtParam(_extParam string) error

SetExtParam is ExtParam Setter 预留-扩展信息

func (*TmallNrOrderQueryJstAPIRequest) SetOrderId added in v1.2.0

func (r *TmallNrOrderQueryJstAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 交易主订单号

type TmallNrOrderQueryJstAPIResponse

type TmallNrOrderQueryJstAPIResponse struct {
	model.CommonResponse
	TmallNrOrderQueryJstAPIResponseModel
}

TmallNrOrderQueryJstAPIResponse 获取同城配送业务单笔订单 API返回值 tmall.nr.order.query.jst

同城配送业务获取单笔订单

type TmallNrOrderQueryJstAPIResponseModel added in v1.2.0

type TmallNrOrderQueryJstAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_order_query_jst_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NewRetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrOrderQueryJstAPIResponseModel is 获取同城配送业务单笔订单 成功返回结果

type TmallNrSellerStorerangeReadAPIRequest added in v1.2.0

type TmallNrSellerStorerangeReadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrSellerStorerangeReadAPIRequest 门店服务范围读取 API请求 tmall.nr.seller.storerange.read

读取卖家所属门店的服务范围

func NewTmallNrSellerStorerangeReadRequest

func NewTmallNrSellerStorerangeReadRequest() *TmallNrSellerStorerangeReadAPIRequest

NewTmallNrSellerStorerangeReadRequest 初始化TmallNrSellerStorerangeReadAPIRequest对象

func (TmallNrSellerStorerangeReadAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrSellerStorerangeReadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrSellerStorerangeReadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrSellerStorerangeReadAPIRequest) GetBizIdentity added in v1.2.0

func (r TmallNrSellerStorerangeReadAPIRequest) GetBizIdentity() string

GetBizIdentity BizIdentity Getter

func (TmallNrSellerStorerangeReadAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (TmallNrSellerStorerangeReadAPIRequest) GetStoreIds added in v1.2.0

func (r TmallNrSellerStorerangeReadAPIRequest) GetStoreIds() []int64

GetStoreIds StoreIds Getter

func (*TmallNrSellerStorerangeReadAPIRequest) SetBizIdentity added in v1.2.0

func (r *TmallNrSellerStorerangeReadAPIRequest) SetBizIdentity(_bizIdentity string) error

SetBizIdentity is BizIdentity Setter 业务身份,此api非必填

func (*TmallNrSellerStorerangeReadAPIRequest) SetSellerId added in v1.2.0

func (r *TmallNrSellerStorerangeReadAPIRequest) SetSellerId(_sellerId int64) error

SetSellerId is SellerId Setter 给ISV用sellerid,ISV可能对接其他seller,有可能和登录不是同一个sellerid

func (*TmallNrSellerStorerangeReadAPIRequest) SetStoreIds added in v1.2.0

func (r *TmallNrSellerStorerangeReadAPIRequest) SetStoreIds(_storeIds []int64) error

SetStoreIds is StoreIds Setter 门店id

type TmallNrSellerStorerangeReadAPIResponse

type TmallNrSellerStorerangeReadAPIResponse struct {
	model.CommonResponse
	TmallNrSellerStorerangeReadAPIResponseModel
}

TmallNrSellerStorerangeReadAPIResponse 门店服务范围读取 API返回值 tmall.nr.seller.storerange.read

读取卖家所属门店的服务范围

type TmallNrSellerStorerangeReadAPIResponseModel added in v1.2.0

type TmallNrSellerStorerangeReadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_seller_storerange_read_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	ResultList *NrResult `json:"result_list,omitempty" xml:"result_list,omitempty"`
}

TmallNrSellerStorerangeReadAPIResponseModel is 门店服务范围读取 成功返回结果

type TmallNrSellerStorerangeSyncAPIRequest added in v1.2.0

type TmallNrSellerStorerangeSyncAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrSellerStorerangeSyncAPIRequest 同步商户中心服务范围 API请求 tmall.nr.seller.storerange.sync

同步商户中心服务范围

func NewTmallNrSellerStorerangeSyncRequest

func NewTmallNrSellerStorerangeSyncRequest() *TmallNrSellerStorerangeSyncAPIRequest

NewTmallNrSellerStorerangeSyncRequest 初始化TmallNrSellerStorerangeSyncAPIRequest对象

func (TmallNrSellerStorerangeSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrSellerStorerangeSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrSellerStorerangeSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrSellerStorerangeSyncAPIRequest) GetBizIdentity added in v1.2.0

func (r TmallNrSellerStorerangeSyncAPIRequest) GetBizIdentity() string

GetBizIdentity BizIdentity Getter

func (TmallNrSellerStorerangeSyncAPIRequest) GetReqDTOList added in v1.2.0

GetReqDTOList ReqDTOList Getter

func (TmallNrSellerStorerangeSyncAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (*TmallNrSellerStorerangeSyncAPIRequest) SetBizIdentity added in v1.2.0

func (r *TmallNrSellerStorerangeSyncAPIRequest) SetBizIdentity(_bizIdentity string) error

SetBizIdentity is BizIdentity Setter 业务身份标识,dss定时送;self_day 自配日达;self_hour 自配小时达

func (*TmallNrSellerStorerangeSyncAPIRequest) SetReqDTOList added in v1.2.0

SetReqDTOList is ReqDTOList Setter 系统自动生成

func (*TmallNrSellerStorerangeSyncAPIRequest) SetSellerId added in v1.2.0

func (r *TmallNrSellerStorerangeSyncAPIRequest) SetSellerId(_sellerId int64) error

SetSellerId is SellerId Setter 卖家id,有可能和登录seller不是同一个id

type TmallNrSellerStorerangeSyncAPIResponse

type TmallNrSellerStorerangeSyncAPIResponse struct {
	model.CommonResponse
	TmallNrSellerStorerangeSyncAPIResponseModel
}

TmallNrSellerStorerangeSyncAPIResponse 同步商户中心服务范围 API返回值 tmall.nr.seller.storerange.sync

同步商户中心服务范围

type TmallNrSellerStorerangeSyncAPIResponseModel added in v1.2.0

type TmallNrSellerStorerangeSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_seller_storerange_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	ResultData bool `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 请求是否成功
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

TmallNrSellerStorerangeSyncAPIResponseModel is 同步商户中心服务范围 成功返回结果

type TmallNrSoldOrderlistQueryJstAPIRequest added in v1.2.0

type TmallNrSoldOrderlistQueryJstAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrSoldOrderlistQueryJstAPIRequest 已入塔商家查询订单列表 API请求 tmall.nr.sold.orderlist.query.jst

该服务用于已入聚石塔的商家,获取订单列表信息;

func NewTmallNrSoldOrderlistQueryJstRequest

func NewTmallNrSoldOrderlistQueryJstRequest() *TmallNrSoldOrderlistQueryJstAPIRequest

NewTmallNrSoldOrderlistQueryJstRequest 初始化TmallNrSoldOrderlistQueryJstAPIRequest对象

func (TmallNrSoldOrderlistQueryJstAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrSoldOrderlistQueryJstAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrSoldOrderlistQueryJstAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrSoldOrderlistQueryJstAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TmallNrSoldOrderlistQueryJstAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参对象

type TmallNrSoldOrderlistQueryJstAPIResponse

type TmallNrSoldOrderlistQueryJstAPIResponse struct {
	model.CommonResponse
	TmallNrSoldOrderlistQueryJstAPIResponseModel
}

TmallNrSoldOrderlistQueryJstAPIResponse 已入塔商家查询订单列表 API返回值 tmall.nr.sold.orderlist.query.jst

该服务用于已入聚石塔的商家,获取订单列表信息;

type TmallNrSoldOrderlistQueryJstAPIResponseModel added in v1.2.0

type TmallNrSoldOrderlistQueryJstAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_sold_orderlist_query_jst_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NewRetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrSoldOrderlistQueryJstAPIResponseModel is 已入塔商家查询订单列表 成功返回结果

type TmallNrZqsPlanQueryAPIRequest added in v1.2.0

type TmallNrZqsPlanQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrZqsPlanQueryAPIRequest 周期送配送明细查询 API请求 tmall.nr.zqs.plan.query

周期送配送明细查询

func NewTmallNrZqsPlanQueryRequest

func NewTmallNrZqsPlanQueryRequest() *TmallNrZqsPlanQueryAPIRequest

NewTmallNrZqsPlanQueryRequest 初始化TmallNrZqsPlanQueryAPIRequest对象

func (TmallNrZqsPlanQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrZqsPlanQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrZqsPlanQueryAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrZqsPlanQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrZqsPlanQueryAPIRequest) GetDetailOrderId added in v1.2.0

func (r TmallNrZqsPlanQueryAPIRequest) GetDetailOrderId() int64

GetDetailOrderId DetailOrderId Getter

func (*TmallNrZqsPlanQueryAPIRequest) SetDetailOrderId added in v1.2.0

func (r *TmallNrZqsPlanQueryAPIRequest) SetDetailOrderId(_detailOrderId int64) error

SetDetailOrderId is DetailOrderId Setter 交易子订单id

type TmallNrZqsPlanQueryAPIResponse

type TmallNrZqsPlanQueryAPIResponse struct {
	model.CommonResponse
	TmallNrZqsPlanQueryAPIResponseModel
}

TmallNrZqsPlanQueryAPIResponse 周期送配送明细查询 API返回值 tmall.nr.zqs.plan.query

周期送配送明细查询

type TmallNrZqsPlanQueryAPIResponseModel added in v1.2.0

type TmallNrZqsPlanQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nr_zqs_plan_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *NrResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrZqsPlanQueryAPIResponseModel is 周期送配送明细查询 成功返回结果

type TmallNrtCertificateQueryAPIRequest added in v1.2.5

type TmallNrtCertificateQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrtCertificateQueryAPIRequest 批量查询电子凭证信息 API请求 tmall.nrt.certificate.query

批量查询电子凭证信息

func NewTmallNrtCertificateQueryRequest added in v1.2.5

func NewTmallNrtCertificateQueryRequest() *TmallNrtCertificateQueryAPIRequest

NewTmallNrtCertificateQueryRequest 初始化TmallNrtCertificateQueryAPIRequest对象

func (TmallNrtCertificateQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtCertificateQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCertificateQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCertificateQueryAPIRequest) GetNrtCertificateInstanceQueryDTO added in v1.2.5

func (r TmallNrtCertificateQueryAPIRequest) GetNrtCertificateInstanceQueryDTO() *NrtCertificateInstanceQueryDto

GetNrtCertificateInstanceQueryDTO NrtCertificateInstanceQueryDTO Getter

func (*TmallNrtCertificateQueryAPIRequest) SetNrtCertificateInstanceQueryDTO added in v1.2.5

func (r *TmallNrtCertificateQueryAPIRequest) SetNrtCertificateInstanceQueryDTO(_nrtCertificateInstanceQueryDTO *NrtCertificateInstanceQueryDto) error

SetNrtCertificateInstanceQueryDTO is NrtCertificateInstanceQueryDTO Setter 查询电子凭证实例DTO

type TmallNrtCertificateQueryAPIResponse added in v1.2.5

type TmallNrtCertificateQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtCertificateQueryAPIResponseModel
}

TmallNrtCertificateQueryAPIResponse 批量查询电子凭证信息 API返回值 tmall.nrt.certificate.query

批量查询电子凭证信息

type TmallNrtCertificateQueryAPIResponseModel added in v1.2.5

type TmallNrtCertificateQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_certificate_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallNrtCertificateQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtCertificateQueryAPIResponseModel is 批量查询电子凭证信息 成功返回结果

type TmallNrtCertificateQueryResult added in v1.2.5

type TmallNrtCertificateQueryResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// model
	Model *PageData `json:"model,omitempty" xml:"model,omitempty"`
}

TmallNrtCertificateQueryResult 结构体

type TmallNrtCertificateSendAPIRequest added in v1.2.5

type TmallNrtCertificateSendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrtCertificateSendAPIRequest 有价礼包发放电子凭证 API请求 tmall.nrt.certificate.send

支持有价礼包发放电子凭证

func NewTmallNrtCertificateSendRequest added in v1.2.5

func NewTmallNrtCertificateSendRequest() *TmallNrtCertificateSendAPIRequest

NewTmallNrtCertificateSendRequest 初始化TmallNrtCertificateSendAPIRequest对象

func (TmallNrtCertificateSendAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtCertificateSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCertificateSendAPIRequest) GetApiParams added in v1.2.5

func (r TmallNrtCertificateSendAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCertificateSendAPIRequest) GetNrtCertificateSendDTO added in v1.2.5

func (r TmallNrtCertificateSendAPIRequest) GetNrtCertificateSendDTO() *NrtCertificateSendDto

GetNrtCertificateSendDTO NrtCertificateSendDTO Getter

func (*TmallNrtCertificateSendAPIRequest) SetNrtCertificateSendDTO added in v1.2.5

func (r *TmallNrtCertificateSendAPIRequest) SetNrtCertificateSendDTO(_nrtCertificateSendDTO *NrtCertificateSendDto) error

SetNrtCertificateSendDTO is NrtCertificateSendDTO Setter 发电子凭证DTO

type TmallNrtCertificateSendAPIResponse added in v1.2.5

type TmallNrtCertificateSendAPIResponse struct {
	model.CommonResponse
	TmallNrtCertificateSendAPIResponseModel
}

TmallNrtCertificateSendAPIResponse 有价礼包发放电子凭证 API返回值 tmall.nrt.certificate.send

支持有价礼包发放电子凭证

type TmallNrtCertificateSendAPIResponseModel added in v1.2.5

type TmallNrtCertificateSendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_certificate_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallNrtCertificateSendResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtCertificateSendAPIResponseModel is 有价礼包发放电子凭证 成功返回结果

type TmallNrtCertificateSendResult added in v1.2.5

type TmallNrtCertificateSendResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// model
	Model *NrtCertificateInstanceResponseDto `json:"model,omitempty" xml:"model,omitempty"`
}

TmallNrtCertificateSendResult 结构体

type TmallNrtCouponInstanceQueryAPIRequest added in v1.2.5

type TmallNrtCouponInstanceQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrtCouponInstanceQueryAPIRequest 查询用户券实例 API请求 tmall.nrt.coupon.instance.query

查询用户券实例

func NewTmallNrtCouponInstanceQueryRequest added in v1.2.5

func NewTmallNrtCouponInstanceQueryRequest() *TmallNrtCouponInstanceQueryAPIRequest

NewTmallNrtCouponInstanceQueryRequest 初始化TmallNrtCouponInstanceQueryAPIRequest对象

func (TmallNrtCouponInstanceQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtCouponInstanceQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCouponInstanceQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCouponInstanceQueryAPIRequest) GetBizCode added in v1.2.5

GetBizCode BizCode Getter

func (TmallNrtCouponInstanceQueryAPIRequest) GetCouponTypes added in v1.2.5

func (r TmallNrtCouponInstanceQueryAPIRequest) GetCouponTypes() string

GetCouponTypes CouponTypes Getter

func (TmallNrtCouponInstanceQueryAPIRequest) GetInstanceIds added in v1.2.5

func (r TmallNrtCouponInstanceQueryAPIRequest) GetInstanceIds() string

GetInstanceIds InstanceIds Getter

func (TmallNrtCouponInstanceQueryAPIRequest) GetUserId added in v1.2.5

GetUserId UserId Getter

func (*TmallNrtCouponInstanceQueryAPIRequest) SetBizCode added in v1.2.5

func (r *TmallNrtCouponInstanceQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务身份

func (*TmallNrtCouponInstanceQueryAPIRequest) SetCouponTypes added in v1.2.5

func (r *TmallNrtCouponInstanceQueryAPIRequest) SetCouponTypes(_couponTypes string) error

SetCouponTypes is CouponTypes Setter 券类型

func (*TmallNrtCouponInstanceQueryAPIRequest) SetInstanceIds added in v1.2.5

func (r *TmallNrtCouponInstanceQueryAPIRequest) SetInstanceIds(_instanceIds string) error

SetInstanceIds is InstanceIds Setter 券实例id

func (*TmallNrtCouponInstanceQueryAPIRequest) SetUserId added in v1.2.5

func (r *TmallNrtCouponInstanceQueryAPIRequest) SetUserId(_userId string) error

SetUserId is UserId Setter 加密后的uid

type TmallNrtCouponInstanceQueryAPIResponse added in v1.2.5

type TmallNrtCouponInstanceQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtCouponInstanceQueryAPIResponseModel
}

TmallNrtCouponInstanceQueryAPIResponse 查询用户券实例 API返回值 tmall.nrt.coupon.instance.query

查询用户券实例

type TmallNrtCouponInstanceQueryAPIResponseModel added in v1.2.5

type TmallNrtCouponInstanceQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupon_instance_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallNrtCouponInstanceQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtCouponInstanceQueryAPIResponseModel is 查询用户券实例 成功返回结果

type TmallNrtCouponInstanceQueryResult added in v1.2.5

type TmallNrtCouponInstanceQueryResult struct {
	// 券实例实体
	Models []string `json:"models,omitempty" xml:"models>string,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TmallNrtCouponInstanceQueryResult 结构体

type TmallNrtCouponTemplateQueryAPIRequest added in v1.2.5

type TmallNrtCouponTemplateQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrtCouponTemplateQueryAPIRequest 查询券模版 API请求 tmall.nrt.coupon.template.query

查询券模版

func NewTmallNrtCouponTemplateQueryRequest added in v1.2.5

func NewTmallNrtCouponTemplateQueryRequest() *TmallNrtCouponTemplateQueryAPIRequest

NewTmallNrtCouponTemplateQueryRequest 初始化TmallNrtCouponTemplateQueryAPIRequest对象

func (TmallNrtCouponTemplateQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtCouponTemplateQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCouponTemplateQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCouponTemplateQueryAPIRequest) GetBizCode added in v1.2.5

GetBizCode BizCode Getter

func (TmallNrtCouponTemplateQueryAPIRequest) GetCouponTemplateIds added in v1.2.5

func (r TmallNrtCouponTemplateQueryAPIRequest) GetCouponTemplateIds() string

GetCouponTemplateIds CouponTemplateIds Getter

func (TmallNrtCouponTemplateQueryAPIRequest) GetCouponType added in v1.2.5

func (r TmallNrtCouponTemplateQueryAPIRequest) GetCouponType() int64

GetCouponType CouponType Getter

func (*TmallNrtCouponTemplateQueryAPIRequest) SetBizCode added in v1.2.5

func (r *TmallNrtCouponTemplateQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务编码

func (*TmallNrtCouponTemplateQueryAPIRequest) SetCouponTemplateIds added in v1.2.5

func (r *TmallNrtCouponTemplateQueryAPIRequest) SetCouponTemplateIds(_couponTemplateIds string) error

SetCouponTemplateIds is CouponTemplateIds Setter 券模版id集合

func (*TmallNrtCouponTemplateQueryAPIRequest) SetCouponType added in v1.2.5

func (r *TmallNrtCouponTemplateQueryAPIRequest) SetCouponType(_couponType int64) error

SetCouponType is CouponType Setter 券类型

type TmallNrtCouponTemplateQueryAPIResponse added in v1.2.5

type TmallNrtCouponTemplateQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtCouponTemplateQueryAPIResponseModel
}

TmallNrtCouponTemplateQueryAPIResponse 查询券模版 API返回值 tmall.nrt.coupon.template.query

查询券模版

type TmallNrtCouponTemplateQueryAPIResponseModel added in v1.2.5

type TmallNrtCouponTemplateQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupon_template_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallNrtCouponTemplateQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtCouponTemplateQueryAPIResponseModel is 查询券模版 成功返回结果

type TmallNrtCouponTemplateQueryResult added in v1.2.5

type TmallNrtCouponTemplateQueryResult struct {
	// 券模版数据
	Model []NrtCouponTemplateDto `json:"model,omitempty" xml:"model>nrt_coupon_template_dto,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

TmallNrtCouponTemplateQueryResult 结构体

type TmallNrtNewcouponSendAPIRequest added in v1.2.0

type TmallNrtNewcouponSendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallNrtNewcouponSendAPIRequest 券发放接口 API请求 tmall.nrt.newcoupon.send

券发放接口

func NewTmallNrtNewcouponSendRequest

func NewTmallNrtNewcouponSendRequest() *TmallNrtNewcouponSendAPIRequest

NewTmallNrtNewcouponSendRequest 初始化TmallNrtNewcouponSendAPIRequest对象

func (TmallNrtNewcouponSendAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtNewcouponSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtNewcouponSendAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrtNewcouponSendAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtNewcouponSendAPIRequest) GetNrtCouponSendDto added in v1.2.0

func (r TmallNrtNewcouponSendAPIRequest) GetNrtCouponSendDto() *NrtCouponSendDto

GetNrtCouponSendDto NrtCouponSendDto Getter

func (*TmallNrtNewcouponSendAPIRequest) SetNrtCouponSendDto added in v1.2.0

func (r *TmallNrtNewcouponSendAPIRequest) SetNrtCouponSendDto(_nrtCouponSendDto *NrtCouponSendDto) error

SetNrtCouponSendDto is NrtCouponSendDto Setter 发券dto

type TmallNrtNewcouponSendAPIResponse

type TmallNrtNewcouponSendAPIResponse struct {
	model.CommonResponse
	TmallNrtNewcouponSendAPIResponseModel
}

TmallNrtNewcouponSendAPIResponse 券发放接口 API返回值 tmall.nrt.newcoupon.send

券发放接口

type TmallNrtNewcouponSendAPIResponseModel added in v1.2.0

type TmallNrtNewcouponSendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_newcoupon_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *TmallNrtNewcouponSendResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtNewcouponSendAPIResponseModel is 券发放接口 成功返回结果

type TmallNrtNewcouponSendResult

type TmallNrtNewcouponSendResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 发券结果对象
	Model *SendCouponResponse `json:"model,omitempty" xml:"model,omitempty"`
}

TmallNrtNewcouponSendResult 结构体

type TradeOrderDetailDto

type TradeOrderDetailDto struct {
	// 子订单列表
	OrderDTOs []NrOrderDto `json:"order_d_t_os,omitempty" xml:"order_d_t_os>nr_order_dto,omitempty"`
	// 门店编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 预约结束时间
	AppointEndTime string `json:"appoint_end_time,omitempty" xml:"appoint_end_time,omitempty"`
	// 预约开始时间
	AppointStartTime string `json:"appoint_start_time,omitempty" xml:"appoint_start_time,omitempty"`
	// 收货详细地址_商家没有入塔不提供
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 镇_商家没有入塔不提供
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 区_商家没有入塔不提供
	ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"`
	// 城市_商家没有入塔不提供
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 省_商家没有入塔不提供
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 电话_商家没有入塔不提供
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 手机_商家没有入塔不提供
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收货人_商家没有入塔不提供
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 交易状态可选值:TRADE_NO_CREATE_PAY(没有创建支付宝交易),WAIT_BUYER_PAY(等待买家付款),SELLER_CONSIGNED_PART(卖家部分发货),WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款),WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货),TRADE_BUYER_SIGNED(买家已签收,货到付款专用),TRADE_FINISHED(交易成功),TRADE_CLOSED(付款以后用户退款成功,交易自动关闭),TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易),PAY_PENDING(国际信用卡支付付款确认中) * WAIT_PRE_AUTH_CONFIRM(0元购合约中),PAID_FORBID_CONSIGN(拼团中订单或者发货强管控的订单,已付款但禁止发货)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// createTime
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 门店的外部编号
	OutIdStoreCode string `json:"out_id_store_code,omitempty" xml:"out_id_store_code,omitempty"`
	// 邮费(单位分)
	PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 买家留言
	BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"`
	// 主订单
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

TradeOrderDetailDto 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL