mos

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mos 包含喵街API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabamjmemberbindmemberAPIRequest added in v1.3.1

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

AlibabamjmemberbindmemberAPIRequest 绑定会员 API请求 alibaba.mj.member.bindmember

用于绑定喵街数字化会员

func NewAlibabamjmemberbindmemberRequest added in v1.3.1

func NewAlibabamjmemberbindmemberRequest() *AlibabamjmemberbindmemberAPIRequest

NewAlibabamjmemberbindmemberRequest 初始化AlibabamjmemberbindmemberAPIRequest对象

func (AlibabamjmemberbindmemberAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjmemberbindmemberAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmemberbindmemberAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjmemberbindmemberAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmemberbindmemberAPIRequest) GetChannel added in v1.3.1

GetChannel Channel Getter

func (AlibabamjmemberbindmemberAPIRequest) GetMallId added in v1.3.1

GetMallId MallId Getter

func (AlibabamjmemberbindmemberAPIRequest) GetOpenId added in v1.3.1

GetOpenId OpenId Getter

func (AlibabamjmemberbindmemberAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjmemberbindmemberAPIRequest) GetUserId added in v1.3.1

GetUserId UserId Getter

func (*AlibabamjmemberbindmemberAPIRequest) SetChannel added in v1.3.1

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

SetChannel is Channel Setter 渠道

func (*AlibabamjmemberbindmemberAPIRequest) SetMallId added in v1.3.1

func (r *AlibabamjmemberbindmemberAPIRequest) SetMallId(_mallId int64) error

SetMallId is MallId Setter 商城Id

func (*AlibabamjmemberbindmemberAPIRequest) SetOpenId added in v1.3.1

func (r *AlibabamjmemberbindmemberAPIRequest) SetOpenId(_openId string) error

SetOpenId is OpenId Setter open_id

func (*AlibabamjmemberbindmemberAPIRequest) SetUserId added in v1.3.1

func (r *AlibabamjmemberbindmemberAPIRequest) SetUserId(_userId int64) error

SetUserId is UserId Setter 用户号

type AlibabamjmemberbindmemberAPIResponse added in v1.3.1

type AlibabamjmemberbindmemberAPIResponse struct {
	model.CommonResponse
	AlibabamjmemberbindmemberAPIResponseModel
}

AlibabamjmemberbindmemberAPIResponse 绑定会员 API返回值 alibaba.mj.member.bindmember

用于绑定喵街数字化会员

type AlibabamjmemberbindmemberAPIResponseModel added in v1.3.1

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

AlibabamjmemberbindmemberAPIResponseModel is 绑定会员 成功返回结果

type AlibabamjmemberhasbindAPIRequest added in v1.3.1

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

AlibabamjmemberhasbindAPIRequest 喵街会员是否绑定 API请求 alibaba.mj.member.hasbind

喵街检测用户是否为数字化会员

func NewAlibabamjmemberhasbindRequest added in v1.3.1

func NewAlibabamjmemberhasbindRequest() *AlibabamjmemberhasbindAPIRequest

NewAlibabamjmemberhasbindRequest 初始化AlibabamjmemberhasbindAPIRequest对象

func (AlibabamjmemberhasbindAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjmemberhasbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmemberhasbindAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjmemberhasbindAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmemberhasbindAPIRequest) GetOpenId added in v1.3.1

GetOpenId OpenId Getter

func (AlibabamjmemberhasbindAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjmemberhasbindAPIRequest) GetUserId added in v1.3.1

GetUserId UserId Getter

func (*AlibabamjmemberhasbindAPIRequest) SetOpenId added in v1.3.1

func (r *AlibabamjmemberhasbindAPIRequest) SetOpenId(_openId string) error

SetOpenId is OpenId Setter open_id

func (*AlibabamjmemberhasbindAPIRequest) SetUserId added in v1.3.1

func (r *AlibabamjmemberhasbindAPIRequest) SetUserId(_userId int64) error

SetUserId is UserId Setter user_id

type AlibabamjmemberhasbindAPIResponse added in v1.3.1

type AlibabamjmemberhasbindAPIResponse struct {
	model.CommonResponse
	AlibabamjmemberhasbindAPIResponseModel
}

AlibabamjmemberhasbindAPIResponse 喵街会员是否绑定 API返回值 alibaba.mj.member.hasbind

喵街检测用户是否为数字化会员

type AlibabamjmemberhasbindAPIResponseModel added in v1.3.1

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

AlibabamjmemberhasbindAPIResponseModel is 喵街会员是否绑定 成功返回结果

type AlibabamjmoscarnivalreceivecouponAPIRequest added in v1.3.1

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

AlibabamjmoscarnivalreceivecouponAPIRequest 根据手机号码领券 API请求 alibaba.mj.moscarnival.receivecoupon

根据手机号码领券

func NewAlibabamjmoscarnivalreceivecouponRequest added in v1.3.1

func NewAlibabamjmoscarnivalreceivecouponRequest() *AlibabamjmoscarnivalreceivecouponAPIRequest

NewAlibabamjmoscarnivalreceivecouponRequest 初始化AlibabamjmoscarnivalreceivecouponAPIRequest对象

func (AlibabamjmoscarnivalreceivecouponAPIRequest) GetActivityId added in v1.3.1

GetActivityId ActivityId Getter

func (AlibabamjmoscarnivalreceivecouponAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmoscarnivalreceivecouponAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmoscarnivalreceivecouponAPIRequest) GetMobile added in v1.3.1

GetMobile Mobile Getter

func (AlibabamjmoscarnivalreceivecouponAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjmoscarnivalreceivecouponAPIRequest) SetActivityId added in v1.3.1

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

SetActivityId is ActivityId Setter 活动id

func (*AlibabamjmoscarnivalreceivecouponAPIRequest) SetMobile added in v1.3.1

SetMobile is Mobile Setter 手机号码

type AlibabamjmoscarnivalreceivecouponAPIResponse added in v1.3.1

type AlibabamjmoscarnivalreceivecouponAPIResponse struct {
	model.CommonResponse
	AlibabamjmoscarnivalreceivecouponAPIResponseModel
}

AlibabamjmoscarnivalreceivecouponAPIResponse 根据手机号码领券 API返回值 alibaba.mj.moscarnival.receivecoupon

根据手机号码领券

type AlibabamjmoscarnivalreceivecouponAPIResponseModel added in v1.3.1

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

AlibabamjmoscarnivalreceivecouponAPIResponseModel is 根据手机号码领券 成功返回结果

type AlibabamjmoscarnivalreceivecouponResultDo added in v1.3.1

type AlibabamjmoscarnivalreceivecouponResultDo struct {
	// 标题
	Titles []string `json:"titles,omitempty" xml:"titles>string,omitempty"`
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 是否成功
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 总行数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamjmoscarnivalreceivecouponResultDo 结构体

type AlibabamjmoscarnivalreceiveencryptAPIRequest added in v1.3.1

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

AlibabamjmoscarnivalreceiveencryptAPIRequest 根据加密手机号领券 API请求 alibaba.mj.moscarnival.receiveencrypt

根据加密手机号领券

func NewAlibabamjmoscarnivalreceiveencryptRequest added in v1.3.1

func NewAlibabamjmoscarnivalreceiveencryptRequest() *AlibabamjmoscarnivalreceiveencryptAPIRequest

NewAlibabamjmoscarnivalreceiveencryptRequest 初始化AlibabamjmoscarnivalreceiveencryptAPIRequest对象

func (AlibabamjmoscarnivalreceiveencryptAPIRequest) GetActivityId added in v1.3.1

GetActivityId ActivityId Getter

func (AlibabamjmoscarnivalreceiveencryptAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmoscarnivalreceiveencryptAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmoscarnivalreceiveencryptAPIRequest) GetMobile added in v1.3.1

GetMobile Mobile Getter

func (AlibabamjmoscarnivalreceiveencryptAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjmoscarnivalreceiveencryptAPIRequest) SetActivityId added in v1.3.1

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

SetActivityId is ActivityId Setter 活动id

func (*AlibabamjmoscarnivalreceiveencryptAPIRequest) SetMobile added in v1.3.1

SetMobile is Mobile Setter 加密手机号码

type AlibabamjmoscarnivalreceiveencryptAPIResponse added in v1.3.1

type AlibabamjmoscarnivalreceiveencryptAPIResponse struct {
	model.CommonResponse
	AlibabamjmoscarnivalreceiveencryptAPIResponseModel
}

AlibabamjmoscarnivalreceiveencryptAPIResponse 根据加密手机号领券 API返回值 alibaba.mj.moscarnival.receiveencrypt

根据加密手机号领券

type AlibabamjmoscarnivalreceiveencryptAPIResponseModel added in v1.3.1

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

AlibabamjmoscarnivalreceiveencryptAPIResponseModel is 根据加密手机号领券 成功返回结果

type AlibabamjmoscarnivalreceiveencryptData added in v1.3.1

type AlibabamjmoscarnivalreceiveencryptData struct {
	// 权益列表
	RightsList []RightsList `json:"rights_list,omitempty" xml:"rights_list>rights_list,omitempty"`
	// 奖品类型
	PrizeType int64 `json:"prize_type,omitempty" xml:"prize_type,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否有奖品
	HasPrize bool `json:"has_prize,omitempty" xml:"has_prize,omitempty"`
	// 是否新会员
	IsNewUser bool `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"`
}

AlibabamjmoscarnivalreceiveencryptData 结构体

type AlibabamjmoscarnivalreceiveencryptResultDo added in v1.3.1

type AlibabamjmoscarnivalreceiveencryptResultDo struct {
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 总行数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 券结果
	Data *AlibabamjmoscarnivalreceiveencryptData `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamjmoscarnivalreceiveencryptResultDo 结构体

type AlibabamjmosfundcancelbillAPIRequest added in v1.3.1

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

AlibabamjmosfundcancelbillAPIRequest 取消付款单 API请求 alibaba.mj.mos.fund.cancelbill

取消付款单

func NewAlibabamjmosfundcancelbillRequest added in v1.3.1

func NewAlibabamjmosfundcancelbillRequest() *AlibabamjmosfundcancelbillAPIRequest

NewAlibabamjmosfundcancelbillRequest 初始化AlibabamjmosfundcancelbillAPIRequest对象

func (AlibabamjmosfundcancelbillAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjmosfundcancelbillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmosfundcancelbillAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjmosfundcancelbillAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmosfundcancelbillAPIRequest) GetCancelBillDTO added in v1.3.1

GetCancelBillDTO CancelBillDTO Getter

func (AlibabamjmosfundcancelbillAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjmosfundcancelbillAPIRequest) SetCancelBillDTO added in v1.3.1

func (r *AlibabamjmosfundcancelbillAPIRequest) SetCancelBillDTO(_cancelBillDTO *CancelBillDto) error

SetCancelBillDTO is CancelBillDTO Setter 取消入参

type AlibabamjmosfundcancelbillAPIResponse added in v1.3.1

type AlibabamjmosfundcancelbillAPIResponse struct {
	model.CommonResponse
	AlibabamjmosfundcancelbillAPIResponseModel
}

AlibabamjmosfundcancelbillAPIResponse 取消付款单 API返回值 alibaba.mj.mos.fund.cancelbill

取消付款单

type AlibabamjmosfundcancelbillAPIResponseModel added in v1.3.1

type AlibabamjmosfundcancelbillAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_mos_fund_cancelbill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabamjmosfundcancelbillAPIResponseModel is 取消付款单 成功返回结果

type AlibabamjmosfundcreatebillAPIRequest added in v1.3.1

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

AlibabamjmosfundcreatebillAPIRequest 创建一个付款单 API请求 alibaba.mj.mos.fund.createbill

创建一个付款单

func NewAlibabamjmosfundcreatebillRequest added in v1.3.1

func NewAlibabamjmosfundcreatebillRequest() *AlibabamjmosfundcreatebillAPIRequest

NewAlibabamjmosfundcreatebillRequest 初始化AlibabamjmosfundcreatebillAPIRequest对象

func (AlibabamjmosfundcreatebillAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjmosfundcreatebillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmosfundcreatebillAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjmosfundcreatebillAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmosfundcreatebillAPIRequest) GetBillDto added in v1.3.1

GetBillDto BillDto Getter

func (AlibabamjmosfundcreatebillAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjmosfundcreatebillAPIRequest) SetBillDto added in v1.3.1

func (r *AlibabamjmosfundcreatebillAPIRequest) SetBillDto(_billDto *CreateBillDto) error

SetBillDto is BillDto Setter 创建付款单入参

type AlibabamjmosfundcreatebillAPIResponse added in v1.3.1

type AlibabamjmosfundcreatebillAPIResponse struct {
	model.CommonResponse
	AlibabamjmosfundcreatebillAPIResponseModel
}

AlibabamjmosfundcreatebillAPIResponse 创建一个付款单 API返回值 alibaba.mj.mos.fund.createbill

创建一个付款单

type AlibabamjmosfundcreatebillAPIResponseModel added in v1.3.1

type AlibabamjmosfundcreatebillAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_mos_fund_createbill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabamjmosfundcreatebillAPIResponseModel is 创建一个付款单 成功返回结果

type AlibabamjmosfundmodifybillbankaccountAPIRequest added in v1.3.1

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

AlibabamjmosfundmodifybillbankaccountAPIRequest 修改付款单的银行账户信息 API请求 alibaba.mj.mos.fund.modifybillbankaccount

修改付款单的银行账户信息

func NewAlibabamjmosfundmodifybillbankaccountRequest added in v1.3.1

func NewAlibabamjmosfundmodifybillbankaccountRequest() *AlibabamjmosfundmodifybillbankaccountAPIRequest

NewAlibabamjmosfundmodifybillbankaccountRequest 初始化AlibabamjmosfundmodifybillbankaccountAPIRequest对象

func (AlibabamjmosfundmodifybillbankaccountAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjmosfundmodifybillbankaccountAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjmosfundmodifybillbankaccountAPIRequest) GetModifyDto added in v1.3.1

GetModifyDto ModifyDto Getter

func (AlibabamjmosfundmodifybillbankaccountAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjmosfundmodifybillbankaccountAPIRequest) SetModifyDto added in v1.3.1

SetModifyDto is ModifyDto Setter 修改入参

type AlibabamjmosfundmodifybillbankaccountAPIResponse added in v1.3.1

type AlibabamjmosfundmodifybillbankaccountAPIResponse struct {
	model.CommonResponse
	AlibabamjmosfundmodifybillbankaccountAPIResponseModel
}

AlibabamjmosfundmodifybillbankaccountAPIResponse 修改付款单的银行账户信息 API返回值 alibaba.mj.mos.fund.modifybillbankaccount

修改付款单的银行账户信息

type AlibabamjmosfundmodifybillbankaccountAPIResponseModel added in v1.3.1

type AlibabamjmosfundmodifybillbankaccountAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_mos_fund_modifybillbankaccount_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabamjmosfundmodifybillbankaccountAPIResponseModel is 修改付款单的银行账户信息 成功返回结果

type AlibabamjocbigposbanksaleadjustmentapplyAPIRequest added in v1.3.1

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

AlibabamjocbigposbanksaleadjustmentapplyAPIRequest 大pos银行卡调账申请 API请求 alibaba.mj.oc.bigpos.banksale.adjustment.apply

大pos银行卡调账申请

func NewAlibabamjocbigposbanksaleadjustmentapplyRequest added in v1.3.1

func NewAlibabamjocbigposbanksaleadjustmentapplyRequest() *AlibabamjocbigposbanksaleadjustmentapplyAPIRequest

NewAlibabamjocbigposbanksaleadjustmentapplyRequest 初始化AlibabamjocbigposbanksaleadjustmentapplyAPIRequest对象

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetAmount added in v1.3.1

GetAmount Amount Getter

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetCardNo added in v1.3.1

GetCardNo CardNo Getter

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetOperTime added in v1.3.1

GetOperTime OperTime Getter

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetOperator added in v1.3.1

GetOperator Operator Getter

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetPosNo added in v1.3.1

GetPosNo PosNo Getter

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) GetStoreNo added in v1.3.1

GetStoreNo StoreNo Getter

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetAmount added in v1.3.1

SetAmount is Amount Setter 调账金额

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetCardNo added in v1.3.1

SetCardNo is CardNo Setter 卡号

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetOperTime added in v1.3.1

SetOperTime is OperTime Setter 交易时间

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetOperator added in v1.3.1

SetOperator is Operator Setter 收银员号

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetPosNo added in v1.3.1

SetPosNo is PosNo Setter 调账收银机号

func (*AlibabamjocbigposbanksaleadjustmentapplyAPIRequest) SetStoreNo added in v1.3.1

SetStoreNo is StoreNo Setter 门店号

type AlibabamjocbigposbanksaleadjustmentapplyAPIResponse added in v1.3.1

type AlibabamjocbigposbanksaleadjustmentapplyAPIResponse struct {
	model.CommonResponse
	AlibabamjocbigposbanksaleadjustmentapplyAPIResponseModel
}

AlibabamjocbigposbanksaleadjustmentapplyAPIResponse 大pos银行卡调账申请 API返回值 alibaba.mj.oc.bigpos.banksale.adjustment.apply

大pos银行卡调账申请

type AlibabamjocbigposbanksaleadjustmentapplyAPIResponseModel added in v1.3.1

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

AlibabamjocbigposbanksaleadjustmentapplyAPIResponseModel is 大pos银行卡调账申请 成功返回结果

type AlibabamjocbigposbanksalequeryAPIRequest added in v1.3.1

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

AlibabamjocbigposbanksalequeryAPIRequest 大pos银行卡查账接口 API请求 alibaba.mj.oc.bigpos.banksale.query

大pos银行卡查账接口,给收银员查询银行卡销售记录,便于调账

func NewAlibabamjocbigposbanksalequeryRequest added in v1.3.1

func NewAlibabamjocbigposbanksalequeryRequest() *AlibabamjocbigposbanksalequeryAPIRequest

NewAlibabamjocbigposbanksalequeryRequest 初始化AlibabamjocbigposbanksalequeryAPIRequest对象

func (AlibabamjocbigposbanksalequeryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjocbigposbanksalequeryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocbigposbanksalequeryAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocbigposbanksalequeryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocbigposbanksalequeryAPIRequest) GetCardNo added in v1.3.1

GetCardNo CardNo Getter

func (AlibabamjocbigposbanksalequeryAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (AlibabamjocbigposbanksalequeryAPIRequest) GetOutStoreNo added in v1.3.1

GetOutStoreNo OutStoreNo Getter

func (AlibabamjocbigposbanksalequeryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjocbigposbanksalequeryAPIRequest) GetStartTime added in v1.3.1

GetStartTime StartTime Getter

func (*AlibabamjocbigposbanksalequeryAPIRequest) SetCardNo added in v1.3.1

SetCardNo is CardNo Setter 卡号

func (*AlibabamjocbigposbanksalequeryAPIRequest) SetEndTime added in v1.3.1

func (r *AlibabamjocbigposbanksalequeryAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 结束时间

func (*AlibabamjocbigposbanksalequeryAPIRequest) SetOutStoreNo added in v1.3.1

func (r *AlibabamjocbigposbanksalequeryAPIRequest) SetOutStoreNo(_outStoreNo string) error

SetOutStoreNo is OutStoreNo Setter 外部门店号

func (*AlibabamjocbigposbanksalequeryAPIRequest) SetStartTime added in v1.3.1

func (r *AlibabamjocbigposbanksalequeryAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 开始时间

type AlibabamjocbigposbanksalequeryAPIResponse added in v1.3.1

type AlibabamjocbigposbanksalequeryAPIResponse struct {
	model.CommonResponse
	AlibabamjocbigposbanksalequeryAPIResponseModel
}

AlibabamjocbigposbanksalequeryAPIResponse 大pos银行卡查账接口 API返回值 alibaba.mj.oc.bigpos.banksale.query

大pos银行卡查账接口,给收银员查询银行卡销售记录,便于调账

type AlibabamjocbigposbanksalequeryAPIResponseModel added in v1.3.1

type AlibabamjocbigposbanksalequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_bigpos_banksale_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 数据主体
	Datas []AlibabamjocbigposbanksalequeryData `json:"datas,omitempty" xml:"datas>alibabamjocbigposbanksalequery_data,omitempty"`
	// 明细数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

AlibabamjocbigposbanksalequeryAPIResponseModel is 大pos银行卡查账接口 成功返回结果

type AlibabamjocbigposbanksalequeryData added in v1.3.1

type AlibabamjocbigposbanksalequeryData struct {
	// 交易时间
	OperTime string `json:"oper_time,omitempty" xml:"oper_time,omitempty"`
	// 查询流水号
	PosTraceNo string `json:"pos_trace_no,omitempty" xml:"pos_trace_no,omitempty"`
	// 银联系统参考号
	Refnum string `json:"refnum,omitempty" xml:"refnum,omitempty"`
	// 小票号后7位
	Fphm string `json:"fphm,omitempty" xml:"fphm,omitempty"`
	// 行号
	RowNo int64 `json:"row_no,omitempty" xml:"row_no,omitempty"`
	// 交易金额
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 已调账金额
	AdjustedAmount int64 `json:"adjusted_amount,omitempty" xml:"adjusted_amount,omitempty"`
}

AlibabamjocbigposbanksalequeryData 结构体

type AlibabamjoccalldispatcherAPIRequest added in v1.3.1

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

AlibabamjoccalldispatcherAPIRequest 呼叫运力 API请求 alibaba.mj.oc.calldispatcher

定时达呼叫运力接口

func NewAlibabamjoccalldispatcherRequest added in v1.3.1

func NewAlibabamjoccalldispatcherRequest() *AlibabamjoccalldispatcherAPIRequest

NewAlibabamjoccalldispatcherRequest 初始化AlibabamjoccalldispatcherAPIRequest对象

func (AlibabamjoccalldispatcherAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjoccalldispatcherAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjoccalldispatcherAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjoccalldispatcherAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjoccalldispatcherAPIRequest) GetCallDispatcherDTO added in v1.3.1

func (r AlibabamjoccalldispatcherAPIRequest) GetCallDispatcherDTO() *CallDispatcherDto

GetCallDispatcherDTO CallDispatcherDTO Getter

func (AlibabamjoccalldispatcherAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjoccalldispatcherAPIRequest) SetCallDispatcherDTO added in v1.3.1

func (r *AlibabamjoccalldispatcherAPIRequest) SetCallDispatcherDTO(_callDispatcherDTO *CallDispatcherDto) error

SetCallDispatcherDTO is CallDispatcherDTO Setter 入参

type AlibabamjoccalldispatcherAPIResponse added in v1.3.1

type AlibabamjoccalldispatcherAPIResponse struct {
	model.CommonResponse
	AlibabamjoccalldispatcherAPIResponseModel
}

AlibabamjoccalldispatcherAPIResponse 呼叫运力 API返回值 alibaba.mj.oc.calldispatcher

定时达呼叫运力接口

type AlibabamjoccalldispatcherAPIResponseModel added in v1.3.1

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

AlibabamjoccalldispatcherAPIResponseModel is 呼叫运力 成功返回结果

type AlibabamjocconfpickupgoodsAPIRequest added in v1.3.1

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

AlibabamjocconfpickupgoodsAPIRequest 提货核销 API请求 alibaba.mj.oc.confpickupgoods

此API用于在银泰商场中,消费者在提货中心提货时, 商户后台调用此接口进行提货核销操作

func NewAlibabamjocconfpickupgoodsRequest added in v1.3.1

func NewAlibabamjocconfpickupgoodsRequest() *AlibabamjocconfpickupgoodsAPIRequest

NewAlibabamjocconfpickupgoodsRequest 初始化AlibabamjocconfpickupgoodsAPIRequest对象

func (AlibabamjocconfpickupgoodsAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjocconfpickupgoodsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocconfpickupgoodsAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocconfpickupgoodsAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocconfpickupgoodsAPIRequest) GetConfPickupGoodsRequest added in v1.3.1

func (r AlibabamjocconfpickupgoodsAPIRequest) GetConfPickupGoodsRequest() *ConfPickupGoodsReqDto

GetConfPickupGoodsRequest ConfPickupGoodsRequest Getter

func (AlibabamjocconfpickupgoodsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjocconfpickupgoodsAPIRequest) SetConfPickupGoodsRequest added in v1.3.1

func (r *AlibabamjocconfpickupgoodsAPIRequest) SetConfPickupGoodsRequest(_confPickupGoodsRequest *ConfPickupGoodsReqDto) error

SetConfPickupGoodsRequest is ConfPickupGoodsRequest Setter 提货核销请求参数

type AlibabamjocconfpickupgoodsAPIResponse added in v1.3.1

type AlibabamjocconfpickupgoodsAPIResponse struct {
	model.CommonResponse
	AlibabamjocconfpickupgoodsAPIResponseModel
}

AlibabamjocconfpickupgoodsAPIResponse 提货核销 API返回值 alibaba.mj.oc.confpickupgoods

此API用于在银泰商场中,消费者在提货中心提货时, 商户后台调用此接口进行提货核销操作

type AlibabamjocconfpickupgoodsAPIResponseModel added in v1.3.1

type AlibabamjocconfpickupgoodsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_confpickupgoods_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjocconfpickupgoodsAPIResponseModel is 提货核销 成功返回结果

type AlibabamjocgetproductbyscancodeAPIRequest added in v1.3.1

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

AlibabamjocgetproductbyscancodeAPIRequest POS商品查询接口 API请求 alibaba.mj.oc.getproductbyscancode

此API用于在银泰商场中,POS端扫码获取商品信息

func NewAlibabamjocgetproductbyscancodeRequest added in v1.3.1

func NewAlibabamjocgetproductbyscancodeRequest() *AlibabamjocgetproductbyscancodeAPIRequest

NewAlibabamjocgetproductbyscancodeRequest 初始化AlibabamjocgetproductbyscancodeAPIRequest对象

func (AlibabamjocgetproductbyscancodeAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocgetproductbyscancodeAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocgetproductbyscancodeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocgetproductbyscancodeAPIRequest) GetCode added in v1.3.1

GetCode Code Getter

func (AlibabamjocgetproductbyscancodeAPIRequest) GetCodeType added in v1.3.1

GetCodeType CodeType Getter

func (AlibabamjocgetproductbyscancodeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjocgetproductbyscancodeAPIRequest) GetShopCode added in v1.3.1

GetShopCode ShopCode Getter

func (AlibabamjocgetproductbyscancodeAPIRequest) GetStoreCode added in v1.3.1

GetStoreCode StoreCode Getter

func (*AlibabamjocgetproductbyscancodeAPIRequest) SetCode added in v1.3.1

SetCode is Code Setter 码, 对应的信息可能是款号,也有可能是具体的某一个商品

func (*AlibabamjocgetproductbyscancodeAPIRequest) SetCodeType added in v1.3.1

func (r *AlibabamjocgetproductbyscancodeAPIRequest) SetCodeType(_codeType string) error

SetCodeType is CodeType Setter 条码/二维码/rfid(电子标签),货号、条码、零售+唯一码;ARTNO、BARCODE、UNIQUECODE

func (*AlibabamjocgetproductbyscancodeAPIRequest) SetShopCode added in v1.3.1

func (r *AlibabamjocgetproductbyscancodeAPIRequest) SetShopCode(_shopCode string) error

SetShopCode is ShopCode Setter 专柜编码

func (*AlibabamjocgetproductbyscancodeAPIRequest) SetStoreCode added in v1.3.1

func (r *AlibabamjocgetproductbyscancodeAPIRequest) SetStoreCode(_storeCode string) error

SetStoreCode is StoreCode Setter 门店编码

type AlibabamjocgetproductbyscancodeAPIResponse added in v1.3.1

type AlibabamjocgetproductbyscancodeAPIResponse struct {
	model.CommonResponse
	AlibabamjocgetproductbyscancodeAPIResponseModel
}

AlibabamjocgetproductbyscancodeAPIResponse POS商品查询接口 API返回值 alibaba.mj.oc.getproductbyscancode

此API用于在银泰商场中,POS端扫码获取商品信息

type AlibabamjocgetproductbyscancodeAPIResponseModel added in v1.3.1

type AlibabamjocgetproductbyscancodeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_getproductbyscancode_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	ProductList []ScanProduct `json:"product_list,omitempty" xml:"product_list>scan_product,omitempty"`
}

AlibabamjocgetproductbyscancodeAPIResponseModel is POS商品查询接口 成功返回结果

type AlibabamjocofflinemaxticketnogetAPIRequest added in v1.3.1

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

AlibabamjocofflinemaxticketnogetAPIRequest pos机获取线下最大小票号 API请求 alibaba.mj.oc.offline.maxticketno.get

给pos机提供线下最大小票号查询

func NewAlibabamjocofflinemaxticketnogetRequest added in v1.3.1

func NewAlibabamjocofflinemaxticketnogetRequest() *AlibabamjocofflinemaxticketnogetAPIRequest

NewAlibabamjocofflinemaxticketnogetRequest 初始化AlibabamjocofflinemaxticketnogetAPIRequest对象

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocofflinemaxticketnogetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetDatetime added in v1.3.1

GetDatetime Datetime Getter

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetPosNo added in v1.3.1

GetPosNo PosNo Getter

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjocofflinemaxticketnogetAPIRequest) GetStoreNo added in v1.3.1

GetStoreNo StoreNo Getter

func (*AlibabamjocofflinemaxticketnogetAPIRequest) SetDatetime added in v1.3.1

func (r *AlibabamjocofflinemaxticketnogetAPIRequest) SetDatetime(_datetime string) error

SetDatetime is Datetime Setter 日期

func (*AlibabamjocofflinemaxticketnogetAPIRequest) SetPosNo added in v1.3.1

SetPosNo is PosNo Setter 收银机号

func (*AlibabamjocofflinemaxticketnogetAPIRequest) SetStoreNo added in v1.3.1

SetStoreNo is StoreNo Setter 外部门店号

type AlibabamjocofflinemaxticketnogetAPIResponse added in v1.3.1

type AlibabamjocofflinemaxticketnogetAPIResponse struct {
	model.CommonResponse
	AlibabamjocofflinemaxticketnogetAPIResponseModel
}

AlibabamjocofflinemaxticketnogetAPIResponse pos机获取线下最大小票号 API返回值 alibaba.mj.oc.offline.maxticketno.get

给pos机提供线下最大小票号查询

type AlibabamjocofflinemaxticketnogetAPIResponseModel added in v1.3.1

type AlibabamjocofflinemaxticketnogetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_offline_maxticketno_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 时间
	PayDate string `json:"pay_date,omitempty" xml:"pay_date,omitempty"`
	// 收银机号
	PosNo string `json:"pos_no,omitempty" xml:"pos_no,omitempty"`
	// 小票号
	PayNo string `json:"pay_no,omitempty" xml:"pay_no,omitempty"`
	// 外部门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 联合收银标记
	Union bool `json:"union,omitempty" xml:"union,omitempty"`
}

AlibabamjocofflinemaxticketnogetAPIResponseModel is pos机获取线下最大小票号 成功返回结果

type AlibabamjoconlineticketnogetAPIRequest added in v1.3.1

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

AlibabamjoconlineticketnogetAPIRequest 线上小票号获取 API请求 alibaba.mj.oc.online.ticketno.get

线上小票号获取

func NewAlibabamjoconlineticketnogetRequest added in v1.3.1

func NewAlibabamjoconlineticketnogetRequest() *AlibabamjoconlineticketnogetAPIRequest

NewAlibabamjoconlineticketnogetRequest 初始化AlibabamjoconlineticketnogetAPIRequest对象

func (AlibabamjoconlineticketnogetAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjoconlineticketnogetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjoconlineticketnogetAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjoconlineticketnogetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjoconlineticketnogetAPIRequest) GetOutStoreNo added in v1.3.1

GetOutStoreNo OutStoreNo Getter

func (AlibabamjoconlineticketnogetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjoconlineticketnogetAPIRequest) SetOutStoreNo added in v1.3.1

func (r *AlibabamjoconlineticketnogetAPIRequest) SetOutStoreNo(_outStoreNo string) error

SetOutStoreNo is OutStoreNo Setter 外部门店号

type AlibabamjoconlineticketnogetAPIResponse added in v1.3.1

type AlibabamjoconlineticketnogetAPIResponse struct {
	model.CommonResponse
	AlibabamjoconlineticketnogetAPIResponseModel
}

AlibabamjoconlineticketnogetAPIResponse 线上小票号获取 API返回值 alibaba.mj.oc.online.ticketno.get

线上小票号获取

type AlibabamjoconlineticketnogetAPIResponseModel added in v1.3.1

type AlibabamjoconlineticketnogetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_online_ticketno_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	ErrorsMsg string `json:"errors_msg,omitempty" xml:"errors_msg,omitempty"`
	// 错误码
	ErrorsCode int64 `json:"errors_code,omitempty" xml:"errors_code,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjoconlineticketnogetAPIResponseModel is 线上小票号获取 成功返回结果

type AlibabamjocoutboundAPIRequest added in v1.3.1

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

AlibabamjocoutboundAPIRequest 零售商品发货 API请求 alibaba.mj.oc.outbound

用于接收发货的数据

func NewAlibabamjocoutboundRequest added in v1.3.1

func NewAlibabamjocoutboundRequest() *AlibabamjocoutboundAPIRequest

NewAlibabamjocoutboundRequest 初始化AlibabamjocoutboundAPIRequest对象

func (AlibabamjocoutboundAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjocoutboundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocoutboundAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocoutboundAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocoutboundAPIRequest) GetGoodsOutbound added in v1.3.1

func (r AlibabamjocoutboundAPIRequest) GetGoodsOutbound() *GoodsOutboundDto

GetGoodsOutbound GoodsOutbound Getter

func (AlibabamjocoutboundAPIRequest) GetRawParams added in v1.3.1

func (r AlibabamjocoutboundAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjocoutboundAPIRequest) SetGoodsOutbound added in v1.3.1

func (r *AlibabamjocoutboundAPIRequest) SetGoodsOutbound(_goodsOutbound *GoodsOutboundDto) error

SetGoodsOutbound is GoodsOutbound Setter 发货信息

type AlibabamjocoutboundAPIResponse added in v1.3.1

type AlibabamjocoutboundAPIResponse struct {
	model.CommonResponse
	AlibabamjocoutboundAPIResponseModel
}

AlibabamjocoutboundAPIResponse 零售商品发货 API返回值 alibaba.mj.oc.outbound

用于接收发货的数据

type AlibabamjocoutboundAPIResponseModel added in v1.3.1

type AlibabamjocoutboundAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_outbound_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjocoutboundAPIResponseModel is 零售商品发货 成功返回结果

type AlibabamjocpayAPIRequest added in v1.3.1

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

AlibabamjocpayAPIRequest POS收银成功后订单同步 API请求 alibaba.mj.oc.pay

此API用于在银泰商场中,消费者在收银台收银/退款时, POS系统在收银或退款成功后,调用此接口进行订单同步

func NewAlibabamjocpayRequest added in v1.3.1

func NewAlibabamjocpayRequest() *AlibabamjocpayAPIRequest

NewAlibabamjocpayRequest 初始化AlibabamjocpayAPIRequest对象

func (AlibabamjocpayAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjocpayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocpayAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocpayAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocpayAPIRequest) GetPosOrder added in v1.3.1

func (r AlibabamjocpayAPIRequest) GetPosOrder() *PosOrderDto

GetPosOrder PosOrder Getter

func (AlibabamjocpayAPIRequest) GetRawParams added in v1.3.1

func (r AlibabamjocpayAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjocpayAPIRequest) SetPosOrder added in v1.3.1

func (r *AlibabamjocpayAPIRequest) SetPosOrder(_posOrder *PosOrderDto) error

SetPosOrder is PosOrder Setter 订单数据

type AlibabamjocpayAPIResponse added in v1.3.1

type AlibabamjocpayAPIResponse struct {
	model.CommonResponse
	AlibabamjocpayAPIResponseModel
}

AlibabamjocpayAPIResponse POS收银成功后订单同步 API返回值 alibaba.mj.oc.pay

此API用于在银泰商场中,消费者在收银台收银/退款时, POS系统在收银或退款成功后,调用此接口进行订单同步

type AlibabamjocpayAPIResponseModel added in v1.3.1

type AlibabamjocpayAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// POS交易号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// errMsg
	ExMsg string `json:"ex_msg,omitempty" xml:"ex_msg,omitempty"`
	// errCode
	ExCode int64 `json:"ex_code,omitempty" xml:"ex_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjocpayAPIResponseModel is POS收银成功后订单同步 成功返回结果

type AlibabamjocwritesaleslipAPIRequest added in v1.3.1

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

AlibabamjocwritesaleslipAPIRequest 开票占库 API请求 alibaba.mj.oc.writesaleslip

开票占库

func NewAlibabamjocwritesaleslipRequest added in v1.3.1

func NewAlibabamjocwritesaleslipRequest() *AlibabamjocwritesaleslipAPIRequest

NewAlibabamjocwritesaleslipRequest 初始化AlibabamjocwritesaleslipAPIRequest对象

func (AlibabamjocwritesaleslipAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamjocwritesaleslipAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjocwritesaleslipAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamjocwritesaleslipAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjocwritesaleslipAPIRequest) GetPosSaleOrder added in v1.3.1

GetPosSaleOrder PosSaleOrder Getter

func (AlibabamjocwritesaleslipAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjocwritesaleslipAPIRequest) SetPosSaleOrder added in v1.3.1

func (r *AlibabamjocwritesaleslipAPIRequest) SetPosSaleOrder(_posSaleOrder *PosSaleOrderDto) error

SetPosSaleOrder is PosSaleOrder Setter 开票占库入参

type AlibabamjocwritesaleslipAPIResponse added in v1.3.1

type AlibabamjocwritesaleslipAPIResponse struct {
	model.CommonResponse
	AlibabamjocwritesaleslipAPIResponseModel
}

AlibabamjocwritesaleslipAPIResponse 开票占库 API返回值 alibaba.mj.oc.writesaleslip

开票占库

type AlibabamjocwritesaleslipAPIResponseModel added in v1.3.1

type AlibabamjocwritesaleslipAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_oc_writesaleslip_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjocwritesaleslipAPIResponseModel is 开票占库 成功返回结果

type AlibabamjpresalesettlementaddlistAPIRequest added in v1.3.1

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

AlibabamjpresalesettlementaddlistAPIRequest 预售结算数据回传 API请求 alibaba.mj.presale.settlement.addlist

用于预售活动结算数据的回传。

func NewAlibabamjpresalesettlementaddlistRequest added in v1.3.1

func NewAlibabamjpresalesettlementaddlistRequest() *AlibabamjpresalesettlementaddlistAPIRequest

NewAlibabamjpresalesettlementaddlistRequest 初始化AlibabamjpresalesettlementaddlistAPIRequest对象

func (AlibabamjpresalesettlementaddlistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjpresalesettlementaddlistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjpresalesettlementaddlistAPIRequest) GetPreSaleRefundJson added in v1.3.1

func (r AlibabamjpresalesettlementaddlistAPIRequest) GetPreSaleRefundJson() string

GetPreSaleRefundJson PreSaleRefundJson Getter

func (AlibabamjpresalesettlementaddlistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamjpresalesettlementaddlistAPIRequest) SetPreSaleRefundJson added in v1.3.1

func (r *AlibabamjpresalesettlementaddlistAPIRequest) SetPreSaleRefundJson(_preSaleRefundJson string) error

SetPreSaleRefundJson is PreSaleRefundJson Setter 订单json格式数据

type AlibabamjpresalesettlementaddlistAPIResponse added in v1.3.1

type AlibabamjpresalesettlementaddlistAPIResponse struct {
	model.CommonResponse
	AlibabamjpresalesettlementaddlistAPIResponseModel
}

AlibabamjpresalesettlementaddlistAPIResponse 预售结算数据回传 API返回值 alibaba.mj.presale.settlement.addlist

用于预售活动结算数据的回传。

type AlibabamjpresalesettlementaddlistAPIResponseModel added in v1.3.1

type AlibabamjpresalesettlementaddlistAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_presale_settlement_addlist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamjpresalesettlementaddlistAPIResponseModel is 预售结算数据回传 成功返回结果

type AlibabamjpresalesettlementstatisticsAPIRequest added in v1.3.1

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

AlibabamjpresalesettlementstatisticsAPIRequest 预购结算数据统计 API请求 alibaba.mj.presale.settlement.statistics

预购结算数据统计

func NewAlibabamjpresalesettlementstatisticsRequest added in v1.3.1

func NewAlibabamjpresalesettlementstatisticsRequest() *AlibabamjpresalesettlementstatisticsAPIRequest

NewAlibabamjpresalesettlementstatisticsRequest 初始化AlibabamjpresalesettlementstatisticsAPIRequest对象

func (AlibabamjpresalesettlementstatisticsAPIRequest) GetActionNo added in v1.3.1

GetActionNo ActionNo Getter

func (AlibabamjpresalesettlementstatisticsAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamjpresalesettlementstatisticsAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamjpresalesettlementstatisticsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamjpresalesettlementstatisticsAPIRequest) GetStoreNo added in v1.3.1

GetStoreNo StoreNo Getter

func (*AlibabamjpresalesettlementstatisticsAPIRequest) SetActionNo added in v1.3.1

SetActionNo is ActionNo Setter 活动期号

func (*AlibabamjpresalesettlementstatisticsAPIRequest) SetStoreNo added in v1.3.1

SetStoreNo is StoreNo Setter 外部门店编码

type AlibabamjpresalesettlementstatisticsAPIResponse added in v1.3.1

type AlibabamjpresalesettlementstatisticsAPIResponse struct {
	model.CommonResponse
	AlibabamjpresalesettlementstatisticsAPIResponseModel
}

AlibabamjpresalesettlementstatisticsAPIResponse 预购结算数据统计 API返回值 alibaba.mj.presale.settlement.statistics

预购结算数据统计

type AlibabamjpresalesettlementstatisticsAPIResponseModel added in v1.3.1

type AlibabamjpresalesettlementstatisticsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mj_presale_settlement_statistics_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *AlibabamjpresalesettlementstatisticsData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabamjpresalesettlementstatisticsAPIResponseModel is 预购结算数据统计 成功返回结果

type AlibabamjpresalesettlementstatisticsData added in v1.3.1

type AlibabamjpresalesettlementstatisticsData struct {
	// onLineNum
	OnLineNum string `json:"on_line_num,omitempty" xml:"on_line_num,omitempty"`
	// aliPayNum
	AliPayNum string `json:"ali_pay_num,omitempty" xml:"ali_pay_num,omitempty"`
	// offLineNum
	OffLineNum string `json:"off_line_num,omitempty" xml:"off_line_num,omitempty"`
	// aliPayPrice
	AliPayPrice string `json:"ali_pay_price,omitempty" xml:"ali_pay_price,omitempty"`
	// onLinePrice
	OnLinePrice string `json:"on_line_price,omitempty" xml:"on_line_price,omitempty"`
	// offLinePrice
	OffLinePrice string `json:"off_line_price,omitempty" xml:"off_line_price,omitempty"`
}

AlibabamjpresalesettlementstatisticsData 结构体

type AlibabamosbrandcoproductgroupusercountAPIRequest added in v1.3.1

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

AlibabamosbrandcoproductgroupusercountAPIRequest 按照查询条件统计总数 API请求 alibaba.mos.brand.coproduct.group.user.count

按照查询条件统计总数

func NewAlibabamosbrandcoproductgroupusercountRequest added in v1.3.1

func NewAlibabamosbrandcoproductgroupusercountRequest() *AlibabamosbrandcoproductgroupusercountAPIRequest

NewAlibabamosbrandcoproductgroupusercountRequest 初始化AlibabamosbrandcoproductgroupusercountAPIRequest对象

func (AlibabamosbrandcoproductgroupusercountAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosbrandcoproductgroupusercountAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosbrandcoproductgroupusercountAPIRequest) GetBrandCoProductGroupUserQueryParam added in v1.3.1

GetBrandCoProductGroupUserQueryParam BrandCoProductGroupUserQueryParam Getter

func (AlibabamosbrandcoproductgroupusercountAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosbrandcoproductgroupusercountAPIRequest) SetBrandCoProductGroupUserQueryParam added in v1.3.1

func (r *AlibabamosbrandcoproductgroupusercountAPIRequest) SetBrandCoProductGroupUserQueryParam(_brandCoProductGroupUserQueryParam *BrandCoProductGroupUserQueryParam) error

SetBrandCoProductGroupUserQueryParam is BrandCoProductGroupUserQueryParam Setter 查询条件

type AlibabamosbrandcoproductgroupusercountAPIResponse added in v1.3.1

type AlibabamosbrandcoproductgroupusercountAPIResponse struct {
	model.CommonResponse
	AlibabamosbrandcoproductgroupusercountAPIResponseModel
}

AlibabamosbrandcoproductgroupusercountAPIResponse 按照查询条件统计总数 API返回值 alibaba.mos.brand.coproduct.group.user.count

按照查询条件统计总数

type AlibabamosbrandcoproductgroupusercountAPIResponseModel added in v1.3.1

type AlibabamosbrandcoproductgroupusercountAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_brand_coproduct_group_user_count_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 异步结果
	AsyncResult string `json:"async_result,omitempty" xml:"async_result,omitempty"`
	// 错误code
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 统计数量
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 是否同步
	IsAsync bool `json:"is_async,omitempty" xml:"is_async,omitempty"`
}

AlibabamosbrandcoproductgroupusercountAPIResponseModel is 按照查询条件统计总数 成功返回结果

type AlibabamosbrandcoproductgroupuserqueryAPIRequest added in v1.3.1

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

AlibabamosbrandcoproductgroupuserqueryAPIRequest 按照条件查询分页数据 API请求 alibaba.mos.brand.coproduct.group.user.query

按照条件查询分页数据

func NewAlibabamosbrandcoproductgroupuserqueryRequest added in v1.3.1

func NewAlibabamosbrandcoproductgroupuserqueryRequest() *AlibabamosbrandcoproductgroupuserqueryAPIRequest

NewAlibabamosbrandcoproductgroupuserqueryRequest 初始化AlibabamosbrandcoproductgroupuserqueryAPIRequest对象

func (AlibabamosbrandcoproductgroupuserqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosbrandcoproductgroupuserqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosbrandcoproductgroupuserqueryAPIRequest) GetBrandCoProductGroupUserQueryParam added in v1.3.1

GetBrandCoProductGroupUserQueryParam BrandCoProductGroupUserQueryParam Getter

func (AlibabamosbrandcoproductgroupuserqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosbrandcoproductgroupuserqueryAPIRequest) SetBrandCoProductGroupUserQueryParam added in v1.3.1

func (r *AlibabamosbrandcoproductgroupuserqueryAPIRequest) SetBrandCoProductGroupUserQueryParam(_brandCoProductGroupUserQueryParam *BrandCoProductGroupUserQueryParam) error

SetBrandCoProductGroupUserQueryParam is BrandCoProductGroupUserQueryParam Setter 查询条件

type AlibabamosbrandcoproductgroupuserqueryAPIResponse added in v1.3.1

type AlibabamosbrandcoproductgroupuserqueryAPIResponse struct {
	model.CommonResponse
	AlibabamosbrandcoproductgroupuserqueryAPIResponseModel
}

AlibabamosbrandcoproductgroupuserqueryAPIResponse 按照条件查询分页数据 API返回值 alibaba.mos.brand.coproduct.group.user.query

按照条件查询分页数据

type AlibabamosbrandcoproductgroupuserqueryAPIResponseModel added in v1.3.1

type AlibabamosbrandcoproductgroupuserqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_brand_coproduct_group_user_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 组员列表信息
	Data []BrandCoProductGroupUserDto `json:"data,omitempty" xml:"data>brand_co_product_group_user_dto,omitempty"`
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 异步结果
	AsyncResult string `json:"async_result,omitempty" xml:"async_result,omitempty"`
	// 错误code
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 调用是否成功
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 是否同步
	IsAsync bool `json:"is_async,omitempty" xml:"is_async,omitempty"`
}

AlibabamosbrandcoproductgroupuserqueryAPIResponseModel is 按照条件查询分页数据 成功返回结果

type AlibabamosbunkbunkinfoquerybunkAPIRequest added in v1.3.1

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

AlibabamosbunkbunkinfoquerybunkAPIRequest 根据合同号查询铺位信息 API请求 alibaba.mos.bunk.bunkinfo.querybunk

根据合同号查询铺位信息

func NewAlibabamosbunkbunkinfoquerybunkRequest added in v1.3.1

func NewAlibabamosbunkbunkinfoquerybunkRequest() *AlibabamosbunkbunkinfoquerybunkAPIRequest

NewAlibabamosbunkbunkinfoquerybunkRequest 初始化AlibabamosbunkbunkinfoquerybunkAPIRequest对象

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosbunkbunkinfoquerybunkAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetContractCodes added in v1.3.1

func (r AlibabamosbunkbunkinfoquerybunkAPIRequest) GetContractCodes() []string

GetContractCodes ContractCodes Getter

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetStatusList added in v1.3.1

GetStatusList StatusList Getter

func (AlibabamosbunkbunkinfoquerybunkAPIRequest) GetStoreNo added in v1.3.1

GetStoreNo StoreNo Getter

func (*AlibabamosbunkbunkinfoquerybunkAPIRequest) SetContractCodes added in v1.3.1

func (r *AlibabamosbunkbunkinfoquerybunkAPIRequest) SetContractCodes(_contractCodes []string) error

SetContractCodes is ContractCodes Setter 合同号集合

func (*AlibabamosbunkbunkinfoquerybunkAPIRequest) SetStatusList added in v1.3.1

func (r *AlibabamosbunkbunkinfoquerybunkAPIRequest) SetStatusList(_statusList []string) error

SetStatusList is StatusList Setter 合同状态集合

func (*AlibabamosbunkbunkinfoquerybunkAPIRequest) SetStoreNo added in v1.3.1

func (r *AlibabamosbunkbunkinfoquerybunkAPIRequest) SetStoreNo(_storeNo string) error

SetStoreNo is StoreNo Setter 门店号

type AlibabamosbunkbunkinfoquerybunkAPIResponse added in v1.3.1

type AlibabamosbunkbunkinfoquerybunkAPIResponse struct {
	model.CommonResponse
	AlibabamosbunkbunkinfoquerybunkAPIResponseModel
}

AlibabamosbunkbunkinfoquerybunkAPIResponse 根据合同号查询铺位信息 API返回值 alibaba.mos.bunk.bunkinfo.querybunk

根据合同号查询铺位信息

type AlibabamosbunkbunkinfoquerybunkAPIResponseModel added in v1.3.1

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

AlibabamosbunkbunkinfoquerybunkAPIResponseModel is 根据合同号查询铺位信息 成功返回结果

type AlibabamosbunkbunkinfoquerybunkResultDo added in v1.3.1

type AlibabamosbunkbunkinfoquerybunkResultDo struct {
	// 返回数据
	DataList []BunkSimpleDto `json:"data_list,omitempty" xml:"data_list>bunk_simple_dto,omitempty"`
	// 结果标题
	Titles []string `json:"titles,omitempty" xml:"titles>string,omitempty"`
	// 全链路追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 其他
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 总量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosbunkbunkinfoquerybunkResultDo 结构体

type AlibabamoscommonauthoperatorinfoAPIRequest added in v1.3.1

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

AlibabamoscommonauthoperatorinfoAPIRequest 获取当前人员信息 API请求 alibaba.mos.common.auth.operator.info

获取当前人员信息

func NewAlibabamoscommonauthoperatorinfoRequest added in v1.3.1

func NewAlibabamoscommonauthoperatorinfoRequest() *AlibabamoscommonauthoperatorinfoAPIRequest

NewAlibabamoscommonauthoperatorinfoRequest 初始化AlibabamoscommonauthoperatorinfoAPIRequest对象

func (AlibabamoscommonauthoperatorinfoAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamoscommonauthoperatorinfoAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamoscommonauthoperatorinfoAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamoscommonauthoperatorinfoAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamoscommonauthoperatorinfoAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*AlibabamoscommonauthoperatorinfoAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter 登录授权后返回的token信息

type AlibabamoscommonauthoperatorinfoAPIResponse added in v1.3.1

type AlibabamoscommonauthoperatorinfoAPIResponse struct {
	model.CommonResponse
	AlibabamoscommonauthoperatorinfoAPIResponseModel
}

AlibabamoscommonauthoperatorinfoAPIResponse 获取当前人员信息 API返回值 alibaba.mos.common.auth.operator.info

获取当前人员信息

type AlibabamoscommonauthoperatorinfoAPIResponseModel added in v1.3.1

type AlibabamoscommonauthoperatorinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_common_auth_operator_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 异步结果
	AsyncResult string `json:"async_result,omitempty" xml:"async_result,omitempty"`
	// 错误code
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 授权的人员信息
	Data *OperatorUserInfo `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 是否同步
	IsAsync bool `json:"is_async,omitempty" xml:"is_async,omitempty"`
}

AlibabamoscommonauthoperatorinfoAPIResponseModel is 获取当前人员信息 成功返回结果

type AlibabamosfinancebankinfoquerybankAPIRequest added in v1.3.1

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

AlibabamosfinancebankinfoquerybankAPIRequest 供应商银行账号查询 API请求 alibaba.mos.finance.bankinfo.querybank

查询供应商对应的银行账号信息

func NewAlibabamosfinancebankinfoquerybankRequest added in v1.3.1

func NewAlibabamosfinancebankinfoquerybankRequest() *AlibabamosfinancebankinfoquerybankAPIRequest

NewAlibabamosfinancebankinfoquerybankRequest 初始化AlibabamosfinancebankinfoquerybankAPIRequest对象

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetCompanyId added in v1.3.1

GetCompanyId CompanyId Getter

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetStoreNo added in v1.3.1

GetStoreNo StoreNo Getter

func (AlibabamosfinancebankinfoquerybankAPIRequest) GetSupplierId added in v1.3.1

GetSupplierId SupplierId Getter

func (*AlibabamosfinancebankinfoquerybankAPIRequest) SetCompanyId added in v1.3.1

func (r *AlibabamosfinancebankinfoquerybankAPIRequest) SetCompanyId(_companyId string) error

SetCompanyId is CompanyId Setter 签约主体id

func (*AlibabamosfinancebankinfoquerybankAPIRequest) SetStoreNo added in v1.3.1

SetStoreNo is StoreNo Setter 门店号

func (*AlibabamosfinancebankinfoquerybankAPIRequest) SetSupplierId added in v1.3.1

func (r *AlibabamosfinancebankinfoquerybankAPIRequest) SetSupplierId(_supplierId string) error

SetSupplierId is SupplierId Setter 供应商id

type AlibabamosfinancebankinfoquerybankAPIResponse added in v1.3.1

type AlibabamosfinancebankinfoquerybankAPIResponse struct {
	model.CommonResponse
	AlibabamosfinancebankinfoquerybankAPIResponseModel
}

AlibabamosfinancebankinfoquerybankAPIResponse 供应商银行账号查询 API返回值 alibaba.mos.finance.bankinfo.querybank

查询供应商对应的银行账号信息

type AlibabamosfinancebankinfoquerybankAPIResponseModel added in v1.3.1

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

AlibabamosfinancebankinfoquerybankAPIResponseModel is 供应商银行账号查询 成功返回结果

type AlibabamosfinancebankinfoquerybankResultDo added in v1.3.1

type AlibabamosfinancebankinfoquerybankResultDo struct {
	// 扩展
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 全链路追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 描述
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 返回值
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 总量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 是否成功
	Data *SupplierBankInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 成功
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosfinancebankinfoquerybankResultDo 结构体

type AlibabamosflowworkqueryvariablesAPIRequest added in v1.3.1

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

AlibabamosflowworkqueryvariablesAPIRequest 获取指定流程上下文参数 API请求 alibaba.mosflow.work.queryvariables

业务查询指定流程上下文内容

func NewAlibabamosflowworkqueryvariablesRequest added in v1.3.1

func NewAlibabamosflowworkqueryvariablesRequest() *AlibabamosflowworkqueryvariablesAPIRequest

NewAlibabamosflowworkqueryvariablesRequest 初始化AlibabamosflowworkqueryvariablesAPIRequest对象

func (AlibabamosflowworkqueryvariablesAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosflowworkqueryvariablesAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosflowworkqueryvariablesAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosflowworkqueryvariablesAPIRequest) GetProcessInstanceId added in v1.3.1

func (r AlibabamosflowworkqueryvariablesAPIRequest) GetProcessInstanceId() string

GetProcessInstanceId ProcessInstanceId Getter

func (AlibabamosflowworkqueryvariablesAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosflowworkqueryvariablesAPIRequest) SetProcessInstanceId added in v1.3.1

func (r *AlibabamosflowworkqueryvariablesAPIRequest) SetProcessInstanceId(_processInstanceId string) error

SetProcessInstanceId is ProcessInstanceId Setter 流程实例ID

type AlibabamosflowworkqueryvariablesAPIResponse added in v1.3.1

type AlibabamosflowworkqueryvariablesAPIResponse struct {
	model.CommonResponse
	AlibabamosflowworkqueryvariablesAPIResponseModel
}

AlibabamosflowworkqueryvariablesAPIResponse 获取指定流程上下文参数 API返回值 alibaba.mosflow.work.queryvariables

业务查询指定流程上下文内容

type AlibabamosflowworkqueryvariablesAPIResponseModel added in v1.3.1

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

AlibabamosflowworkqueryvariablesAPIResponseModel is 获取指定流程上下文参数 成功返回结果

type AlibabamosflowworkstartprocessAPIRequest added in v1.3.1

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

AlibabamosflowworkstartprocessAPIRequest 发起流程 API请求 alibaba.mosflow.work.startprocess

业务发起流程审批

func NewAlibabamosflowworkstartprocessRequest added in v1.3.1

func NewAlibabamosflowworkstartprocessRequest() *AlibabamosflowworkstartprocessAPIRequest

NewAlibabamosflowworkstartprocessRequest 初始化AlibabamosflowworkstartprocessAPIRequest对象

func (AlibabamosflowworkstartprocessAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosflowworkstartprocessAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosflowworkstartprocessAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosflowworkstartprocessAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosflowworkstartprocessAPIRequest) GetParameterEntity added in v1.3.1

GetParameterEntity ParameterEntity Getter

func (AlibabamosflowworkstartprocessAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosflowworkstartprocessAPIRequest) GetVariables added in v1.3.1

GetVariables Variables Getter

func (*AlibabamosflowworkstartprocessAPIRequest) SetParameterEntity added in v1.3.1

func (r *AlibabamosflowworkstartprocessAPIRequest) SetParameterEntity(_parameterEntity *ParameterEntity) error

SetParameterEntity is ParameterEntity Setter 流程必传参数

func (*AlibabamosflowworkstartprocessAPIRequest) SetVariables added in v1.3.1

func (r *AlibabamosflowworkstartprocessAPIRequest) SetVariables(_variables string) error

SetVariables is Variables Setter 参数二:额外业务参数,Map的JSON串

type AlibabamosflowworkstartprocessAPIResponse added in v1.3.1

type AlibabamosflowworkstartprocessAPIResponse struct {
	model.CommonResponse
	AlibabamosflowworkstartprocessAPIResponseModel
}

AlibabamosflowworkstartprocessAPIResponse 发起流程 API返回值 alibaba.mosflow.work.startprocess

业务发起流程审批

type AlibabamosflowworkstartprocessAPIResponseModel added in v1.3.1

type AlibabamosflowworkstartprocessAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mosflow_work_startprocess_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应参数
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 异常信息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 异常Code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabamosflowworkstartprocessAPIResponseModel is 发起流程 成功返回结果

type AlibabamoshrbackgroundreportnotifyAPIRequest added in v1.3.1

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

AlibabamoshrbackgroundreportnotifyAPIRequest 背调公司背调结果通知 API请求 alibaba.mos.hr.background.report.notify

背调公司背调结果通知

func NewAlibabamoshrbackgroundreportnotifyRequest added in v1.3.1

func NewAlibabamoshrbackgroundreportnotifyRequest() *AlibabamoshrbackgroundreportnotifyAPIRequest

NewAlibabamoshrbackgroundreportnotifyRequest 初始化AlibabamoshrbackgroundreportnotifyAPIRequest对象

func (AlibabamoshrbackgroundreportnotifyAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamoshrbackgroundreportnotifyAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamoshrbackgroundreportnotifyAPIRequest) GetHrBackgroundReportNotifyDto added in v1.3.1

GetHrBackgroundReportNotifyDto HrBackgroundReportNotifyDto Getter

func (AlibabamoshrbackgroundreportnotifyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamoshrbackgroundreportnotifyAPIRequest) SetHrBackgroundReportNotifyDto added in v1.3.1

func (r *AlibabamoshrbackgroundreportnotifyAPIRequest) SetHrBackgroundReportNotifyDto(_hrBackgroundReportNotifyDto *HrBackgroundReportNotifyDto) error

SetHrBackgroundReportNotifyDto is HrBackgroundReportNotifyDto Setter 背调结果通知对象

type AlibabamoshrbackgroundreportnotifyAPIResponse added in v1.3.1

type AlibabamoshrbackgroundreportnotifyAPIResponse struct {
	model.CommonResponse
	AlibabamoshrbackgroundreportnotifyAPIResponseModel
}

AlibabamoshrbackgroundreportnotifyAPIResponse 背调公司背调结果通知 API返回值 alibaba.mos.hr.background.report.notify

背调公司背调结果通知

type AlibabamoshrbackgroundreportnotifyAPIResponseModel added in v1.3.1

type AlibabamoshrbackgroundreportnotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_hr_background_report_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用链id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 异步结果
	AsyncResult string `json:"async_result,omitempty" xml:"async_result,omitempty"`
	// 返回对象
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误code
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 调用是否成功
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 是否同步
	IsAsync bool `json:"is_async,omitempty" xml:"is_async,omitempty"`
}

AlibabamoshrbackgroundreportnotifyAPIResponseModel is 背调公司背调结果通知 成功返回结果

type AlibabamosoctradesyncbanksaleAPIRequest added in v1.3.1

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

AlibabamosoctradesyncbanksaleAPIRequest 云闪付、银行卡销售数据回传接口 API请求 alibaba.mos.oc.trade.syncbanksale

云闪付、银行卡销售数据回传

func NewAlibabamosoctradesyncbanksaleRequest added in v1.3.1

func NewAlibabamosoctradesyncbanksaleRequest() *AlibabamosoctradesyncbanksaleAPIRequest

NewAlibabamosoctradesyncbanksaleRequest 初始化AlibabamosoctradesyncbanksaleAPIRequest对象

func (AlibabamosoctradesyncbanksaleAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosoctradesyncbanksaleAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosoctradesyncbanksaleAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosoctradesyncbanksaleAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosoctradesyncbanksaleAPIRequest) GetPosBankSaleInfoDto added in v1.3.1

GetPosBankSaleInfoDto PosBankSaleInfoDto Getter

func (AlibabamosoctradesyncbanksaleAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosoctradesyncbanksaleAPIRequest) SetPosBankSaleInfoDto added in v1.3.1

func (r *AlibabamosoctradesyncbanksaleAPIRequest) SetPosBankSaleInfoDto(_posBankSaleInfoDto *PosBankSaleInfoDto) error

SetPosBankSaleInfoDto is PosBankSaleInfoDto Setter pos云闪付、银行卡销售数据

type AlibabamosoctradesyncbanksaleAPIResponse added in v1.3.1

type AlibabamosoctradesyncbanksaleAPIResponse struct {
	model.CommonResponse
	AlibabamosoctradesyncbanksaleAPIResponseModel
}

AlibabamosoctradesyncbanksaleAPIResponse 云闪付、银行卡销售数据回传接口 API返回值 alibaba.mos.oc.trade.syncbanksale

云闪付、银行卡销售数据回传

type AlibabamosoctradesyncbanksaleAPIResponseModel added in v1.3.1

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

AlibabamosoctradesyncbanksaleAPIResponseModel is 云闪付、银行卡销售数据回传接口 成功返回结果

type AlibabamosoctradesyncbanksaleResultDo added in v1.3.1

type AlibabamosoctradesyncbanksaleResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosoctradesyncbanksaleResultDo 结构体

type AlibabamosonsitetradeisnewpayorderAPIRequest added in v1.3.1

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

AlibabamosonsitetradeisnewpayorderAPIRequest 是否为新支付订单 API请求 alibaba.mos.onsite.trade.isnewpayorder

退款时,老支付宝手淘退款接口需要查一下该订单是否为新支付订单

func NewAlibabamosonsitetradeisnewpayorderRequest added in v1.3.1

func NewAlibabamosonsitetradeisnewpayorderRequest() *AlibabamosonsitetradeisnewpayorderAPIRequest

NewAlibabamosonsitetradeisnewpayorderRequest 初始化AlibabamosonsitetradeisnewpayorderAPIRequest对象

func (AlibabamosonsitetradeisnewpayorderAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetradeisnewpayorderAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetradeisnewpayorderAPIRequest) GetOutTradeNo added in v1.3.1

GetOutTradeNo OutTradeNo Getter

func (AlibabamosonsitetradeisnewpayorderAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosonsitetradeisnewpayorderAPIRequest) SetOutTradeNo added in v1.3.1

func (r *AlibabamosonsitetradeisnewpayorderAPIRequest) SetOutTradeNo(_outTradeNo string) error

SetOutTradeNo is OutTradeNo Setter 外部订单号

type AlibabamosonsitetradeisnewpayorderAPIResponse added in v1.3.1

type AlibabamosonsitetradeisnewpayorderAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetradeisnewpayorderAPIResponseModel
}

AlibabamosonsitetradeisnewpayorderAPIResponse 是否为新支付订单 API返回值 alibaba.mos.onsite.trade.isnewpayorder

退款时,老支付宝手淘退款接口需要查一下该订单是否为新支付订单

type AlibabamosonsitetradeisnewpayorderAPIResponseModel added in v1.3.1

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

AlibabamosonsitetradeisnewpayorderAPIResponseModel is 是否为新支付订单 成功返回结果

type AlibabamosonsitetradeisnewpayorderResultDo added in v1.3.1

type AlibabamosonsitetradeisnewpayorderResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否为新支付订单。true:是,false:不是
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosonsitetradeisnewpayorderResultDo 结构体

type AlibabamosonsitetradeoldrefundAPIRequest added in v1.3.1

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

AlibabamosonsitetradeoldrefundAPIRequest 线下新退款接口(专为老退款接口调用) API请求 alibaba.mos.onsite.trade.oldrefund

线下新退款接口(专为老退款接口调用)。新接口支付支付宝、手淘、天猫,老接口退款时,需要调用该接口退新单,并适配老接口响应参数返回

func NewAlibabamosonsitetradeoldrefundRequest added in v1.3.1

func NewAlibabamosonsitetradeoldrefundRequest() *AlibabamosonsitetradeoldrefundAPIRequest

NewAlibabamosonsitetradeoldrefundRequest 初始化AlibabamosonsitetradeoldrefundAPIRequest对象

func (AlibabamosonsitetradeoldrefundAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosonsitetradeoldrefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetradeoldrefundAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosonsitetradeoldrefundAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetradeoldrefundAPIRequest) GetOnsiteRefundRequest added in v1.3.1

GetOnsiteRefundRequest OnsiteRefundRequest Getter

func (AlibabamosonsitetradeoldrefundAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosonsitetradeoldrefundAPIRequest) SetOnsiteRefundRequest added in v1.3.1

func (r *AlibabamosonsitetradeoldrefundAPIRequest) SetOnsiteRefundRequest(_onsiteRefundRequest *OnsiteRefundRequest) error

SetOnsiteRefundRequest is OnsiteRefundRequest Setter 交易退款请求

type AlibabamosonsitetradeoldrefundAPIResponse added in v1.3.1

type AlibabamosonsitetradeoldrefundAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetradeoldrefundAPIResponseModel
}

AlibabamosonsitetradeoldrefundAPIResponse 线下新退款接口(专为老退款接口调用) API返回值 alibaba.mos.onsite.trade.oldrefund

线下新退款接口(专为老退款接口调用)。新接口支付支付宝、手淘、天猫,老接口退款时,需要调用该接口退新单,并适配老接口响应参数返回

type AlibabamosonsitetradeoldrefundAPIResponseModel added in v1.3.1

type AlibabamosonsitetradeoldrefundAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_onsite_trade_oldrefund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 交易退款响应
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamosonsitetradeoldrefundAPIResponseModel is 线下新退款接口(专为老退款接口调用) 成功返回结果

type AlibabamosonsitetradepayAPIRequest added in v1.3.1

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

AlibabamosonsitetradepayAPIRequest 新商场当面付商户扫码付 API请求 alibaba.mos.onsite.trade.pay

收银员使用扫码设备读取用户“付款码”后,将二维码或条码信息通过本接口上送至喵街发起支付。

func NewAlibabamosonsitetradepayRequest added in v1.3.1

func NewAlibabamosonsitetradepayRequest() *AlibabamosonsitetradepayAPIRequest

NewAlibabamosonsitetradepayRequest 初始化AlibabamosonsitetradepayAPIRequest对象

func (AlibabamosonsitetradepayAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosonsitetradepayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetradepayAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosonsitetradepayAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetradepayAPIRequest) GetOnsiteTradePayRequest added in v1.3.1

func (r AlibabamosonsitetradepayAPIRequest) GetOnsiteTradePayRequest() *OnsiteTradePayRequest

GetOnsiteTradePayRequest OnsiteTradePayRequest Getter

func (AlibabamosonsitetradepayAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosonsitetradepayAPIRequest) SetOnsiteTradePayRequest added in v1.3.1

func (r *AlibabamosonsitetradepayAPIRequest) SetOnsiteTradePayRequest(_onsiteTradePayRequest *OnsiteTradePayRequest) error

SetOnsiteTradePayRequest is OnsiteTradePayRequest Setter 创建订单请求参数

type AlibabamosonsitetradepayAPIResponse added in v1.3.1

type AlibabamosonsitetradepayAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetradepayAPIResponseModel
}

AlibabamosonsitetradepayAPIResponse 新商场当面付商户扫码付 API返回值 alibaba.mos.onsite.trade.pay

收银员使用扫码设备读取用户“付款码”后,将二维码或条码信息通过本接口上送至喵街发起支付。

type AlibabamosonsitetradepayAPIResponseModel added in v1.3.1

type AlibabamosonsitetradepayAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_onsite_trade_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 创建订单响应信息。必然返回
	OnsiteTradePayResponse *OnsiteTradePayResponse `json:"onsite_trade_pay_response,omitempty" xml:"onsite_trade_pay_response,omitempty"`
}

AlibabamosonsitetradepayAPIResponseModel is 新商场当面付商户扫码付 成功返回结果

type AlibabamosonsitetradequeryAPIRequest added in v1.3.1

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

AlibabamosonsitetradequeryAPIRequest 新商场当面付交易查询 API请求 alibaba.mos.onsite.trade.query

本接口提供新商场当面付订单的查询的功能,商户可以通过本接口主动查询订单状态,完成下一步的业务逻辑。 商户系统应在两种场景下调用此接口: 商户POS系统应该在调用[条码支付请求接口]并成功返回后,调用此接口查询订单的处理状态。

func NewAlibabamosonsitetradequeryRequest added in v1.3.1

func NewAlibabamosonsitetradequeryRequest() *AlibabamosonsitetradequeryAPIRequest

NewAlibabamosonsitetradequeryRequest 初始化AlibabamosonsitetradequeryAPIRequest对象

func (AlibabamosonsitetradequeryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosonsitetradequeryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetradequeryAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosonsitetradequeryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetradequeryAPIRequest) GetOutTradeNo added in v1.3.1

func (r AlibabamosonsitetradequeryAPIRequest) GetOutTradeNo() string

GetOutTradeNo OutTradeNo Getter

func (AlibabamosonsitetradequeryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosonsitetradequeryAPIRequest) GetStoreId added in v1.3.1

GetStoreId StoreId Getter

func (AlibabamosonsitetradequeryAPIRequest) GetStoreIdType added in v1.3.1

func (r AlibabamosonsitetradequeryAPIRequest) GetStoreIdType() string

GetStoreIdType StoreIdType Getter

func (AlibabamosonsitetradequeryAPIRequest) GetTradeNo added in v1.3.1

GetTradeNo TradeNo Getter

func (*AlibabamosonsitetradequeryAPIRequest) SetOutTradeNo added in v1.3.1

func (r *AlibabamosonsitetradequeryAPIRequest) SetOutTradeNo(_outTradeNo string) error

SetOutTradeNo is OutTradeNo Setter 原支付请求的商户支付流水号。与喵街交易流水号两者至少要填写一个。如果均有,优先级为喵街交易流水号 > 商户支付流水号。

func (*AlibabamosonsitetradequeryAPIRequest) SetStoreId added in v1.3.1

func (r *AlibabamosonsitetradequeryAPIRequest) SetStoreId(_storeId string) error

SetStoreId is StoreId Setter 门店号或喵街商户ID

func (*AlibabamosonsitetradequeryAPIRequest) SetStoreIdType added in v1.3.1

func (r *AlibabamosonsitetradequeryAPIRequest) SetStoreIdType(_storeIdType string) error

SetStoreIdType is StoreIdType Setter 商户ID类型,取值为miaojie或out

func (*AlibabamosonsitetradequeryAPIRequest) SetTradeNo added in v1.3.1

func (r *AlibabamosonsitetradequeryAPIRequest) SetTradeNo(_tradeNo string) error

SetTradeNo is TradeNo Setter 喵街交易流水号。与商户支付流水号两者至少要填写一个。如果均有,优先级为喵街交易流水号 > 商户支付流水号。

type AlibabamosonsitetradequeryAPIResponse added in v1.3.1

type AlibabamosonsitetradequeryAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetradequeryAPIResponseModel
}

AlibabamosonsitetradequeryAPIResponse 新商场当面付交易查询 API返回值 alibaba.mos.onsite.trade.query

本接口提供新商场当面付订单的查询的功能,商户可以通过本接口主动查询订单状态,完成下一步的业务逻辑。 商户系统应在两种场景下调用此接口: 商户POS系统应该在调用[条码支付请求接口]并成功返回后,调用此接口查询订单的处理状态。

type AlibabamosonsitetradequeryAPIResponseModel added in v1.3.1

type AlibabamosonsitetradequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_onsite_trade_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果对象。必然返回
	OnsiteTradeQueryResponse *OnsiteTradeQueryResponse `json:"onsite_trade_query_response,omitempty" xml:"onsite_trade_query_response,omitempty"`
}

AlibabamosonsitetradequeryAPIResponseModel is 新商场当面付交易查询 成功返回结果

type AlibabamosonsitetradequeryrefundAPIRequest added in v1.3.1

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

AlibabamosonsitetradequeryrefundAPIRequest 退款查询 API请求 alibaba.mos.onsite.trade.queryrefund

商户可使用该接口查询退款请求是否执行成功。

func NewAlibabamosonsitetradequeryrefundRequest added in v1.3.1

func NewAlibabamosonsitetradequeryrefundRequest() *AlibabamosonsitetradequeryrefundAPIRequest

NewAlibabamosonsitetradequeryrefundRequest 初始化AlibabamosonsitetradequeryrefundAPIRequest对象

func (AlibabamosonsitetradequeryrefundAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetradequeryrefundAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosonsitetradequeryrefundAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetradequeryrefundAPIRequest) GetOrderNo added in v1.3.1

GetOrderNo OrderNo Getter

func (AlibabamosonsitetradequeryrefundAPIRequest) GetOutRequestNo added in v1.3.1

GetOutRequestNo OutRequestNo Getter

func (AlibabamosonsitetradequeryrefundAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosonsitetradequeryrefundAPIRequest) SetOrderNo added in v1.3.1

SetOrderNo is OrderNo Setter 订单号。可能为外部订单号,也可能为喵街订单号

func (*AlibabamosonsitetradequeryrefundAPIRequest) SetOutRequestNo added in v1.3.1

func (r *AlibabamosonsitetradequeryrefundAPIRequest) SetOutRequestNo(_outRequestNo string) error

SetOutRequestNo is OutRequestNo Setter 退款外部流水号

type AlibabamosonsitetradequeryrefundAPIResponse added in v1.3.1

type AlibabamosonsitetradequeryrefundAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetradequeryrefundAPIResponseModel
}

AlibabamosonsitetradequeryrefundAPIResponse 退款查询 API返回值 alibaba.mos.onsite.trade.queryrefund

商户可使用该接口查询退款请求是否执行成功。

type AlibabamosonsitetradequeryrefundAPIResponseModel added in v1.3.1

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

AlibabamosonsitetradequeryrefundAPIResponseModel is 退款查询 成功返回结果

type AlibabamosonsitetradequeryrefundResultDo added in v1.3.1

type AlibabamosonsitetradequeryrefundResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// data
	Data *OnsiteRefundResponse `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosonsitetradequeryrefundResultDo 结构体

type AlibabamosonsitetraderefundAPIRequest added in v1.3.1

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

AlibabamosonsitetraderefundAPIRequest 退款 API请求 alibaba.mos.onsite.trade.refund

当交易发生之后一段时间内,由于消费者或者商户的原因需退款,商户可通过退款接口将支付款退还给消费者,喵街将在收到退款请求并验证成功后,按退款规则将支付款按原路退到消费者账号上。

1. 交易超过可退款时间(签约时设置的可退款时间)的订单无法进行退款。 2. 只支持全额退款。

func NewAlibabamosonsitetraderefundRequest added in v1.3.1

func NewAlibabamosonsitetraderefundRequest() *AlibabamosonsitetraderefundAPIRequest

NewAlibabamosonsitetraderefundRequest 初始化AlibabamosonsitetraderefundAPIRequest对象

func (AlibabamosonsitetraderefundAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosonsitetraderefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosonsitetraderefundAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosonsitetraderefundAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosonsitetraderefundAPIRequest) GetOnsiteRefundRequest added in v1.3.1

func (r AlibabamosonsitetraderefundAPIRequest) GetOnsiteRefundRequest() *OnsiteRefundRequest

GetOnsiteRefundRequest OnsiteRefundRequest Getter

func (AlibabamosonsitetraderefundAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosonsitetraderefundAPIRequest) SetOnsiteRefundRequest added in v1.3.1

func (r *AlibabamosonsitetraderefundAPIRequest) SetOnsiteRefundRequest(_onsiteRefundRequest *OnsiteRefundRequest) error

SetOnsiteRefundRequest is OnsiteRefundRequest Setter 交易退款请求

type AlibabamosonsitetraderefundAPIResponse added in v1.3.1

type AlibabamosonsitetraderefundAPIResponse struct {
	model.CommonResponse
	AlibabamosonsitetraderefundAPIResponseModel
}

AlibabamosonsitetraderefundAPIResponse 退款 API返回值 alibaba.mos.onsite.trade.refund

当交易发生之后一段时间内,由于消费者或者商户的原因需退款,商户可通过退款接口将支付款退还给消费者,喵街将在收到退款请求并验证成功后,按退款规则将支付款按原路退到消费者账号上。

1. 交易超过可退款时间(签约时设置的可退款时间)的订单无法进行退款。 2. 只支持全额退款。

type AlibabamosonsitetraderefundAPIResponseModel added in v1.3.1

type AlibabamosonsitetraderefundAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_onsite_trade_refund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 交易退款响应
	Result *AlibabamosonsitetraderefundResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamosonsitetraderefundAPIResponseModel is 退款 成功返回结果

type AlibabamosonsitetraderefundResultDo added in v1.3.1

type AlibabamosonsitetraderefundResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// data
	Data *RefundResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosonsitetraderefundResultDo 结构体

type AlibabamosposalarmAPIRequest added in v1.3.1

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

AlibabamosposalarmAPIRequest pos故障报警 API请求 alibaba.mos.pos.alarm

故障报警

func NewAlibabamosposalarmRequest added in v1.3.1

func NewAlibabamosposalarmRequest() *AlibabamosposalarmAPIRequest

NewAlibabamosposalarmRequest 初始化AlibabamosposalarmAPIRequest对象

func (AlibabamosposalarmAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosposalarmAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosposalarmAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosposalarmAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosposalarmAPIRequest) GetParam0 added in v1.3.1

func (r AlibabamosposalarmAPIRequest) GetParam0() *PosLogDto

GetParam0 Param0 Getter

func (AlibabamosposalarmAPIRequest) GetRawParams added in v1.3.1

func (r AlibabamosposalarmAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamosposalarmAPIRequest) SetParam0 added in v1.3.1

func (r *AlibabamosposalarmAPIRequest) SetParam0(_param0 *PosLogDto) error

SetParam0 is Param0 Setter 参数

type AlibabamosposalarmAPIResponse added in v1.3.1

type AlibabamosposalarmAPIResponse struct {
	model.CommonResponse
	AlibabamosposalarmAPIResponseModel
}

AlibabamosposalarmAPIResponse pos故障报警 API返回值 alibaba.mos.pos.alarm

故障报警

type AlibabamosposalarmAPIResponseModel added in v1.3.1

type AlibabamosposalarmAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_pos_alarm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// errMsg
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// errCode
	SubErrCode int64 `json:"sub_err_code,omitempty" xml:"sub_err_code,omitempty"`
	// success/false
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamosposalarmAPIResponseModel is pos故障报警 成功返回结果

type AlibabamosstoregetcloudshelfversionAPIRequest added in v1.3.1

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

AlibabamosstoregetcloudshelfversionAPIRequest 获取云货架版本信息 API请求 alibaba.mos.store.getcloudshelfversion

根据屏编号获取云货架版本信息

func NewAlibabamosstoregetcloudshelfversionRequest added in v1.3.1

func NewAlibabamosstoregetcloudshelfversionRequest() *AlibabamosstoregetcloudshelfversionAPIRequest

NewAlibabamosstoregetcloudshelfversionRequest 初始化AlibabamosstoregetcloudshelfversionAPIRequest对象

func (AlibabamosstoregetcloudshelfversionAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosstoregetcloudshelfversionAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosstoregetcloudshelfversionAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosstoregetcloudshelfversionAPIRequest) GetScreenNo added in v1.3.1

GetScreenNo ScreenNo Getter

func (*AlibabamosstoregetcloudshelfversionAPIRequest) SetScreenNo added in v1.3.1

SetScreenNo is ScreenNo Setter 屏编号

type AlibabamosstoregetcloudshelfversionAPIResponse added in v1.3.1

type AlibabamosstoregetcloudshelfversionAPIResponse struct {
	model.CommonResponse
	AlibabamosstoregetcloudshelfversionAPIResponseModel
}

AlibabamosstoregetcloudshelfversionAPIResponse 获取云货架版本信息 API返回值 alibaba.mos.store.getcloudshelfversion

根据屏编号获取云货架版本信息

type AlibabamosstoregetcloudshelfversionAPIResponseModel added in v1.3.1

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

AlibabamosstoregetcloudshelfversionAPIResponseModel is 获取云货架版本信息 成功返回结果

type AlibabamosstoregetcloudshelfversionResultDo added in v1.3.1

type AlibabamosstoregetcloudshelfversionResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// data
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosstoregetcloudshelfversionResultDo 结构体

type AlibabamosstoregetdefautitemsAPIRequest added in v1.3.1

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

AlibabamosstoregetdefautitemsAPIRequest 获取默认状态下商品列表 API请求 alibaba.mos.store.getdefautitems

获取默认状态下商品列表

func NewAlibabamosstoregetdefautitemsRequest added in v1.3.1

func NewAlibabamosstoregetdefautitemsRequest() *AlibabamosstoregetdefautitemsAPIRequest

NewAlibabamosstoregetdefautitemsRequest 初始化AlibabamosstoregetdefautitemsAPIRequest对象

func (AlibabamosstoregetdefautitemsAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosstoregetdefautitemsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosstoregetdefautitemsAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosstoregetdefautitemsAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosstoregetdefautitemsAPIRequest) GetLimitCount added in v1.3.1

GetLimitCount LimitCount Getter

func (AlibabamosstoregetdefautitemsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosstoregetdefautitemsAPIRequest) GetScreenNo added in v1.3.1

GetScreenNo ScreenNo Getter

func (AlibabamosstoregetdefautitemsAPIRequest) GetStart added in v1.3.1

GetStart Start Getter

func (*AlibabamosstoregetdefautitemsAPIRequest) SetLimitCount added in v1.3.1

func (r *AlibabamosstoregetdefautitemsAPIRequest) SetLimitCount(_limitCount int64) error

SetLimitCount is LimitCount Setter 分页查询每页记录数

func (*AlibabamosstoregetdefautitemsAPIRequest) SetScreenNo added in v1.3.1

func (r *AlibabamosstoregetdefautitemsAPIRequest) SetScreenNo(_screenNo string) error

SetScreenNo is ScreenNo Setter 屏编号

func (*AlibabamosstoregetdefautitemsAPIRequest) SetStart added in v1.3.1

SetStart is Start Setter 分页查询开始index

type AlibabamosstoregetdefautitemsAPIResponse added in v1.3.1

type AlibabamosstoregetdefautitemsAPIResponse struct {
	model.CommonResponse
	AlibabamosstoregetdefautitemsAPIResponseModel
}

AlibabamosstoregetdefautitemsAPIResponse 获取默认状态下商品列表 API返回值 alibaba.mos.store.getdefautitems

获取默认状态下商品列表

type AlibabamosstoregetdefautitemsAPIResponseModel added in v1.3.1

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

AlibabamosstoregetdefautitemsAPIResponseModel is 获取默认状态下商品列表 成功返回结果

type AlibabamosstoregetdefautitemsResultDo added in v1.3.1

type AlibabamosstoregetdefautitemsResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// data
	Data *MjStoreItemsTopVo `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// total
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosstoregetdefautitemsResultDo 结构体

type AlibabamosstoregetstorelistAPIRequest added in v1.3.1

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

AlibabamosstoregetstorelistAPIRequest 根据屏编号获取专柜集 API请求 alibaba.mos.store.getstorelist

根据屏编号获取专柜集

func NewAlibabamosstoregetstorelistRequest added in v1.3.1

func NewAlibabamosstoregetstorelistRequest() *AlibabamosstoregetstorelistAPIRequest

NewAlibabamosstoregetstorelistRequest 初始化AlibabamosstoregetstorelistAPIRequest对象

func (AlibabamosstoregetstorelistAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamosstoregetstorelistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosstoregetstorelistAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamosstoregetstorelistAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosstoregetstorelistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosstoregetstorelistAPIRequest) GetScreenNo added in v1.3.1

GetScreenNo ScreenNo Getter

func (*AlibabamosstoregetstorelistAPIRequest) SetScreenNo added in v1.3.1

func (r *AlibabamosstoregetstorelistAPIRequest) SetScreenNo(_screenNo string) error

SetScreenNo is ScreenNo Setter 屏编号

type AlibabamosstoregetstorelistAPIResponse added in v1.3.1

type AlibabamosstoregetstorelistAPIResponse struct {
	model.CommonResponse
	AlibabamosstoregetstorelistAPIResponseModel
}

AlibabamosstoregetstorelistAPIResponse 根据屏编号获取专柜集 API返回值 alibaba.mos.store.getstorelist

根据屏编号获取专柜集

type AlibabamosstoregetstorelistAPIResponseModel added in v1.3.1

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

AlibabamosstoregetstorelistAPIResponseModel is 根据屏编号获取专柜集 成功返回结果

type AlibabamosstoregetstorelistResultDo added in v1.3.1

type AlibabamosstoregetstorelistResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// data
	Data *MjStoresTopVo `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosstoregetstorelistResultDo 结构体

type AlibabamosstorerecordscreenpointinfoAPIRequest added in v1.3.1

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

AlibabamosstorerecordscreenpointinfoAPIRequest 云屏埋点数据记录接口 API请求 alibaba.mos.store.recordscreenpointinfo

记录云屏埋点数据

func NewAlibabamosstorerecordscreenpointinfoRequest added in v1.3.1

func NewAlibabamosstorerecordscreenpointinfoRequest() *AlibabamosstorerecordscreenpointinfoAPIRequest

NewAlibabamosstorerecordscreenpointinfoRequest 初始化AlibabamosstorerecordscreenpointinfoAPIRequest对象

func (AlibabamosstorerecordscreenpointinfoAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamosstorerecordscreenpointinfoAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamosstorerecordscreenpointinfoAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamosstorerecordscreenpointinfoAPIRequest) GetScreenPointInfo added in v1.3.1

GetScreenPointInfo ScreenPointInfo Getter

func (*AlibabamosstorerecordscreenpointinfoAPIRequest) SetScreenPointInfo added in v1.3.1

func (r *AlibabamosstorerecordscreenpointinfoAPIRequest) SetScreenPointInfo(_screenPointInfo string) error

SetScreenPointInfo is ScreenPointInfo Setter 云屏埋点信息

type AlibabamosstorerecordscreenpointinfoAPIResponse added in v1.3.1

type AlibabamosstorerecordscreenpointinfoAPIResponse struct {
	model.CommonResponse
	AlibabamosstorerecordscreenpointinfoAPIResponseModel
}

AlibabamosstorerecordscreenpointinfoAPIResponse 云屏埋点数据记录接口 API返回值 alibaba.mos.store.recordscreenpointinfo

记录云屏埋点数据

type AlibabamosstorerecordscreenpointinfoAPIResponseModel added in v1.3.1

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

AlibabamosstorerecordscreenpointinfoAPIResponseModel is 云屏埋点数据记录接口 成功返回结果

type AlibabamosstorerecordscreenpointinfoResultDo added in v1.3.1

type AlibabamosstorerecordscreenpointinfoResultDo struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabamosstorerecordscreenpointinfoResultDo 结构体

type AlibabamossupplierbasisgetsupplierinfoAPIRequest added in v1.3.1

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

AlibabamossupplierbasisgetsupplierinfoAPIRequest 获取供应商基础信息 API请求 alibaba.mos.supplier.basis.getsupplierinfo

基于供应商id获取供应商基础脱敏信息

func NewAlibabamossupplierbasisgetsupplierinfoRequest added in v1.3.1

func NewAlibabamossupplierbasisgetsupplierinfoRequest() *AlibabamossupplierbasisgetsupplierinfoAPIRequest

NewAlibabamossupplierbasisgetsupplierinfoRequest 初始化AlibabamossupplierbasisgetsupplierinfoAPIRequest对象

func (AlibabamossupplierbasisgetsupplierinfoAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamossupplierbasisgetsupplierinfoAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamossupplierbasisgetsupplierinfoAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabamossupplierbasisgetsupplierinfoAPIRequest) GetSupplierId added in v1.3.1

GetSupplierId SupplierId Getter

func (*AlibabamossupplierbasisgetsupplierinfoAPIRequest) SetSupplierId added in v1.3.1

func (r *AlibabamossupplierbasisgetsupplierinfoAPIRequest) SetSupplierId(_supplierId string) error

SetSupplierId is SupplierId Setter 供应商id

type AlibabamossupplierbasisgetsupplierinfoAPIResponse added in v1.3.1

type AlibabamossupplierbasisgetsupplierinfoAPIResponse struct {
	model.CommonResponse
	AlibabamossupplierbasisgetsupplierinfoAPIResponseModel
}

AlibabamossupplierbasisgetsupplierinfoAPIResponse 获取供应商基础信息 API返回值 alibaba.mos.supplier.basis.getsupplierinfo

基于供应商id获取供应商基础脱敏信息

type AlibabamossupplierbasisgetsupplierinfoAPIResponseModel added in v1.3.1

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

AlibabamossupplierbasisgetsupplierinfoAPIResponseModel is 获取供应商基础信息 成功返回结果

type AlibabamostmcsmssendAPIRequest added in v1.3.1

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

AlibabamostmcsmssendAPIRequest 银泰TMC发送短信 API请求 alibaba.mos.tmc.sms.send

银泰TMC发送短信

func NewAlibabamostmcsmssendRequest added in v1.3.1

func NewAlibabamostmcsmssendRequest() *AlibabamostmcsmssendAPIRequest

NewAlibabamostmcsmssendRequest 初始化AlibabamostmcsmssendAPIRequest对象

func (AlibabamostmcsmssendAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabamostmcsmssendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamostmcsmssendAPIRequest) GetApiParams added in v1.3.1

func (r AlibabamostmcsmssendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamostmcsmssendAPIRequest) GetParam0 added in v1.3.1

GetParam0 Param0 Getter

func (AlibabamostmcsmssendAPIRequest) GetRawParams added in v1.3.1

func (r AlibabamostmcsmssendAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamostmcsmssendAPIRequest) SetParam0 added in v1.3.1

SetParam0 is Param0 Setter 入参

type AlibabamostmcsmssendAPIResponse added in v1.3.1

type AlibabamostmcsmssendAPIResponse struct {
	model.CommonResponse
	AlibabamostmcsmssendAPIResponseModel
}

AlibabamostmcsmssendAPIResponse 银泰TMC发送短信 API返回值 alibaba.mos.tmc.sms.send

银泰TMC发送短信

type AlibabamostmcsmssendAPIResponseModel added in v1.3.1

type AlibabamostmcsmssendAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_tmc_sms_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	BizErrCode string `json:"biz_err_code,omitempty" xml:"biz_err_code,omitempty"`
	// 错误信息
	BizErrMessage string `json:"biz_err_message,omitempty" xml:"biz_err_message,omitempty"`
	// taskId
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabamostmcsmssendAPIResponseModel is 银泰TMC发送短信 成功返回结果

type BillSettlementDto

type BillSettlementDto struct {
	// 发票列表
	InvoiceDTOList []SettleInvoiceDto `json:"invoice_d_t_o_list,omitempty" xml:"invoice_d_t_o_list>settle_invoice_dto,omitempty"`
	// 行号
	LineNo string `json:"line_no,omitempty" xml:"line_no,omitempty"`
	// 结算单金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 结算行税率,普票的税率必须是0,专票的税率不能为0
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 业务细类代码
	BizSubModuleCode string `json:"biz_sub_module_code,omitempty" xml:"biz_sub_module_code,omitempty"`
	// 发票类型 SPECIAL("专票"),ORDINARY("普票")
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 供应商id(可空)
	SupplierNo string `json:"supplier_no,omitempty" xml:"supplier_no,omitempty"`
	// 供应商名称(可空
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 收款方开户省
	BankProvince string `json:"bank_province,omitempty" xml:"bank_province,omitempty"`
	// 收款方开户市
	BankCity string `json:"bank_city,omitempty" xml:"bank_city,omitempty"`
	// 收款方银行账号
	AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"`
	// 收款方账号名称
	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`
	// 银行号
	BankCode string `json:"bank_code,omitempty" xml:"bank_code,omitempty"`
	// 收款方开户行
	BankName string `json:"bank_name,omitempty" xml:"bank_name,omitempty"`
	// 收款方开户支行
	BankBranchName string `json:"bank_branch_name,omitempty" xml:"bank_branch_name,omitempty"`
	// 收款方开户支行code
	BankBranchCode string `json:"bank_branch_code,omitempty" xml:"bank_branch_code,omitempty"`
	// 账号类型,COMPANY企业/PERSON个人
	AccountTypes string `json:"account_types,omitempty" xml:"account_types,omitempty"`
	// 联行号
	CnapsCode string `json:"cnaps_code,omitempty" xml:"cnaps_code,omitempty"`
	// 联系人
	Contactor string `json:"contactor,omitempty" xml:"contactor,omitempty"`
	// 联系方式:国际化区号 + 座机/手机
	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`
	// 付款说明。该字段会通过银行传给供应商,过长时会自动截取
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// 扩展
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 受益部门coa
	DepartmentCoa string `json:"department_coa,omitempty" xml:"department_coa,omitempty"`
	// 区域科目段
	CityCoa string `json:"city_coa,omitempty" xml:"city_coa,omitempty"`
}

BillSettlementDto 结构体

type BrandCoProductGroupUserDto added in v1.2.9

type BrandCoProductGroupUserDto struct {
	// 数据创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 数据修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 品牌名称
	GzNameCn string `json:"gz_name_cn,omitempty" xml:"gz_name_cn,omitempty"`
	// 主责任工号
	MainWorkNo string `json:"main_work_no,omitempty" xml:"main_work_no,omitempty"`
	// 主责任姓名
	MainName string `json:"main_name,omitempty" xml:"main_name,omitempty"`
	// 组员姓名
	MemberName string `json:"member_name,omitempty" xml:"member_name,omitempty"`
	// 组员工号
	MemberWorkNo string `json:"member_work_no,omitempty" xml:"member_work_no,omitempty"`
	// 承包方式
	ContractType string `json:"contract_type,omitempty" xml:"contract_type,omitempty"`
	// 开始时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 结束时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 组员数据id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

BrandCoProductGroupUserDto 结构体

type BrandCoProductGroupUserQueryParam added in v1.2.9

type BrandCoProductGroupUserQueryParam struct {
	// 业务时间
	BusinessTime string `json:"business_time,omitempty" xml:"business_time,omitempty"`
	// 上一页最大id
	PreMaxId int64 `json:"pre_max_id,omitempty" xml:"pre_max_id,omitempty"`
	// 当前页数
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 分页条数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

BrandCoProductGroupUserQueryParam 结构体

type BunkSimpleDto

type BunkSimpleDto struct {
	// 门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 铺位面积
	Acreage string `json:"acreage,omitempty" xml:"acreage,omitempty"`
	// 铺位编号
	Number string `json:"number,omitempty" xml:"number,omitempty"`
	// 铺位ID
	CpId string `json:"cp_id,omitempty" xml:"cp_id,omitempty"`
	// 合同号
	ContractCode string `json:"contract_code,omitempty" xml:"contract_code,omitempty"`
	// 楼层名称
	FloorName string `json:"floor_name,omitempty" xml:"floor_name,omitempty"`
	// 楼层ID
	FloorId string `json:"floor_id,omitempty" xml:"floor_id,omitempty"`
	// 合同系统编号
	ContractId string `json:"contract_id,omitempty" xml:"contract_id,omitempty"`
	// 铺位类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

BunkSimpleDto 结构体

type CallDispatcherDto

type CallDispatcherDto struct {
	// 包裹信息
	CodeInfoList []CodeInfoDto `json:"code_info_list,omitempty" xml:"code_info_list>code_info_dto,omitempty"`
	// 主单号
	ParentNo string `json:"parent_no,omitempty" xml:"parent_no,omitempty"`
	// 收货信息
	ReceiveInfo *DeliveryCustomDto `json:"receive_info,omitempty" xml:"receive_info,omitempty"`
}

CallDispatcherDto 结构体

type CallDispatcherRespDo

type CallDispatcherRespDo struct {
	// shortId
	ShortId string `json:"short_id,omitempty" xml:"short_id,omitempty"`
	// gotCode
	GotCode string `json:"got_code,omitempty" xml:"got_code,omitempty"`
	// packageCode
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// fulfillPlanId
	FulfillPlanId int64 `json:"fulfill_plan_id,omitempty" xml:"fulfill_plan_id,omitempty"`
}

CallDispatcherRespDo 结构体

type CallDispatcherResponse

type CallDispatcherResponse struct {
	// respList
	RespList []CallDispatcherRespDo `json:"resp_list,omitempty" xml:"resp_list>call_dispatcher_resp_do,omitempty"`
	// parentNo
	ParentNo string `json:"parent_no,omitempty" xml:"parent_no,omitempty"`
}

CallDispatcherResponse 结构体

type CancelBillDto

type CancelBillDto struct {
	// 结算行集合
	SettleLineNos []string `json:"settle_line_nos,omitempty" xml:"settle_line_nos>string,omitempty"`
	// 取消备注
	CancelComments string `json:"cancel_comments,omitempty" xml:"cancel_comments,omitempty"`
	// 取消类型
	CancelType string `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"`
	// 付款单号
	BillNo string `json:"bill_no,omitempty" xml:"bill_no,omitempty"`
	// 备注
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

CancelBillDto 结构体

type CodeGoodsDto

type CodeGoodsDto struct {
	// zi单号
	SubNo string `json:"sub_no,omitempty" xml:"sub_no,omitempty"`
	// 数量
	Quantity float64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// id
	GoodsId int64 `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
}

CodeGoodsDto 结构体

type CodeInfoDto

type CodeInfoDto struct {
	// 商品信息
	GoodsList []CodeGoodsDto `json:"goods_list,omitempty" xml:"goods_list>code_goods_dto,omitempty"`
	// 包裹信息
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 寄件信息
	SendInfo *DeliveryCustomDto `json:"send_info,omitempty" xml:"send_info,omitempty"`
}

CodeInfoDto 结构体

type ConfPickupGoodsReqDto

type ConfPickupGoodsReqDto struct {
	// 操作员
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 核销码
	ShortCode string `json:"short_code,omitempty" xml:"short_code,omitempty"`
	// OC交易号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 门店号
	OutBelongId string `json:"out_belong_id,omitempty" xml:"out_belong_id,omitempty"`
	// 专柜号
	OutStoreId string `json:"out_store_id,omitempty" xml:"out_store_id,omitempty"`
}

ConfPickupGoodsReqDto 结构体

type CreateBillDto

type CreateBillDto struct {
	// 结算单列表
	SettlementDTOList []BillSettlementDto `json:"settlement_d_t_o_list,omitempty" xml:"settlement_d_t_o_list>bill_settlement_dto,omitempty"`
	// 附件id列表
	AttachmentIds []int64 `json:"attachment_ids,omitempty" xml:"attachment_ids>int64,omitempty"`
	// 收款方国家,国际标准的2位简码
	PayeeCountry string `json:"payee_country,omitempty" xml:"payee_country,omitempty"`
	// 支付币种,国际标准的3位简码
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// //BANK("普通银行账号") ,     //SPECIAL_CN_BANK("专用银行账号"),     //ALIPAY("支付宝"),     //OTHER("第三方支付")
	PayChannels string `json:"pay_channels,omitempty" xml:"pay_channels,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 费用发生公司(门店名)
	ExpenseOrgCode string `json:"expense_org_code,omitempty" xml:"expense_org_code,omitempty"`
	// PREPAY(先付款后收票), POSTPAY(先收票后付款), NONE(无票)
	InvoiceRule string `json:"invoice_rule,omitempty" xml:"invoice_rule,omitempty"`
	// 费用发生公司(门店名)
	ExpenseOrgId string `json:"expense_org_id,omitempty" xml:"expense_org_id,omitempty"`
	// 业务模块编码
	BizModuleCode string `json:"biz_module_code,omitempty" xml:"biz_module_code,omitempty"`
	// 实际需求方,代理申请时填写实际的需求方
	ReqmentApplicant string `json:"reqment_applicant,omitempty" xml:"reqment_applicant,omitempty"`
	// //付款单总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 单据请求唯一编号,必填
	BillNo string `json:"bill_no,omitempty" xml:"bill_no,omitempty"`
	// 财务初审,如果是免审的单据,填财务工号
	FinancePreWorkNo string `json:"finance_pre_work_no,omitempty" xml:"finance_pre_work_no,omitempty"`
	// 申请人工号
	Applicant string `json:"applicant,omitempty" xml:"applicant,omitempty"`
	// 审批通过时间,如果是免审的单据,该字段必填
	ApproveDate string `json:"approve_date,omitempty" xml:"approve_date,omitempty"`
	// 扩展
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 付款说明,该说明会带到智付的订单上,做为订单说明
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// 付款期限,即审批通过后几天付款,不填时以业务模块上的配置为准
	PayTerm int64 `json:"pay_term,omitempty" xml:"pay_term,omitempty"`
	// 是否自动提交审批
	AutoSumbit bool `json:"auto_sumbit,omitempty" xml:"auto_sumbit,omitempty"`
}

CreateBillDto 结构体

type DeliveryAddressDto

type DeliveryAddressDto struct {
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 镇
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细信息
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 邮编
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// 编码
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
}

DeliveryAddressDto 结构体

type DeliveryCustomDto

type DeliveryCustomDto struct {
	// 名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 头像
	AvatarUrl string `json:"avatar_url,omitempty" xml:"avatar_url,omitempty"`
	// 电话
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 电话
	Telphone string `json:"telphone,omitempty" xml:"telphone,omitempty"`
	// 详细信息
	AddressInfo *DeliveryAddressDto `json:"address_info,omitempty" xml:"address_info,omitempty"`
}

DeliveryCustomDto 结构体

type FundBill

type FundBill struct {
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 子资金渠道。必然返回。取值为支付宝红包:alipay_coupon 支付宝余额:alipay_account 支付宝集分宝:alipay_point 支付宝余额宝:alipay_financeaccount 蚂蚁花呗:alipay_pcredit 支付宝预付卡:alipay_pcard 喵街储值卡(经支付宝打款):alipay_mj_vcard 喵街购物券(经支付宝打款):alipay_mj_voucher 喵街补贴(经支付宝打款):alipay_mj_subsidy 其它(经支付宝打款):alipay_other
	SubFundChannel string `json:"sub_fund_channel,omitempty" xml:"sub_fund_channel,omitempty"`
	// 打款类型。必然返回。取值为alipay,代表打款类型为支付宝(打款到商户的支付宝账号)
	FundChannel string `json:"fund_channel,omitempty" xml:"fund_channel,omitempty"`
	// 金额。单位为人民币(分)。必然返回
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

FundBill 结构体

type FundBillDo

type FundBillDo struct {
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 子资金渠道。必然返回。取值为支付宝红包:alipay_coupon 支付宝余额:alipay_account 支付宝集分宝:alipay_point 支付宝余额宝:alipay_financeaccount 蚂蚁花呗:alipay_pcredit 支付宝预付卡:alipay_pcard 喵街储值卡(经支付宝打款):alipay_mj_vcard 喵街购物券(经支付宝打款):alipay_mj_voucher 喵街补贴(经支付宝打款):alipay_mj_subsidy 其它(经支付宝打款):alipay_other
	SubFundChannel string `json:"sub_fund_channel,omitempty" xml:"sub_fund_channel,omitempty"`
	// 打款类型。必然返回。取值为alipay,代表打款类型为支付宝(打款到商户的支付宝账号)
	FundChannel string `json:"fund_channel,omitempty" xml:"fund_channel,omitempty"`
	// 金额。单位为人民币(分)。必然返回
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

FundBillDo 结构体

type GoodsDetail

type GoodsDetail struct {
	// 商户自有的专柜号
	ShopNo string `json:"shop_no,omitempty" xml:"shop_no,omitempty"`
	// 专柜名
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 商户自有的商品ID
	GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 商品名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 商品总价,单位为分。与商品单价之间是二选一的关系。可以为负值,用于表达折扣
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 商品单价,单位为分。与商品总价之间是二选一的关系。可以为负值,用于表达折扣
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品数量,支持小数
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

GoodsDetail 结构体

type GoodsOutboundDto added in v1.2.0

type GoodsOutboundDto struct {
	// 出库明细
	OutboundDetails []OutboundDetailDto `json:"outbound_details,omitempty" xml:"outbound_details>outbound_detail_dto,omitempty"`
	// 配送员
	DelivererName string `json:"deliverer_name,omitempty" xml:"deliverer_name,omitempty"`
	// 配送员电话
	DelivererPhone string `json:"deliverer_phone,omitempty" xml:"deliverer_phone,omitempty"`
	// 物流公司代码
	LogisticsCompanyCode string `json:"logistics_company_code,omitempty" xml:"logistics_company_code,omitempty"`
	// 物流单号
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// 发货时间
	SendOutTime string `json:"send_out_time,omitempty" xml:"send_out_time,omitempty"`
	// OC订单号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
}

GoodsOutboundDto 结构体

type HrBackgroundReportNotifyDto added in v1.2.9

type HrBackgroundReportNotifyDto struct {
	// 下单时MOS传的唯一编码
	SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"`
	// 报告结果(1:绿灯,2:红灯, 3:黄灯,10:蓝灯)
	FinalReportResSel string `json:"final_report_res_sel,omitempty" xml:"final_report_res_sel,omitempty"`
	// 外部订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 获取结果时背调状态(0:未背调,3:待授权,4:背调中,5:已完成,6:系统取消,7:银泰取消,8:授权超期取消,9:无需背调)
	RecordStatus string `json:"record_status,omitempty" xml:"record_status,omitempty"`
	// 报告格式化json数据
	ReportData string `json:"report_data,omitempty" xml:"report_data,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 是否最终版本(1:最终版本 0:非终版)
	FinalVersion string `json:"final_version,omitempty" xml:"final_version,omitempty"`
	// 预计报告时间
	EstimateFinishTime string `json:"estimate_finish_time,omitempty" xml:"estimate_finish_time,omitempty"`
	// 背调公司
	BackgroundCompanyName string `json:"background_company_name,omitempty" xml:"background_company_name,omitempty"`
}

HrBackgroundReportNotifyDto 结构体

type JsonResponse

type JsonResponse struct {
	// 报错信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 返回dto
	Data *SupplierBasisInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 报错code
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// ts
	Ts int64 `json:"ts,omitempty" xml:"ts,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

JsonResponse 结构体

type MjItemTopVo

type MjItemTopVo struct {
	// 商品图片,数组中只有一个值
	Pics []string `json:"pics,omitempty" xml:"pics>string,omitempty"`
	// 活动标签
	MarketingActivityTag string `json:"marketing_activity_tag,omitempty" xml:"marketing_activity_tag,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 最小促销价
	MinPromotionPrice int64 `json:"min_promotion_price,omitempty" xml:"min_promotion_price,omitempty"`
	// minPrice
	MinPrice int64 `json:"min_price,omitempty" xml:"min_price,omitempty"`
	// maxPrice
	MaxPrice int64 `json:"max_price,omitempty" xml:"max_price,omitempty"`
	// 活动限定人群,1:普通人群,2:365会员
	RequiredUserType int64 `json:"required_user_type,omitempty" xml:"required_user_type,omitempty"`
	// 是否独享365会员
	ItemTag365 bool `json:"item_tag365,omitempty" xml:"item_tag365,omitempty"`
}

MjItemTopVo 结构体

type MjStoreItemsTopVo

type MjStoreItemsTopVo struct {
	// 商品列表
	ItemList []MjItemTopVo `json:"item_list,omitempty" xml:"item_list>mj_item_top_vo,omitempty"`
	// 专柜名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// uuid
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// bucketId
	BucketId string `json:"bucket_id,omitempty" xml:"bucket_id,omitempty"`
	// 专柜id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

MjStoreItemsTopVo 结构体

type MjStoresTopVo

type MjStoresTopVo struct {
	// storeInfoList
	StoreInfoList []StoreInfo `json:"store_info_list,omitempty" xml:"store_info_list>store_info,omitempty"`
	// 外部门店号
	OutMallId string `json:"out_mall_id,omitempty" xml:"out_mall_id,omitempty"`
	// 默认选中的专柜,0为全部品牌
	StoreDefault int64 `json:"store_default,omitempty" xml:"store_default,omitempty"`
	// 版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 1:普通 2:刷脸
	ScreenType int64 `json:"screen_type,omitempty" xml:"screen_type,omitempty"`
	// 商场id
	MallId int64 `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
}

MjStoresTopVo 结构体

type ModifyBillDto

type ModifyBillDto struct {
	// 结算行号list
	SettleLineNos []string `json:"settle_line_nos,omitempty" xml:"settle_line_nos>string,omitempty"`
	// 收款方开户支行code
	BankBranchCode string `json:"bank_branch_code,omitempty" xml:"bank_branch_code,omitempty"`
	// 供应商名称(可空)
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 供应商id(可空
	SupplierNo string `json:"supplier_no,omitempty" xml:"supplier_no,omitempty"`
	// 收款方开户市
	BankCity string `json:"bank_city,omitempty" xml:"bank_city,omitempty"`
	// 收款方银行账号
	AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"`
	// 收款方开户行
	BankName string `json:"bank_name,omitempty" xml:"bank_name,omitempty"`
	// 账号类型,COMPANY企业/PERSON个人
	AccountTypes string `json:"account_types,omitempty" xml:"account_types,omitempty"`
	// 收款方开户省
	BankProvince string `json:"bank_province,omitempty" xml:"bank_province,omitempty"`
	// //银行号
	BankCode string `json:"bank_code,omitempty" xml:"bank_code,omitempty"`
	// 收款方账号名称
	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`
	// 收款方开户支行
	BankBranchName string `json:"bank_branch_name,omitempty" xml:"bank_branch_name,omitempty"`
	// 联行号
	CnapsCode string `json:"cnaps_code,omitempty" xml:"cnaps_code,omitempty"`
	// //单据请求唯一编号,必填
	BillNo string `json:"bill_no,omitempty" xml:"bill_no,omitempty"`
	// 扩展参数
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

ModifyBillDto 结构体

type MultiResult

type MultiResult struct {
	// data
	ResultDatas []string `json:"result_datas,omitempty" xml:"result_datas>string,omitempty"`
	// errMessage
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// errCode
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// total
	ResultTotal int64 `json:"result_total,omitempty" xml:"result_total,omitempty"`
	// success
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

MultiResult 结构体

type OnsiteRefundRequest

type OnsiteRefundRequest struct {
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商户操作员编号
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 商户退款请求号。标识一次退款请求,同一笔交易多次退款需要保证唯一
	OutRequestNo string `json:"out_request_no,omitempty" xml:"out_request_no,omitempty"`
	// 退款的原因说明
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 喵街商户号
	MjShopId string `json:"mj_shop_id,omitempty" xml:"mj_shop_id,omitempty"`
	// 商户门店编号。可以是喵街内的商户门店ID,也可以是商户系统内自己的门店ID,其取值的含义由store_id_type定义
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 商户门店编号的类型。取值:miaojie和out。如果取值为miaojie,则store_id的取值为商户门店在喵街中的编号;如果取值为out,则store_id的取值为商户自己的编号
	StoreIdType string `json:"store_id_type,omitempty" xml:"store_id_type,omitempty"`
	// 商户机具终端编号
	TerminalId string `json:"terminal_id,omitempty" xml:"terminal_id,omitempty"`
	// 订单号。可能为外部订单号,也可能为喵街订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// appId。兼容老退款
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 退款金额。需要退款的金额,该金额不能大于订单金额(同一笔交易多次退款时累计退款金额不能超过订单金额),单位为分
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
	// 退款来源.1:商家退款,2:用户主动退款,3:过期退款,4:线下POS退款
	RefundSource *model.File `json:"refund_source,omitempty" xml:"refund_source,omitempty"`
}

OnsiteRefundRequest 结构体

type OnsiteRefundResponse

type OnsiteRefundResponse struct {
	// fundBillList
	FundBillList []FundBillDo `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill_do,omitempty"`
	// 订单号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 外部订单号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 外部退款流水号
	OutRequestNo string `json:"out_request_no,omitempty" xml:"out_request_no,omitempty"`
	// 退款状态。FAIL退款失败,REFUNDING表示退款请求中,SUCCESS退款成功
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// buyerAlipayId
	BuyerAlipayId string `json:"buyer_alipay_id,omitempty" xml:"buyer_alipay_id,omitempty"`
	// 授权码来源。MJ:喵街,M_TAO:手淘,ALIPAY:支付宝
	AuthCodeSource string `json:"auth_code_source,omitempty" xml:"auth_code_source,omitempty"`
	// 消费者喵街昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 本次退款请求,对应的退款金额(分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
}

OnsiteRefundResponse 结构体

type OnsiteTradePayRequest

type OnsiteTradePayRequest struct {
	// 商品明细列表。订单包含的商品列表信息
	GoodsDetailList []GoodsDetail `json:"goods_detail_list,omitempty" xml:"goods_detail_list>goods_detail,omitempty"`
	// 商户支付流水号,64个字符以内、可包含字母、数字、下划线;需保证在商户端不重复
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 支付授权码。 消费者喵街中的“付款码”信息
	AuthCode string `json:"auth_code,omitempty" xml:"auth_code,omitempty"`
	// 订单总金额,单位为分,取值范围[0,10000000000]
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 不可打折金额。不参与优惠计算的金额,单位为分,取值范围[0,10000000000]。取值不能超过订单总金额
	UndiscountableAmount string `json:"undiscountable_amount,omitempty" xml:"undiscountable_amount,omitempty"`
	// 允许使用的资金渠道。如果不指定,则可以使用所有资金渠道;如果存在多个资金渠道,以逗号分隔,取值:mj_vcard 和 alipay。mj_vcard代表喵街储值卡,alipay代表支付宝。此处设定的顺序代表了资金渠道出现的顺序。在实际支付时,还会判断其它条件控制资金渠道(如使用储值权益,即使在创建订单时指定资金渠道为支付宝,也必须使用储值卡支付)
	AllowablePayChannels string `json:"allowable_pay_channels,omitempty" xml:"allowable_pay_channels,omitempty"`
	// 是否自动完成消费者对订单的确认。如果是,则无需消费者确认环节,直接进入待付款。取值:Y、N。缺省值为N
	BuyerAutoConfirm string `json:"buyer_auto_confirm,omitempty" xml:"buyer_auto_confirm,omitempty"`
	// 订单标题
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 订单描述。对交易或商品的描述
	Body string `json:"body,omitempty" xml:"body,omitempty"`
	// 商户门店编号的类型。取值:miaojie和out。如果取值为miaojie,则store_id的取值为商户门店在喵街中的编号;如果取值为out,则store_id的取值为商户自己的编号
	StoreIdType string `json:"store_id_type,omitempty" xml:"store_id_type,omitempty"`
	// 商户门店编号。可以是喵街内的商户门店ID,也可以是商户系统内自己的门店ID,其取值的含义由store_id_type定义
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 商户操作员编号
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 商户机具终端编号
	TerminalId string `json:"terminal_id,omitempty" xml:"terminal_id,omitempty"`
	// 支付超时时间。该笔订单允许的最晚付款时间,逾期将关闭交易。格式为:yyyy-MM-dd HH:mm:ss。时区为GMT+8。 线下条码支付,建议传入当前时间往后10分钟的时间点
	TimeExpire string `json:"time_expire,omitempty" xml:"time_expire,omitempty"`
	// 业务扩展参数,json格式。目前需要的扩展参数名有:memberPayerSame:是否需要校验会员与支付者是否同人。
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商户收银支付宝账号
	StoreAlipayAccount string `json:"store_alipay_account,omitempty" xml:"store_alipay_account,omitempty"`
	// 场景流水号,会员识别时生成。
	SceneNo string `json:"scene_no,omitempty" xml:"scene_no,omitempty"`
	// 会员账号ID
	MemberAccountId string `json:"member_account_id,omitempty" xml:"member_account_id,omitempty"`
	// 会员手机号
	MemberMobile string `json:"member_mobile,omitempty" xml:"member_mobile,omitempty"`
	// 支付场景,条码支付:bar_code,刷脸支付:security_code
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
}

OnsiteTradePayRequest 结构体

type OnsiteTradePayResponse

type OnsiteTradePayResponse struct {
	// 喵街交易凭证号。必然返回
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 原支付请求的商户订单号。必然返回
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 消费者在喵街的昵称,将用*号屏蔽部分内容。必然返回
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 订单总金额,单位为分。必然返回
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 交易状态。必然返回。取值:WAIT_FOR_CONFIRM,待确认,此时不能申请退款,可以撤销;WAIT_BUYER_PAY,等待消费者付款	,此时不能申请退款,可以撤销;TRADE_SUCCESS,付款成功,此时可以申请退款,可以撤销(自动申请退款);TRADE_FINISHED,交易成功,此时可以申请退款,可以撤销(自动申请退款);TRADE_CLOSED,交易关闭,此时不能申请退款,不能撤销
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 码来源,取值:MJ、M_TAO、ALIPAY
	AuthCodeSource string `json:"auth_code_source,omitempty" xml:"auth_code_source,omitempty"`
}

OnsiteTradePayResponse 结构体

type OnsiteTradeQueryResponse

type OnsiteTradeQueryResponse struct {
	// 商户的实收资金渠道明细信息列表。
	FundBillList []FundBill `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill,omitempty"`
	// 消费者在喵街的昵称,将用*号屏蔽部分内容。必然返回
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 消费者付款时间。在付款后才会返回,格式为 yyyy-MM-dd HH:mm:ss,时区是GMT+8
	GmtPayment string `json:"gmt_payment,omitempty" xml:"gmt_payment,omitempty"`
	// 原支付请求的商户支付流水号。必然返回
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 喵街交易流水号。必然返回
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 交易目前所处的状态。必然返回。取值:WAIT_FOR_CONFIRM,待确认,此时不能申请退款,可以撤销;WAIT_BUYER_PAY,等待消费者付款	,此时不能申请退款,可以撤销;TRADE_SUCCESS,付款成功,此时可以申请退款,可以撤销(自动申请退款);TRADE_FINISHED,交易成功,此时可以申请退款,不可以撤销;TRADE_CLOSED,交易关闭,此时不能申请退款,不能撤销
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 码来源,取值:MJ、M_TAO、ALIPAY
	AuthCodeSource string `json:"auth_code_source,omitempty" xml:"auth_code_source,omitempty"`
	// 消费者实付总额。单位:分
	BuyerTotalFundFee int64 `json:"buyer_total_fund_fee,omitempty" xml:"buyer_total_fund_fee,omitempty"`
	// 消费者优惠总额。消费者支付的营销渠道的总金额,单位为人民币(分)。一般来讲,是通过券/权益抵扣的总金额。消费者付款成功后,才返回此值
	BuyerTotalPromotionFee int64 `json:"buyer_total_promotion_fee,omitempty" xml:"buyer_total_promotion_fee,omitempty"`
	// 商户总营销成本。商户在本次交易中的营销总成本,单位为人民币(分)。
	StoreTotalMarketingFee int64 `json:"store_total_marketing_fee,omitempty" xml:"store_total_marketing_fee,omitempty"`
	// 商户实收总额。商户在本次交易中实收的总金额。单位:分
	StoreTotalReceivedFee int64 `json:"store_total_received_fee,omitempty" xml:"store_total_received_fee,omitempty"`
	// 本次交易支付的订单金额,单位为人民币(分)。必然返回
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
}

OnsiteTradeQueryResponse 结构体

type OperatorUserInfo added in v1.2.9

type OperatorUserInfo struct {
	// 阿里工号
	AliWorkNo string `json:"ali_work_no,omitempty" xml:"ali_work_no,omitempty"`
	// 银泰工号
	CompWorkNo string `json:"comp_work_no,omitempty" xml:"comp_work_no,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// operator id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 淘宝id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

OperatorUserInfo 结构体

type OutboundDetailDto added in v1.2.0

type OutboundDetailDto struct {
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 数量
	Quantity float64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

OutboundDetailDto 结构体

type ParameterEntity

type ParameterEntity struct {
	// 流程定义KEY,发起流程的唯一标
	ProcessDefinitionKey string `json:"process_definition_key,omitempty" xml:"process_definition_key,omitempty"`
	// 流程审批类型
	ProcessType string `json:"process_type,omitempty" xml:"process_type,omitempty"`
	// 业务详情页URL
	BusinessDataUrl string `json:"business_data_url,omitempty" xml:"business_data_url,omitempty"`
	// 发起人角色名称
	StartUserRoleName string `json:"start_user_role_name,omitempty" xml:"start_user_role_name,omitempty"`
	// 操作人ID
	OperId string `json:"oper_id,omitempty" xml:"oper_id,omitempty"`
	// 业务表单ID(系统-业务类型-编号)
	FormId string `json:"form_id,omitempty" xml:"form_id,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 门店NO
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 抄送人(非必传)
	CcUserIds string `json:"cc_user_ids,omitempty" xml:"cc_user_ids,omitempty"`
	// 发起人ID类型(1:淘宝UserId,2:MIS系统 OuterId)
	OperIdType string `json:"oper_id_type,omitempty" xml:"oper_id_type,omitempty"`
	// 业种code
	YzCode string `json:"yz_code,omitempty" xml:"yz_code,omitempty"`
	// 流程发起描述信息(会展示在审批日志中)
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

ParameterEntity 结构体

type PosBankSaleInfoDto

type PosBankSaleInfoDto struct {
	// 订单号,唯一幂等字段
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 原订单号
	OriginalOrderId string `json:"original_order_id,omitempty" xml:"original_order_id,omitempty"`
	// 小票号
	SequenceNo string `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"`
	// 支付渠道。001:云闪付、002:银行卡
	PaymentChannel string `json:"payment_channel,omitempty" xml:"payment_channel,omitempty"`
	// 卡号
	CardNo string `json:"card_no,omitempty" xml:"card_no,omitempty"`
	// 交易时间。yyyy-MM-dd HH:mm:ss
	TradeTime string `json:"trade_time,omitempty" xml:"trade_time,omitempty"`
	// 销售类型。0:销售,1:退款退货
	SaleType string `json:"sale_type,omitempty" xml:"sale_type,omitempty"`
	// 销售类型子类。001:消费,002:撤销,006:退款退货
	SubSaleType string `json:"sub_sale_type,omitempty" xml:"sub_sale_type,omitempty"`
	// 银行编码
	BankCode string `json:"bank_code,omitempty" xml:"bank_code,omitempty"`
	// 银行名字
	BankName string `json:"bank_name,omitempty" xml:"bank_name,omitempty"`
	// 终端编号
	TerminalNo string `json:"terminal_no,omitempty" xml:"terminal_no,omitempty"`
	// 银行商户号
	BankShopNo string `json:"bank_shop_no,omitempty" xml:"bank_shop_no,omitempty"`
	// 商户流水号,查询流水号
	PosTraceNo string `json:"pos_trace_no,omitempty" xml:"pos_trace_no,omitempty"`
	// 批次号
	BatchNo string `json:"batch_no,omitempty" xml:"batch_no,omitempty"`
	// 交易参考号,系统跟踪号
	TradeRefNo string `json:"trade_ref_no,omitempty" xml:"trade_ref_no,omitempty"`
	// 外部门店号,类似HZ01
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 加密摘要,未脱敏号加密
	EncrypteSummary string `json:"encrypte_summary,omitempty" xml:"encrypte_summary,omitempty"`
	// 通讯类型。001:网线,002:电话
	CommunicateType string `json:"communicate_type,omitempty" xml:"communicate_type,omitempty"`
	// 操作时间。yyyy-MM-dd HH:mm:ss
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 冲正标志,供银行卡调账使用,表字段需要,不由接口传入,默认为00
	Rback string `json:"rback,omitempty" xml:"rback,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 扩展字段
	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`
	// 收银员
	Cashier string `json:"cashier,omitempty" xml:"cashier,omitempty"`
	// ip地址
	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
	// mac地址
	Mac string `json:"mac,omitempty" xml:"mac,omitempty"`
	// 交易金额。单位:分
	TradeAmount int64 `json:"trade_amount,omitempty" xml:"trade_amount,omitempty"`
	// 支付类型行号
	PayTypeNo int64 `json:"pay_type_no,omitempty" xml:"pay_type_no,omitempty"`
}

PosBankSaleInfoDto 结构体

type PosLogDto

type PosLogDto struct {
	// IP地址
	IpAddr string `json:"ip_addr,omitempty" xml:"ip_addr,omitempty"`
	// 当前操作步骤
	OperStep string `json:"oper_step,omitempty" xml:"oper_step,omitempty"`
	// 外部订单号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// pos机类型:POS("大POS"), SHOPPE(" 单品开票"), COUNTER("专柜自收银"), CLOUDPOS("云POS");
	PosType string `json:"pos_type,omitempty" xml:"pos_type,omitempty"`
	// pos机版本号
	Version string `json:"version,omitempty" xml:"version,omitempty"`
	// 门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 专柜号
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 联网:ON/OFF
	NetStat string `json:"net_stat,omitempty" xml:"net_stat,omitempty"`
	// 日志级别:INFO/DEBUG/ERROR
	LogLevel string `json:"log_level,omitempty" xml:"log_level,omitempty"`
	// 操作步骤结果描述
	OperResult string `json:"oper_result,omitempty" xml:"oper_result,omitempty"`
	// pos日志上传时间(本地时间)
	UploadTime string `json:"upload_time,omitempty" xml:"upload_time,omitempty"`
	// pos日志发生时间(本地时间)
	HappenTime string `json:"happen_time,omitempty" xml:"happen_time,omitempty"`
	// 云pos序列号
	Sn string `json:"sn,omitempty" xml:"sn,omitempty"`
	// 小票号码
	ReceiptNo string `json:"receipt_no,omitempty" xml:"receipt_no,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误源
	ErrSource string `json:"err_source,omitempty" xml:"err_source,omitempty"`
	// 扩展数据
	Extension string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 日志数据类型:SYSTEM系统/BUSINESS 业务
	DataType string `json:"data_type,omitempty" xml:"data_type,omitempty"`
	// 错误描述
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// MAC地址
	MacAddr string `json:"mac_addr,omitempty" xml:"mac_addr,omitempty"`
	// 请求地址
	ApiUrl string `json:"api_url,omitempty" xml:"api_url,omitempty"`
	// 收银机号
	PosNo string `json:"pos_no,omitempty" xml:"pos_no,omitempty"`
	// OPER("步骤"), REMOTESERVICE(" 远程服务调用"), TRANS("传输日志"), DEFAULT("默认");
	LogType string `json:"log_type,omitempty" xml:"log_type,omitempty"`
	// 收银员
	Cashier string `json:"cashier,omitempty" xml:"cashier,omitempty"`
	// 请求内容
	RequestContent string `json:"request_content,omitempty" xml:"request_content,omitempty"`
	// 告警级别
	BizAlarmLevel string `json:"biz_alarm_level,omitempty" xml:"biz_alarm_level,omitempty"`
	// 请求状态码
	HttpStatus int64 `json:"http_status,omitempty" xml:"http_status,omitempty"`
}

PosLogDto 结构体

type PosOrderDto

type PosOrderDto struct {
	// 支付列表
	Payments []PosPaymentDto `json:"payments,omitempty" xml:"payments>pos_payment_dto,omitempty"`
	// 订单商品列表
	SaleItems []PosSaleItemDto `json:"sale_items,omitempty" xml:"sale_items>pos_sale_item_dto,omitempty"`
	// 优惠分摊列表
	SplitPromotions []PosSplitPromotionDto `json:"split_promotions,omitempty" xml:"split_promotions>pos_split_promotion_dto,omitempty"`
	// 扩展信息。
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 门店号
	MallNo string `json:"mall_no,omitempty" xml:"mall_no,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
	// 操作员
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// POS交易流水号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// OC交易流水号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 付款/退款 时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 退款流水号(退款时必须有)
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 会员手机号
	MemberMobilePhone string `json:"member_mobile_phone,omitempty" xml:"member_mobile_phone,omitempty"`
	// 收银机号
	TerminalNo string `json:"terminal_no,omitempty" xml:"terminal_no,omitempty"`
	// 配送方式:1 : 门店自提,2 :物流到家
	LogisticsWay int64 `json:"logistics_way,omitempty" xml:"logistics_way,omitempty"`
	// 交易类别:0 : 收银  1 :退款
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 订单金额,单位分
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 订单来源
	SaleChannle int64 `json:"sale_channle,omitempty" xml:"sale_channle,omitempty"`
}

PosOrderDto 结构体

type PosOrderSaleItemDto

type PosOrderSaleItemDto struct {
	// 扩展信息
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商品ID
	GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 商品名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 商品类型:  N:老单品;Y:喵货;C:云单品;M:零售+      *      ?? 非单品是啥?
	ItemType string `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 门店号
	MallNo string `json:"mall_no,omitempty" xml:"mall_no,omitempty"`
	// 商品数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 开票单号
	SaleTicketNo string `json:"sale_ticket_no,omitempty" xml:"sale_ticket_no,omitempty"`
	// 结算码
	SettleCode string `json:"settle_code,omitempty" xml:"settle_code,omitempty"`
	// 专柜号
	ShopNo string `json:"shop_no,omitempty" xml:"shop_no,omitempty"`
	// 折扣金额
	DiscountAmount int64 `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"`
	// 开票行号
	GoodsLineNo int64 `json:"goods_line_no,omitempty" xml:"goods_line_no,omitempty"`
	// 原始价格
	OriPrice int64 `json:"ori_price,omitempty" xml:"ori_price,omitempty"`
	// 应付金额
	PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"`
}

PosOrderSaleItemDto 结构体

type PosPaymentDto

type PosPaymentDto struct {
	// 扩展参数。注:POS中的支付大类、小类,通过extendParams传。支付大类属性名: paymentType,支付小类属性名: paymentSubType。
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 支付代码
	PaymentCode string `json:"payment_code,omitempty" xml:"payment_code,omitempty"`
	// 支付名称
	PaymentName string `json:"payment_name,omitempty" xml:"payment_name,omitempty"`
	// 支付流水号
	PaymentNo string `json:"payment_no,omitempty" xml:"payment_no,omitempty"`
	// 支付/优惠 金额,单位:分
	PaymentAmount int64 `json:"payment_amount,omitempty" xml:"payment_amount,omitempty"`
	// 支付行号
	PaymentLineNo int64 `json:"payment_line_no,omitempty" xml:"payment_line_no,omitempty"`
	// 1:支付,2:优惠
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
}

PosPaymentDto 结构体

type PosSaleItemDto

type PosSaleItemDto struct {
	// 扩展参数
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商品ID
	GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 商品名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 商品类型:  N:老单品;Y:喵货;C:云单品;M:零售+
	ItemType string `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 门店号
	MallNo string `json:"mall_no,omitempty" xml:"mall_no,omitempty"`
	// 数量,可小数点
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 开票单号()
	SaleTicketNo string `json:"sale_ticket_no,omitempty" xml:"sale_ticket_no,omitempty"`
	// 结算码(退款的时候必须有)
	SettleCode string `json:"settle_code,omitempty" xml:"settle_code,omitempty"`
	// 专柜号
	ShopNo string `json:"shop_no,omitempty" xml:"shop_no,omitempty"`
	// 唯一码
	UniqueCode string `json:"unique_code,omitempty" xml:"unique_code,omitempty"`
	// 折扣金额,单位:分
	DiscountAmount int64 `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"`
	// 商品行号
	GoodsLineNo int64 `json:"goods_line_no,omitempty" xml:"goods_line_no,omitempty"`
	// 商品原价,单位:分
	OriPrice int64 `json:"ori_price,omitempty" xml:"ori_price,omitempty"`
	// 应付金额,单位:分
	PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"`
}

PosSaleItemDto 结构体

type PosSaleOrderDto

type PosSaleOrderDto struct {
	// 商品列表
	SaleItems []PosOrderSaleItemDto `json:"sale_items,omitempty" xml:"sale_items>pos_order_sale_item_dto,omitempty"`
	// 扩展信息
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
	// 会员电话
	MemberMobile string `json:"member_mobile,omitempty" xml:"member_mobile,omitempty"`
	// 操作员
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 开票单号
	SaleTicketNo string `json:"sale_ticket_no,omitempty" xml:"sale_ticket_no,omitempty"`
}

PosSaleOrderDto 结构体

type PosSplitPromotionDto

type PosSplitPromotionDto struct {
	// 券码
	CouponCode string `json:"coupon_code,omitempty" xml:"coupon_code,omitempty"`
	// 结算码
	SettleCode string `json:"settle_code,omitempty" xml:"settle_code,omitempty"`
	// 该支付方式支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 大支付方式
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 小支付方式
	SubPayment string `json:"sub_payment,omitempty" xml:"sub_payment,omitempty"`
	// 是否压卡
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商品行号,必须
	GoodsLineNo int64 `json:"goods_line_no,omitempty" xml:"goods_line_no,omitempty"`
	// 支付行号,必须
	PaymentLineNo int64 `json:"payment_line_no,omitempty" xml:"payment_line_no,omitempty"`
	// 分摊金额,必须
	SplitAmount int64 `json:"split_amount,omitempty" xml:"split_amount,omitempty"`
	// 1:支付,2:优惠
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
}

PosSplitPromotionDto 结构体

type RefundResponse

type RefundResponse struct {
	// 退款资金渠道列表
	FundBillList []FundBillDo `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill_do,omitempty"`
	// 喵街交易凭证号。必然返回
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 原支付请求的商户订单号。必然返回
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 外部退款流水号
	OutRequestNo string `json:"out_request_no,omitempty" xml:"out_request_no,omitempty"`
	// 退款状态。FAIL退款失败,REFUNDING表示退款请求中,SUCCESS退款成功
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 买家在支付宝的用户id
	BuyerAlipayId string `json:"buyer_alipay_id,omitempty" xml:"buyer_alipay_id,omitempty"`
	// 授权码来源。MJ:喵街,M_TAO:手淘,ALIPAY:支付宝
	AuthCodeSource string `json:"auth_code_source,omitempty" xml:"auth_code_source,omitempty"`
	// 消费者喵街昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 总退款金额。单位为人民币(分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
}

RefundResponse 结构体

type ResultDo added in v1.2.0

type ResultDo struct {
	// data
	Data *CallDispatcherResponse `json:"data,omitempty" xml:"data,omitempty"`
}

ResultDo 结构体

type RightsList

type RightsList struct {
	// 券名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 券价值
	CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`
	// id
	SnapshotId int64 `json:"snapshot_id,omitempty" xml:"snapshot_id,omitempty"`
	// 券使用门槛
	EntryAmount int64 `json:"entry_amount,omitempty" xml:"entry_amount,omitempty"`
}

RightsList 结构体

type SaleProperty

type SaleProperty struct {
	// 属性Id
	PId string `json:"p_id,omitempty" xml:"p_id,omitempty"`
	// 属性名称
	PName string `json:"p_name,omitempty" xml:"p_name,omitempty"`
	// 属性值Id
	VId string `json:"v_id,omitempty" xml:"v_id,omitempty"`
	// 属性值名称
	VName string `json:"v_name,omitempty" xml:"v_name,omitempty"`
}

SaleProperty 结构体

type ScanProduct

type ScanProduct struct {
	// 销售属性
	SalePropertys []SaleProperty `json:"sale_propertys,omitempty" xml:"sale_propertys>sale_property,omitempty"`
	// 货号
	ArtNo string `json:"art_no,omitempty" xml:"art_no,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 集团专柜编码
	GroupShopCode string `json:"group_shop_code,omitempty" xml:"group_shop_code,omitempty"`
	// 收银编码
	IntimeCodes string `json:"intime_codes,omitempty" xml:"intime_codes,omitempty"`
	// 商品名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 销售价
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 专柜Code
	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`
	// 商品Id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品来源
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
	// 商品来源
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 吊牌价
	TagPrice string `json:"tag_price,omitempty" xml:"tag_price,omitempty"`
	// 默认收银编码
	DefaultIntimeCode string `json:"default_intime_code,omitempty" xml:"default_intime_code,omitempty"`
	// 唯一码
	UniqueCode string `json:"unique_code,omitempty" xml:"unique_code,omitempty"`
	// 商品标签
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
}

ScanProduct 结构体

type SettleInvoiceDto

type SettleInvoiceDto struct {
	// 发票类型 SPECIAL("专票"),ORDINARY("普票")
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 发票行号
	InvoicelineNo string `json:"invoiceline_no,omitempty" xml:"invoiceline_no,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 发票不含税金额
	ExcludingTaxAmount string `json:"excluding_tax_amount,omitempty" xml:"excluding_tax_amount,omitempty"`
	// 结算行税率,普票的税率必须是0
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 税额,普票时填0
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 发票总金额, 必须=excludingTaxAmount+taxAmount
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 开票日期
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
	// 扩展
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

SettleInvoiceDto 结构体

type SingleResult

type SingleResult struct {
	// 系统错误
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 系统错误
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 成功返回
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

SingleResult 结构体

type SmsSendMessageDto added in v1.2.5

type SmsSendMessageDto struct {
	// 手机号
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 租户
	MosTenant string `json:"mos_tenant,omitempty" xml:"mos_tenant,omitempty"`
	// 短信模板ID
	SmsTemplateId string `json:"sms_template_id,omitempty" xml:"sms_template_id,omitempty"`
	// 幂等ID防重试
	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 当前租户短信使用场景
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 模板参数填充MAP
	TemplateParamsMap string `json:"template_params_map,omitempty" xml:"template_params_map,omitempty"`
}

SmsSendMessageDto 结构体

type StoreInfo

type StoreInfo struct {
	// 图片
	StorePic string `json:"store_pic,omitempty" xml:"store_pic,omitempty"`
	// 专柜名字
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 专柜ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreInfo 结构体

type SupplierBankInfoDto

type SupplierBankInfoDto struct {
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 国家名
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 地区名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 省代码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 城市代码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省名
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 门店号
	CoCode string `json:"co_code,omitempty" xml:"co_code,omitempty"`
	// 收款银行账号
	ReceiveAccount string `json:"receive_account,omitempty" xml:"receive_account,omitempty"`
	// 支行名
	BankBranchName string `json:"bank_branch_name,omitempty" xml:"bank_branch_name,omitempty"`
	// 联行号
	CnapsCode string `json:"cnaps_code,omitempty" xml:"cnaps_code,omitempty"`
	// 收款账户名
	ReceiveName string `json:"receive_name,omitempty" xml:"receive_name,omitempty"`
	// 门店名
	CoName string `json:"co_name,omitempty" xml:"co_name,omitempty"`
	// 支行号
	BankBranchCode string `json:"bank_branch_code,omitempty" xml:"bank_branch_code,omitempty"`
	// 供应商号
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 国家号
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 银行名
	BankName string `json:"bank_name,omitempty" xml:"bank_name,omitempty"`
	// 银行号
	BankCode string `json:"bank_code,omitempty" xml:"bank_code,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 审核状态
	ApprovalStatus int64 `json:"approval_status,omitempty" xml:"approval_status,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 业务乐行
	BusinessType int64 `json:"business_type,omitempty" xml:"business_type,omitempty"`
	// 关联账号id
	RelationAccountId int64 `json:"relation_account_id,omitempty" xml:"relation_account_id,omitempty"`
	// 类型, 个人, 企业
	AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 操作类型
	ApprovalType int64 `json:"approval_type,omitempty" xml:"approval_type,omitempty"`
}

SupplierBankInfoDto 结构体

type SupplierBasisInfoDto

type SupplierBasisInfoDto struct {
	// 类型名
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 经营范围
	BusinessScope string `json:"business_scope,omitempty" xml:"business_scope,omitempty"`
	// ocr认证id
	CertRecordId string `json:"cert_record_id,omitempty" xml:"cert_record_id,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 公司类型
	CompanyType string `json:"company_type,omitempty" xml:"company_type,omitempty"`
	// 公司成立日期
	EstablishDate string `json:"establish_date,omitempty" xml:"establish_date,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 操作人id
	OperateId string `json:"operate_id,omitempty" xml:"operate_id,omitempty"`
	// 操作人name
	OperateName string `json:"operate_name,omitempty" xml:"operate_name,omitempty"`
	// 经营期限结束日期
	OperatingEnd string `json:"operating_end,omitempty" xml:"operating_end,omitempty"`
	// 经营期限开始日期
	OperatingStart string `json:"operating_start,omitempty" xml:"operating_start,omitempty"`
	// 操作人id
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 操作人name
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 审批流instanceId, 冪等用
	ProcessInstanceId string `json:"process_instance_id,omitempty" xml:"process_instance_id,omitempty"`
	// 注册资本
	RegisteredCapital string `json:"registered_capital,omitempty" xml:"registered_capital,omitempty"`
	// 幂等id
	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 状态
	ApprovalStatus int64 `json:"approval_status,omitempty" xml:"approval_status,omitempty"`
	// 变更类型:0-资质变更,1-主体变更
	ChangeType int64 `json:"change_type,omitempty" xml:"change_type,omitempty"`
	// 公司性质,0:企业,1:个人
	CompanyNature int64 `json:"company_nature,omitempty" xml:"company_nature,omitempty"`
	// 结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 对象id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 分页-offset
	Offset int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 当前页
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 页数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 供应商来源, 0:招商平台,1:供应商平台,2:初始化
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 供应商状态,0:未入库,1:已入库,2:已转正
	SupplierStatus int64 `json:"supplier_status,omitempty" xml:"supplier_status,omitempty"`
}

SupplierBasisInfoDto 结构体

Source Files

Jump to

Keyboard shortcuts

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