mos

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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.2.0

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

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

用于绑定喵街数字化会员

func NewAlibabaMjMemberBindmemberRequest

func NewAlibabaMjMemberBindmemberRequest() *AlibabaMjMemberBindmemberAPIRequest

NewAlibabaMjMemberBindmemberRequest 初始化AlibabaMjMemberBindmemberAPIRequest对象

func (AlibabaMjMemberBindmemberAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMemberBindmemberAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMemberBindmemberAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMemberBindmemberAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetOpenId added in v1.2.0

GetOpenId OpenId Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjMemberBindmemberAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*AlibabaMjMemberBindmemberAPIRequest) SetChannel added in v1.2.0

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

SetChannel is Channel Setter 渠道

func (*AlibabaMjMemberBindmemberAPIRequest) SetMallId added in v1.2.0

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

SetMallId is MallId Setter 商城Id

func (*AlibabaMjMemberBindmemberAPIRequest) SetOpenId added in v1.2.0

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

SetOpenId is OpenId Setter open_id

func (*AlibabaMjMemberBindmemberAPIRequest) SetUserId added in v1.2.0

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

SetUserId is UserId Setter 用户号

type AlibabaMjMemberBindmemberAPIResponse

type AlibabaMjMemberBindmemberAPIResponse struct {
	model.CommonResponse
	AlibabaMjMemberBindmemberAPIResponseModel
}

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

用于绑定喵街数字化会员

type AlibabaMjMemberBindmemberAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjMemberHasbindRequest

func NewAlibabaMjMemberHasbindRequest() *AlibabaMjMemberHasbindAPIRequest

NewAlibabaMjMemberHasbindRequest 初始化AlibabaMjMemberHasbindAPIRequest对象

func (AlibabaMjMemberHasbindAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMemberHasbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMemberHasbindAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMemberHasbindAPIRequest) GetOpenId added in v1.2.0

GetOpenId OpenId Getter

func (AlibabaMjMemberHasbindAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjMemberHasbindAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*AlibabaMjMemberHasbindAPIRequest) SetOpenId added in v1.2.0

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

SetOpenId is OpenId Setter open_id

func (*AlibabaMjMemberHasbindAPIRequest) SetUserId added in v1.2.0

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

SetUserId is UserId Setter user_id

type AlibabaMjMemberHasbindAPIResponse

type AlibabaMjMemberHasbindAPIResponse struct {
	model.CommonResponse
	AlibabaMjMemberHasbindAPIResponseModel
}

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

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

type AlibabaMjMemberHasbindAPIResponseModel added in v1.2.0

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 AlibabaMjMosFundCancelbillAPIRequest added in v1.2.0

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

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

取消付款单

func NewAlibabaMjMosFundCancelbillRequest

func NewAlibabaMjMosFundCancelbillRequest() *AlibabaMjMosFundCancelbillAPIRequest

NewAlibabaMjMosFundCancelbillRequest 初始化AlibabaMjMosFundCancelbillAPIRequest对象

func (AlibabaMjMosFundCancelbillAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMosFundCancelbillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundCancelbillAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundCancelbillAPIRequest) GetCancelBillDTO added in v1.2.0

GetCancelBillDTO CancelBillDTO Getter

func (AlibabaMjMosFundCancelbillAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjMosFundCancelbillAPIRequest) SetCancelBillDTO added in v1.2.0

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

SetCancelBillDTO is CancelBillDTO Setter 取消入参

type AlibabaMjMosFundCancelbillAPIResponse

type AlibabaMjMosFundCancelbillAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundCancelbillAPIResponseModel
}

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

取消付款单

type AlibabaMjMosFundCancelbillAPIResponseModel added in v1.2.0

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.2.0

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

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

创建一个付款单

func NewAlibabaMjMosFundCreatebillRequest

func NewAlibabaMjMosFundCreatebillRequest() *AlibabaMjMosFundCreatebillAPIRequest

NewAlibabaMjMosFundCreatebillRequest 初始化AlibabaMjMosFundCreatebillAPIRequest对象

func (AlibabaMjMosFundCreatebillAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMosFundCreatebillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundCreatebillAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundCreatebillAPIRequest) GetBillDto added in v1.2.0

GetBillDto BillDto Getter

func (AlibabaMjMosFundCreatebillAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjMosFundCreatebillAPIRequest) SetBillDto added in v1.2.0

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

SetBillDto is BillDto Setter 创建付款单入参

type AlibabaMjMosFundCreatebillAPIResponse

type AlibabaMjMosFundCreatebillAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundCreatebillAPIResponseModel
}

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

创建一个付款单

type AlibabaMjMosFundCreatebillAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjMosFundModifybillbankaccountRequest

func NewAlibabaMjMosFundModifybillbankaccountRequest() *AlibabaMjMosFundModifybillbankaccountAPIRequest

NewAlibabaMjMosFundModifybillbankaccountRequest 初始化AlibabaMjMosFundModifybillbankaccountAPIRequest对象

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetModifyDto added in v1.2.0

GetModifyDto ModifyDto Getter

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjMosFundModifybillbankaccountAPIRequest) SetModifyDto added in v1.2.0

SetModifyDto is ModifyDto Setter 修改入参

type AlibabaMjMosFundModifybillbankaccountAPIResponse

type AlibabaMjMosFundModifybillbankaccountAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundModifybillbankaccountAPIResponseModel
}

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

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

type AlibabaMjMosFundModifybillbankaccountAPIResponseModel added in v1.2.0

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 AlibabaMjMoscarnivalReceivecouponAPIRequest added in v1.2.0

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

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

根据手机号码领券

func NewAlibabaMjMoscarnivalReceivecouponRequest

func NewAlibabaMjMoscarnivalReceivecouponRequest() *AlibabaMjMoscarnivalReceivecouponAPIRequest

NewAlibabaMjMoscarnivalReceivecouponRequest 初始化AlibabaMjMoscarnivalReceivecouponAPIRequest对象

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetMobile added in v1.2.0

GetMobile Mobile Getter

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjMoscarnivalReceivecouponAPIRequest) SetActivityId added in v1.2.0

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

SetActivityId is ActivityId Setter 活动id

func (*AlibabaMjMoscarnivalReceivecouponAPIRequest) SetMobile added in v1.2.0

SetMobile is Mobile Setter 手机号码

type AlibabaMjMoscarnivalReceivecouponAPIResponse

type AlibabaMjMoscarnivalReceivecouponAPIResponse struct {
	model.CommonResponse
	AlibabaMjMoscarnivalReceivecouponAPIResponseModel
}

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

根据手机号码领券

type AlibabaMjMoscarnivalReceivecouponAPIResponseModel added in v1.2.0

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

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.2.0

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

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

根据加密手机号领券

func NewAlibabaMjMoscarnivalReceiveencryptRequest

func NewAlibabaMjMoscarnivalReceiveencryptRequest() *AlibabaMjMoscarnivalReceiveencryptAPIRequest

NewAlibabaMjMoscarnivalReceiveencryptRequest 初始化AlibabaMjMoscarnivalReceiveencryptAPIRequest对象

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetMobile added in v1.2.0

GetMobile Mobile Getter

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjMoscarnivalReceiveencryptAPIRequest) SetActivityId added in v1.2.0

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

SetActivityId is ActivityId Setter 活动id

func (*AlibabaMjMoscarnivalReceiveencryptAPIRequest) SetMobile added in v1.2.0

SetMobile is Mobile Setter 加密手机号码

type AlibabaMjMoscarnivalReceiveencryptAPIResponse

type AlibabaMjMoscarnivalReceiveencryptAPIResponse struct {
	model.CommonResponse
	AlibabaMjMoscarnivalReceiveencryptAPIResponseModel
}

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

根据加密手机号领券

type AlibabaMjMoscarnivalReceiveencryptAPIResponseModel added in v1.2.0

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

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

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 AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest added in v1.2.0

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

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

大pos银行卡调账申请

func NewAlibabaMjOcBigposBanksaleAdjustmentApplyRequest

func NewAlibabaMjOcBigposBanksaleAdjustmentApplyRequest() *AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest

NewAlibabaMjOcBigposBanksaleAdjustmentApplyRequest 初始化AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest对象

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetAmount added in v1.2.0

GetAmount Amount Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetCardNo added in v1.2.0

GetCardNo CardNo Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetOperTime added in v1.2.0

GetOperTime OperTime Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetOperator added in v1.2.0

GetOperator Operator Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetPosNo added in v1.2.0

GetPosNo PosNo Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetStoreNo added in v1.2.0

GetStoreNo StoreNo Getter

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetAmount added in v1.2.0

SetAmount is Amount Setter 调账金额

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetCardNo added in v1.2.0

SetCardNo is CardNo Setter 卡号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetOperTime added in v1.2.0

SetOperTime is OperTime Setter 交易时间

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetOperator added in v1.2.0

SetOperator is Operator Setter 收银员号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetPosNo added in v1.2.0

SetPosNo is PosNo Setter 调账收银机号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetStoreNo added in v1.2.0

SetStoreNo is StoreNo Setter 门店号

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponse

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponseModel
}

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

大pos银行卡调账申请

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjOcBigposBanksaleQueryRequest

func NewAlibabaMjOcBigposBanksaleQueryRequest() *AlibabaMjOcBigposBanksaleQueryAPIRequest

NewAlibabaMjOcBigposBanksaleQueryRequest 初始化AlibabaMjOcBigposBanksaleQueryAPIRequest对象

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetCardNo added in v1.2.0

GetCardNo CardNo Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetOutStoreNo added in v1.2.0

GetOutStoreNo OutStoreNo Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetCardNo added in v1.2.0

SetCardNo is CardNo Setter 卡号

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetEndTime added in v1.2.0

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

SetEndTime is EndTime Setter 结束时间

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetOutStoreNo added in v1.2.0

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

SetOutStoreNo is OutStoreNo Setter 外部门店号

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetStartTime added in v1.2.0

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

SetStartTime is StartTime Setter 开始时间

type AlibabaMjOcBigposBanksaleQueryAPIResponse

type AlibabaMjOcBigposBanksaleQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcBigposBanksaleQueryAPIResponseModel
}

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

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

type AlibabaMjOcBigposBanksaleQueryAPIResponseModel added in v1.2.0

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>alibaba_mj_oc_bigpos_banksale_query_data,omitempty"`
	// 明细数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

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

type AlibabaMjOcBigposBanksaleQueryData

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.2.0

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

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

定时达呼叫运力接口

func NewAlibabaMjOcCalldispatcherRequest

func NewAlibabaMjOcCalldispatcherRequest() *AlibabaMjOcCalldispatcherAPIRequest

NewAlibabaMjOcCalldispatcherRequest 初始化AlibabaMjOcCalldispatcherAPIRequest对象

func (AlibabaMjOcCalldispatcherAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcCalldispatcherAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcCalldispatcherAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcCalldispatcherAPIRequest) GetCallDispatcherDTO added in v1.2.0

func (r AlibabaMjOcCalldispatcherAPIRequest) GetCallDispatcherDTO() *CallDispatcherDto

GetCallDispatcherDTO CallDispatcherDTO Getter

func (AlibabaMjOcCalldispatcherAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjOcCalldispatcherAPIRequest) SetCallDispatcherDTO added in v1.2.0

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

SetCallDispatcherDTO is CallDispatcherDTO Setter 入参

type AlibabaMjOcCalldispatcherAPIResponse

type AlibabaMjOcCalldispatcherAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcCalldispatcherAPIResponseModel
}

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

定时达呼叫运力接口

type AlibabaMjOcCalldispatcherAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjOcConfpickupgoodsRequest

func NewAlibabaMjOcConfpickupgoodsRequest() *AlibabaMjOcConfpickupgoodsAPIRequest

NewAlibabaMjOcConfpickupgoodsRequest 初始化AlibabaMjOcConfpickupgoodsAPIRequest对象

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcConfpickupgoodsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetConfPickupGoodsRequest added in v1.2.0

func (r AlibabaMjOcConfpickupgoodsAPIRequest) GetConfPickupGoodsRequest() *ConfPickupGoodsReqDto

GetConfPickupGoodsRequest ConfPickupGoodsRequest Getter

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjOcConfpickupgoodsAPIRequest) SetConfPickupGoodsRequest added in v1.2.0

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

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

type AlibabaMjOcConfpickupgoodsAPIResponse

type AlibabaMjOcConfpickupgoodsAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcConfpickupgoodsAPIResponseModel
}

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

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

type AlibabaMjOcConfpickupgoodsAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjOcGetproductbyscancodeRequest

func NewAlibabaMjOcGetproductbyscancodeRequest() *AlibabaMjOcGetproductbyscancodeAPIRequest

NewAlibabaMjOcGetproductbyscancodeRequest 初始化AlibabaMjOcGetproductbyscancodeAPIRequest对象

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetCode added in v1.2.0

GetCode Code Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetCodeType added in v1.2.0

GetCodeType CodeType Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetShopCode added in v1.2.0

GetShopCode ShopCode Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetStoreCode added in v1.2.0

GetStoreCode StoreCode Getter

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetCode added in v1.2.0

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

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetCodeType added in v1.2.0

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

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

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetShopCode added in v1.2.0

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

SetShopCode is ShopCode Setter 专柜编码

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetStoreCode added in v1.2.0

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

SetStoreCode is StoreCode Setter 门店编码

type AlibabaMjOcGetproductbyscancodeAPIResponse

type AlibabaMjOcGetproductbyscancodeAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcGetproductbyscancodeAPIResponseModel
}

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

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

type AlibabaMjOcGetproductbyscancodeAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjOcOfflineMaxticketnoGetRequest

func NewAlibabaMjOcOfflineMaxticketnoGetRequest() *AlibabaMjOcOfflineMaxticketnoGetAPIRequest

NewAlibabaMjOcOfflineMaxticketnoGetRequest 初始化AlibabaMjOcOfflineMaxticketnoGetAPIRequest对象

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetDatetime added in v1.2.0

GetDatetime Datetime Getter

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetPosNo added in v1.2.0

GetPosNo PosNo Getter

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetStoreNo added in v1.2.0

GetStoreNo StoreNo Getter

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetDatetime added in v1.2.0

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

SetDatetime is Datetime Setter 日期

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetPosNo added in v1.2.0

SetPosNo is PosNo Setter 收银机号

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetStoreNo added in v1.2.0

SetStoreNo is StoreNo Setter 外部门店号

type AlibabaMjOcOfflineMaxticketnoGetAPIResponse

type AlibabaMjOcOfflineMaxticketnoGetAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOfflineMaxticketnoGetAPIResponseModel
}

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

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

type AlibabaMjOcOfflineMaxticketnoGetAPIResponseModel added in v1.2.0

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.2.0

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

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

线上小票号获取

func NewAlibabaMjOcOnlineTicketnoGetRequest

func NewAlibabaMjOcOnlineTicketnoGetRequest() *AlibabaMjOcOnlineTicketnoGetAPIRequest

NewAlibabaMjOcOnlineTicketnoGetRequest 初始化AlibabaMjOcOnlineTicketnoGetAPIRequest对象

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetOutStoreNo added in v1.2.0

GetOutStoreNo OutStoreNo Getter

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjOcOnlineTicketnoGetAPIRequest) SetOutStoreNo added in v1.2.0

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

SetOutStoreNo is OutStoreNo Setter 外部门店号

type AlibabaMjOcOnlineTicketnoGetAPIResponse

type AlibabaMjOcOnlineTicketnoGetAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOnlineTicketnoGetAPIResponseModel
}

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

线上小票号获取

type AlibabaMjOcOnlineTicketnoGetAPIResponseModel added in v1.2.0

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.2.0

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

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

用于接收发货的数据

func NewAlibabaMjOcOutboundRequest

func NewAlibabaMjOcOutboundRequest() *AlibabaMjOcOutboundAPIRequest

NewAlibabaMjOcOutboundRequest 初始化AlibabaMjOcOutboundAPIRequest对象

func (AlibabaMjOcOutboundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcOutboundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcOutboundAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcOutboundAPIRequest) GetGoodsOutbound added in v1.2.0

func (r AlibabaMjOcOutboundAPIRequest) GetGoodsOutbound() *GoodsOutboundDto

GetGoodsOutbound GoodsOutbound Getter

func (AlibabaMjOcOutboundAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMjOcOutboundAPIRequest) GetRawParams() model.Params

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

func (*AlibabaMjOcOutboundAPIRequest) SetGoodsOutbound added in v1.2.0

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

SetGoodsOutbound is GoodsOutbound Setter 发货信息

type AlibabaMjOcOutboundAPIResponse

type AlibabaMjOcOutboundAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOutboundAPIResponseModel
}

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

用于接收发货的数据

type AlibabaMjOcOutboundAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjOcPayRequest

func NewAlibabaMjOcPayRequest() *AlibabaMjOcPayAPIRequest

NewAlibabaMjOcPayRequest 初始化AlibabaMjOcPayAPIRequest对象

func (AlibabaMjOcPayAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcPayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcPayAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcPayAPIRequest) GetPosOrder added in v1.2.0

func (r AlibabaMjOcPayAPIRequest) GetPosOrder() *PosOrderDto

GetPosOrder PosOrder Getter

func (AlibabaMjOcPayAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMjOcPayAPIRequest) GetRawParams() model.Params

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

func (*AlibabaMjOcPayAPIRequest) SetPosOrder added in v1.2.0

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

SetPosOrder is PosOrder Setter 订单数据

type AlibabaMjOcPayAPIResponse

type AlibabaMjOcPayAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcPayAPIResponseModel
}

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

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

type AlibabaMjOcPayAPIResponseModel added in v1.2.0

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.2.0

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

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

开票占库

func NewAlibabaMjOcWritesaleslipRequest

func NewAlibabaMjOcWritesaleslipRequest() *AlibabaMjOcWritesaleslipAPIRequest

NewAlibabaMjOcWritesaleslipRequest 初始化AlibabaMjOcWritesaleslipAPIRequest对象

func (AlibabaMjOcWritesaleslipAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcWritesaleslipAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjOcWritesaleslipAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjOcWritesaleslipAPIRequest) GetPosSaleOrder added in v1.2.0

GetPosSaleOrder PosSaleOrder Getter

func (AlibabaMjOcWritesaleslipAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjOcWritesaleslipAPIRequest) SetPosSaleOrder added in v1.2.0

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

SetPosSaleOrder is PosSaleOrder Setter 开票占库入参

type AlibabaMjOcWritesaleslipAPIResponse

type AlibabaMjOcWritesaleslipAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcWritesaleslipAPIResponseModel
}

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

开票占库

type AlibabaMjOcWritesaleslipAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMjPresaleSettlementAddlistRequest

func NewAlibabaMjPresaleSettlementAddlistRequest() *AlibabaMjPresaleSettlementAddlistAPIRequest

NewAlibabaMjPresaleSettlementAddlistRequest 初始化AlibabaMjPresaleSettlementAddlistAPIRequest对象

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetPreSaleRefundJson added in v1.2.0

func (r AlibabaMjPresaleSettlementAddlistAPIRequest) GetPreSaleRefundJson() string

GetPreSaleRefundJson PreSaleRefundJson Getter

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMjPresaleSettlementAddlistAPIRequest) SetPreSaleRefundJson added in v1.2.0

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

SetPreSaleRefundJson is PreSaleRefundJson Setter 订单json格式数据

type AlibabaMjPresaleSettlementAddlistAPIResponse

type AlibabaMjPresaleSettlementAddlistAPIResponse struct {
	model.CommonResponse
	AlibabaMjPresaleSettlementAddlistAPIResponseModel
}

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

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

type AlibabaMjPresaleSettlementAddlistAPIResponseModel added in v1.2.0

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.2.0

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

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

预购结算数据统计

func NewAlibabaMjPresaleSettlementStatisticsRequest

func NewAlibabaMjPresaleSettlementStatisticsRequest() *AlibabaMjPresaleSettlementStatisticsAPIRequest

NewAlibabaMjPresaleSettlementStatisticsRequest 初始化AlibabaMjPresaleSettlementStatisticsAPIRequest对象

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetActionNo added in v1.2.0

GetActionNo ActionNo Getter

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetStoreNo added in v1.2.0

GetStoreNo StoreNo Getter

func (*AlibabaMjPresaleSettlementStatisticsAPIRequest) SetActionNo added in v1.2.0

SetActionNo is ActionNo Setter 活动期号

func (*AlibabaMjPresaleSettlementStatisticsAPIRequest) SetStoreNo added in v1.2.0

SetStoreNo is StoreNo Setter 外部门店编码

type AlibabaMjPresaleSettlementStatisticsAPIResponse

type AlibabaMjPresaleSettlementStatisticsAPIResponse struct {
	model.CommonResponse
	AlibabaMjPresaleSettlementStatisticsAPIResponseModel
}

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

预购结算数据统计

type AlibabaMjPresaleSettlementStatisticsAPIResponseModel added in v1.2.0

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

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.2.9

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

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

按照查询条件统计总数

func NewAlibabaMosBrandCoproductGroupUserCountRequest added in v1.2.9

func NewAlibabaMosBrandCoproductGroupUserCountRequest() *AlibabaMosBrandCoproductGroupUserCountAPIRequest

NewAlibabaMosBrandCoproductGroupUserCountRequest 初始化AlibabaMosBrandCoproductGroupUserCountAPIRequest对象

func (AlibabaMosBrandCoproductGroupUserCountAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosBrandCoproductGroupUserCountAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosBrandCoproductGroupUserCountAPIRequest) GetBrandCoProductGroupUserQueryParam added in v1.2.9

GetBrandCoProductGroupUserQueryParam BrandCoProductGroupUserQueryParam Getter

func (AlibabaMosBrandCoproductGroupUserCountAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaMosBrandCoproductGroupUserCountAPIRequest) SetBrandCoProductGroupUserQueryParam added in v1.2.9

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

SetBrandCoProductGroupUserQueryParam is BrandCoProductGroupUserQueryParam Setter 查询条件

type AlibabaMosBrandCoproductGroupUserCountAPIResponse added in v1.2.9

type AlibabaMosBrandCoproductGroupUserCountAPIResponse struct {
	model.CommonResponse
	AlibabaMosBrandCoproductGroupUserCountAPIResponseModel
}

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

按照查询条件统计总数

type AlibabaMosBrandCoproductGroupUserCountAPIResponseModel added in v1.2.9

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.2.9

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

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

按照条件查询分页数据

func NewAlibabaMosBrandCoproductGroupUserQueryRequest added in v1.2.9

func NewAlibabaMosBrandCoproductGroupUserQueryRequest() *AlibabaMosBrandCoproductGroupUserQueryAPIRequest

NewAlibabaMosBrandCoproductGroupUserQueryRequest 初始化AlibabaMosBrandCoproductGroupUserQueryAPIRequest对象

func (AlibabaMosBrandCoproductGroupUserQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosBrandCoproductGroupUserQueryAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosBrandCoproductGroupUserQueryAPIRequest) GetBrandCoProductGroupUserQueryParam added in v1.2.9

GetBrandCoProductGroupUserQueryParam BrandCoProductGroupUserQueryParam Getter

func (AlibabaMosBrandCoproductGroupUserQueryAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaMosBrandCoproductGroupUserQueryAPIRequest) SetBrandCoProductGroupUserQueryParam added in v1.2.9

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

SetBrandCoProductGroupUserQueryParam is BrandCoProductGroupUserQueryParam Setter 查询条件

type AlibabaMosBrandCoproductGroupUserQueryAPIResponse added in v1.2.9

type AlibabaMosBrandCoproductGroupUserQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosBrandCoproductGroupUserQueryAPIResponseModel
}

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

按照条件查询分页数据

type AlibabaMosBrandCoproductGroupUserQueryAPIResponseModel added in v1.2.9

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.2.0

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

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

根据合同号查询铺位信息

func NewAlibabaMosBunkBunkinfoQuerybunkRequest

func NewAlibabaMosBunkBunkinfoQuerybunkRequest() *AlibabaMosBunkBunkinfoQuerybunkAPIRequest

NewAlibabaMosBunkBunkinfoQuerybunkRequest 初始化AlibabaMosBunkBunkinfoQuerybunkAPIRequest对象

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetContractCodes added in v1.2.0

func (r AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetContractCodes() []string

GetContractCodes ContractCodes Getter

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetStatusList added in v1.2.0

GetStatusList StatusList Getter

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetStoreNo added in v1.2.0

GetStoreNo StoreNo Getter

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetContractCodes added in v1.2.0

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

SetContractCodes is ContractCodes Setter 合同号集合

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetStatusList added in v1.2.0

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

SetStatusList is StatusList Setter 合同状态集合

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetStoreNo added in v1.2.0

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

SetStoreNo is StoreNo Setter 门店号

type AlibabaMosBunkBunkinfoQuerybunkAPIResponse

type AlibabaMosBunkBunkinfoQuerybunkAPIResponse struct {
	model.CommonResponse
	AlibabaMosBunkBunkinfoQuerybunkAPIResponseModel
}

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

根据合同号查询铺位信息

type AlibabaMosBunkBunkinfoQuerybunkAPIResponseModel added in v1.2.0

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

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.2.9

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

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

获取当前人员信息

func NewAlibabaMosCommonAuthOperatorInfoRequest added in v1.2.9

func NewAlibabaMosCommonAuthOperatorInfoRequest() *AlibabaMosCommonAuthOperatorInfoAPIRequest

NewAlibabaMosCommonAuthOperatorInfoRequest 初始化AlibabaMosCommonAuthOperatorInfoAPIRequest对象

func (AlibabaMosCommonAuthOperatorInfoAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosCommonAuthOperatorInfoAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosCommonAuthOperatorInfoAPIRequest) GetRawParams added in v1.2.9

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

func (AlibabaMosCommonAuthOperatorInfoAPIRequest) GetToken added in v1.2.9

GetToken Token Getter

func (*AlibabaMosCommonAuthOperatorInfoAPIRequest) SetToken added in v1.2.9

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

type AlibabaMosCommonAuthOperatorInfoAPIResponse added in v1.2.9

type AlibabaMosCommonAuthOperatorInfoAPIResponse struct {
	model.CommonResponse
	AlibabaMosCommonAuthOperatorInfoAPIResponseModel
}

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

获取当前人员信息

type AlibabaMosCommonAuthOperatorInfoAPIResponseModel added in v1.2.9

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.2.0

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

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

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

func NewAlibabaMosFinanceBankinfoQuerybankRequest

func NewAlibabaMosFinanceBankinfoQuerybankRequest() *AlibabaMosFinanceBankinfoQuerybankAPIRequest

NewAlibabaMosFinanceBankinfoQuerybankRequest 初始化AlibabaMosFinanceBankinfoQuerybankAPIRequest对象

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetCompanyId added in v1.2.0

GetCompanyId CompanyId Getter

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetStoreNo added in v1.2.0

GetStoreNo StoreNo Getter

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetSupplierId added in v1.2.0

GetSupplierId SupplierId Getter

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetCompanyId added in v1.2.0

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

SetCompanyId is CompanyId Setter 签约主体id

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetStoreNo added in v1.2.0

SetStoreNo is StoreNo Setter 门店号

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetSupplierId added in v1.2.0

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

SetSupplierId is SupplierId Setter 供应商id

type AlibabaMosFinanceBankinfoQuerybankAPIResponse

type AlibabaMosFinanceBankinfoQuerybankAPIResponse struct {
	model.CommonResponse
	AlibabaMosFinanceBankinfoQuerybankAPIResponseModel
}

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

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

type AlibabaMosFinanceBankinfoQuerybankAPIResponseModel added in v1.2.0

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

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 AlibabaMosHrBackgroundReportNotifyAPIRequest added in v1.2.9

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

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

背调公司背调结果通知

func NewAlibabaMosHrBackgroundReportNotifyRequest added in v1.2.9

func NewAlibabaMosHrBackgroundReportNotifyRequest() *AlibabaMosHrBackgroundReportNotifyAPIRequest

NewAlibabaMosHrBackgroundReportNotifyRequest 初始化AlibabaMosHrBackgroundReportNotifyAPIRequest对象

func (AlibabaMosHrBackgroundReportNotifyAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosHrBackgroundReportNotifyAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosHrBackgroundReportNotifyAPIRequest) GetHrBackgroundReportNotifyDto added in v1.2.9

GetHrBackgroundReportNotifyDto HrBackgroundReportNotifyDto Getter

func (AlibabaMosHrBackgroundReportNotifyAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaMosHrBackgroundReportNotifyAPIRequest) SetHrBackgroundReportNotifyDto added in v1.2.9

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

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

type AlibabaMosHrBackgroundReportNotifyAPIResponse added in v1.2.9

type AlibabaMosHrBackgroundReportNotifyAPIResponse struct {
	model.CommonResponse
	AlibabaMosHrBackgroundReportNotifyAPIResponseModel
}

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

背调公司背调结果通知

type AlibabaMosHrBackgroundReportNotifyAPIResponseModel added in v1.2.9

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.2.0

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

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

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

func NewAlibabaMosOcTradeSyncbanksaleRequest

func NewAlibabaMosOcTradeSyncbanksaleRequest() *AlibabaMosOcTradeSyncbanksaleAPIRequest

NewAlibabaMosOcTradeSyncbanksaleRequest 初始化AlibabaMosOcTradeSyncbanksaleAPIRequest对象

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetPosBankSaleInfoDto added in v1.2.0

GetPosBankSaleInfoDto PosBankSaleInfoDto Getter

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOcTradeSyncbanksaleAPIRequest) SetPosBankSaleInfoDto added in v1.2.0

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

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

type AlibabaMosOcTradeSyncbanksaleAPIResponse

type AlibabaMosOcTradeSyncbanksaleAPIResponse struct {
	model.CommonResponse
	AlibabaMosOcTradeSyncbanksaleAPIResponseModel
}

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

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

type AlibabaMosOcTradeSyncbanksaleAPIResponseModel added in v1.2.0

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

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.2.0

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

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

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

func NewAlibabaMosOnsiteTradeIsnewpayorderRequest

func NewAlibabaMosOnsiteTradeIsnewpayorderRequest() *AlibabaMosOnsiteTradeIsnewpayorderAPIRequest

NewAlibabaMosOnsiteTradeIsnewpayorderRequest 初始化AlibabaMosOnsiteTradeIsnewpayorderAPIRequest对象

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetOutTradeNo added in v1.2.0

GetOutTradeNo OutTradeNo Getter

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) SetOutTradeNo added in v1.2.0

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

SetOutTradeNo is OutTradeNo Setter 外部订单号

type AlibabaMosOnsiteTradeIsnewpayorderAPIResponse

type AlibabaMosOnsiteTradeIsnewpayorderAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeIsnewpayorderAPIResponseModel
}

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

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

type AlibabaMosOnsiteTradeIsnewpayorderAPIResponseModel added in v1.2.0

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

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.2.0

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

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

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

func NewAlibabaMosOnsiteTradeOldrefundRequest

func NewAlibabaMosOnsiteTradeOldrefundRequest() *AlibabaMosOnsiteTradeOldrefundAPIRequest

NewAlibabaMosOnsiteTradeOldrefundRequest 初始化AlibabaMosOnsiteTradeOldrefundAPIRequest对象

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetOnsiteRefundRequest added in v1.2.0

GetOnsiteRefundRequest OnsiteRefundRequest Getter

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOnsiteTradeOldrefundAPIRequest) SetOnsiteRefundRequest added in v1.2.0

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

SetOnsiteRefundRequest is OnsiteRefundRequest Setter 交易退款请求

type AlibabaMosOnsiteTradeOldrefundAPIResponse

type AlibabaMosOnsiteTradeOldrefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeOldrefundAPIResponseModel
}

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

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

type AlibabaMosOnsiteTradeOldrefundAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMosOnsiteTradePayRequest

func NewAlibabaMosOnsiteTradePayRequest() *AlibabaMosOnsiteTradePayAPIRequest

NewAlibabaMosOnsiteTradePayRequest 初始化AlibabaMosOnsiteTradePayAPIRequest对象

func (AlibabaMosOnsiteTradePayAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradePayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradePayAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradePayAPIRequest) GetOnsiteTradePayRequest added in v1.2.0

func (r AlibabaMosOnsiteTradePayAPIRequest) GetOnsiteTradePayRequest() *OnsiteTradePayRequest

GetOnsiteTradePayRequest OnsiteTradePayRequest Getter

func (AlibabaMosOnsiteTradePayAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOnsiteTradePayAPIRequest) SetOnsiteTradePayRequest added in v1.2.0

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

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

type AlibabaMosOnsiteTradePayAPIResponse

type AlibabaMosOnsiteTradePayAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradePayAPIResponseModel
}

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

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

type AlibabaMosOnsiteTradePayAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMosOnsiteTradeQueryRequest

func NewAlibabaMosOnsiteTradeQueryRequest() *AlibabaMosOnsiteTradeQueryAPIRequest

NewAlibabaMosOnsiteTradeQueryRequest 初始化AlibabaMosOnsiteTradeQueryAPIRequest对象

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetOutTradeNo added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetOutTradeNo() string

GetOutTradeNo OutTradeNo Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreIdType added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreIdType() string

GetStoreIdType StoreIdType Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetTradeNo added in v1.2.0

GetTradeNo TradeNo Getter

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetOutTradeNo added in v1.2.0

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

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

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetStoreId added in v1.2.0

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

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

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetStoreIdType added in v1.2.0

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

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

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetTradeNo added in v1.2.0

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

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

type AlibabaMosOnsiteTradeQueryAPIResponse

type AlibabaMosOnsiteTradeQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeQueryAPIResponseModel
}

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

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

type AlibabaMosOnsiteTradeQueryAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMosOnsiteTradeQueryrefundRequest

func NewAlibabaMosOnsiteTradeQueryrefundRequest() *AlibabaMosOnsiteTradeQueryrefundAPIRequest

NewAlibabaMosOnsiteTradeQueryrefundRequest 初始化AlibabaMosOnsiteTradeQueryrefundAPIRequest对象

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetOrderNo added in v1.2.0

GetOrderNo OrderNo Getter

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetOutRequestNo added in v1.2.0

GetOutRequestNo OutRequestNo Getter

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOnsiteTradeQueryrefundAPIRequest) SetOrderNo added in v1.2.0

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

func (*AlibabaMosOnsiteTradeQueryrefundAPIRequest) SetOutRequestNo added in v1.2.0

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

SetOutRequestNo is OutRequestNo Setter 退款外部流水号

type AlibabaMosOnsiteTradeQueryrefundAPIResponse

type AlibabaMosOnsiteTradeQueryrefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeQueryrefundAPIResponseModel
}

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

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

type AlibabaMosOnsiteTradeQueryrefundAPIResponseModel added in v1.2.0

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

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.2.0

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

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

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

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

func NewAlibabaMosOnsiteTradeRefundRequest

func NewAlibabaMosOnsiteTradeRefundRequest() *AlibabaMosOnsiteTradeRefundAPIRequest

NewAlibabaMosOnsiteTradeRefundRequest 初始化AlibabaMosOnsiteTradeRefundAPIRequest对象

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeRefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetOnsiteRefundRequest added in v1.2.0

func (r AlibabaMosOnsiteTradeRefundAPIRequest) GetOnsiteRefundRequest() *OnsiteRefundRequest

GetOnsiteRefundRequest OnsiteRefundRequest Getter

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosOnsiteTradeRefundAPIRequest) SetOnsiteRefundRequest added in v1.2.0

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

SetOnsiteRefundRequest is OnsiteRefundRequest Setter 交易退款请求

type AlibabaMosOnsiteTradeRefundAPIResponse

type AlibabaMosOnsiteTradeRefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeRefundAPIResponseModel
}

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

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

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

type AlibabaMosOnsiteTradeRefundAPIResponseModel added in v1.2.0

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

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.2.0

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

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

故障报警

func NewAlibabaMosPosAlarmRequest

func NewAlibabaMosPosAlarmRequest() *AlibabaMosPosAlarmAPIRequest

NewAlibabaMosPosAlarmRequest 初始化AlibabaMosPosAlarmAPIRequest对象

func (AlibabaMosPosAlarmAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosPosAlarmAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosPosAlarmAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosPosAlarmAPIRequest) GetParam0 added in v1.2.0

func (r AlibabaMosPosAlarmAPIRequest) GetParam0() *PosLogDto

GetParam0 Param0 Getter

func (AlibabaMosPosAlarmAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMosPosAlarmAPIRequest) GetRawParams() model.Params

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

func (*AlibabaMosPosAlarmAPIRequest) SetParam0 added in v1.2.0

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

SetParam0 is Param0 Setter 参数

type AlibabaMosPosAlarmAPIResponse

type AlibabaMosPosAlarmAPIResponse struct {
	model.CommonResponse
	AlibabaMosPosAlarmAPIResponseModel
}

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

故障报警

type AlibabaMosPosAlarmAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaMosStoreGetcloudshelfversionRequest

func NewAlibabaMosStoreGetcloudshelfversionRequest() *AlibabaMosStoreGetcloudshelfversionAPIRequest

NewAlibabaMosStoreGetcloudshelfversionRequest 初始化AlibabaMosStoreGetcloudshelfversionAPIRequest对象

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetScreenNo added in v1.2.0

GetScreenNo ScreenNo Getter

func (*AlibabaMosStoreGetcloudshelfversionAPIRequest) SetScreenNo added in v1.2.0

SetScreenNo is ScreenNo Setter 屏编号

type AlibabaMosStoreGetcloudshelfversionAPIResponse

type AlibabaMosStoreGetcloudshelfversionAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetcloudshelfversionAPIResponseModel
}

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

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

type AlibabaMosStoreGetcloudshelfversionAPIResponseModel added in v1.2.0

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

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.2.0

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

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

获取默认状态下商品列表

func NewAlibabaMosStoreGetdefautitemsRequest

func NewAlibabaMosStoreGetdefautitemsRequest() *AlibabaMosStoreGetdefautitemsAPIRequest

NewAlibabaMosStoreGetdefautitemsRequest 初始化AlibabaMosStoreGetdefautitemsAPIRequest对象

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosStoreGetdefautitemsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetLimitCount added in v1.2.0

GetLimitCount LimitCount Getter

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetScreenNo added in v1.2.0

GetScreenNo ScreenNo Getter

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetLimitCount added in v1.2.0

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

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

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetScreenNo added in v1.2.0

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

SetScreenNo is ScreenNo Setter 屏编号

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 分页查询开始index

type AlibabaMosStoreGetdefautitemsAPIResponse

type AlibabaMosStoreGetdefautitemsAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetdefautitemsAPIResponseModel
}

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

获取默认状态下商品列表

type AlibabaMosStoreGetdefautitemsAPIResponseModel added in v1.2.0

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

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.2.0

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

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

根据屏编号获取专柜集

func NewAlibabaMosStoreGetstorelistRequest

func NewAlibabaMosStoreGetstorelistRequest() *AlibabaMosStoreGetstorelistAPIRequest

NewAlibabaMosStoreGetstorelistRequest 初始化AlibabaMosStoreGetstorelistAPIRequest对象

func (AlibabaMosStoreGetstorelistAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosStoreGetstorelistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetstorelistAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetstorelistAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosStoreGetstorelistAPIRequest) GetScreenNo added in v1.2.0

GetScreenNo ScreenNo Getter

func (*AlibabaMosStoreGetstorelistAPIRequest) SetScreenNo added in v1.2.0

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

SetScreenNo is ScreenNo Setter 屏编号

type AlibabaMosStoreGetstorelistAPIResponse

type AlibabaMosStoreGetstorelistAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetstorelistAPIResponseModel
}

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

根据屏编号获取专柜集

type AlibabaMosStoreGetstorelistAPIResponseModel added in v1.2.0

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

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.2.0

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

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

记录云屏埋点数据

func NewAlibabaMosStoreRecordscreenpointinfoRequest

func NewAlibabaMosStoreRecordscreenpointinfoRequest() *AlibabaMosStoreRecordscreenpointinfoAPIRequest

NewAlibabaMosStoreRecordscreenpointinfoRequest 初始化AlibabaMosStoreRecordscreenpointinfoAPIRequest对象

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetScreenPointInfo added in v1.2.0

GetScreenPointInfo ScreenPointInfo Getter

func (*AlibabaMosStoreRecordscreenpointinfoAPIRequest) SetScreenPointInfo added in v1.2.0

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

SetScreenPointInfo is ScreenPointInfo Setter 云屏埋点信息

type AlibabaMosStoreRecordscreenpointinfoAPIResponse

type AlibabaMosStoreRecordscreenpointinfoAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreRecordscreenpointinfoAPIResponseModel
}

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

记录云屏埋点数据

type AlibabaMosStoreRecordscreenpointinfoAPIResponseModel added in v1.2.0

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

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.2.0

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

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

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

func NewAlibabaMosSupplierBasisGetsupplierinfoRequest

func NewAlibabaMosSupplierBasisGetsupplierinfoRequest() *AlibabaMosSupplierBasisGetsupplierinfoAPIRequest

NewAlibabaMosSupplierBasisGetsupplierinfoRequest 初始化AlibabaMosSupplierBasisGetsupplierinfoAPIRequest对象

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetSupplierId added in v1.2.0

GetSupplierId SupplierId Getter

func (*AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) SetSupplierId added in v1.2.0

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

SetSupplierId is SupplierId Setter 供应商id

type AlibabaMosSupplierBasisGetsupplierinfoAPIResponse

type AlibabaMosSupplierBasisGetsupplierinfoAPIResponse struct {
	model.CommonResponse
	AlibabaMosSupplierBasisGetsupplierinfoAPIResponseModel
}

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

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

type AlibabaMosSupplierBasisGetsupplierinfoAPIResponseModel added in v1.2.0

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.2.5

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

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

银泰TMC发送短信

func NewAlibabaMosTmcSmsSendRequest added in v1.2.5

func NewAlibabaMosTmcSmsSendRequest() *AlibabaMosTmcSmsSendAPIRequest

NewAlibabaMosTmcSmsSendRequest 初始化AlibabaMosTmcSmsSendAPIRequest对象

func (AlibabaMosTmcSmsSendAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaMosTmcSmsSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosTmcSmsSendAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosTmcSmsSendAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (AlibabaMosTmcSmsSendAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMosTmcSmsSendAPIRequest) GetRawParams() model.Params

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

func (*AlibabaMosTmcSmsSendAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 入参

type AlibabaMosTmcSmsSendAPIResponse added in v1.2.5

type AlibabaMosTmcSmsSendAPIResponse struct {
	model.CommonResponse
	AlibabaMosTmcSmsSendAPIResponseModel
}

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

银泰TMC发送短信

type AlibabaMosTmcSmsSendAPIResponseModel added in v1.2.5

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 AlibabaMosflowWorkQueryvariablesAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosflowWorkQueryvariablesRequest

func NewAlibabaMosflowWorkQueryvariablesRequest() *AlibabaMosflowWorkQueryvariablesAPIRequest

NewAlibabaMosflowWorkQueryvariablesRequest 初始化AlibabaMosflowWorkQueryvariablesAPIRequest对象

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetProcessInstanceId added in v1.2.0

func (r AlibabaMosflowWorkQueryvariablesAPIRequest) GetProcessInstanceId() string

GetProcessInstanceId ProcessInstanceId Getter

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMosflowWorkQueryvariablesAPIRequest) SetProcessInstanceId added in v1.2.0

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

SetProcessInstanceId is ProcessInstanceId Setter 流程实例ID

type AlibabaMosflowWorkQueryvariablesAPIResponse

type AlibabaMosflowWorkQueryvariablesAPIResponse struct {
	model.CommonResponse
	AlibabaMosflowWorkQueryvariablesAPIResponseModel
}

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

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

type AlibabaMosflowWorkQueryvariablesAPIResponseModel added in v1.2.0

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.2.0

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

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

业务发起流程审批

func NewAlibabaMosflowWorkStartprocessRequest

func NewAlibabaMosflowWorkStartprocessRequest() *AlibabaMosflowWorkStartprocessAPIRequest

NewAlibabaMosflowWorkStartprocessRequest 初始化AlibabaMosflowWorkStartprocessAPIRequest对象

func (AlibabaMosflowWorkStartprocessAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosflowWorkStartprocessAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosflowWorkStartprocessAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosflowWorkStartprocessAPIRequest) GetParameterEntity added in v1.2.0

GetParameterEntity ParameterEntity Getter

func (AlibabaMosflowWorkStartprocessAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosflowWorkStartprocessAPIRequest) GetVariables added in v1.2.0

GetVariables Variables Getter

func (*AlibabaMosflowWorkStartprocessAPIRequest) SetParameterEntity added in v1.2.0

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

SetParameterEntity is ParameterEntity Setter 流程必传参数

func (*AlibabaMosflowWorkStartprocessAPIRequest) SetVariables added in v1.2.0

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

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

type AlibabaMosflowWorkStartprocessAPIResponse

type AlibabaMosflowWorkStartprocessAPIResponse struct {
	model.CommonResponse
	AlibabaMosflowWorkStartprocessAPIResponseModel
}

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

业务发起流程审批

type AlibabaMosflowWorkStartprocessAPIResponseModel added in v1.2.0

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 BigDecimal added in v1.2.5

type BigDecimal struct {
}

BigDecimal 结构体

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 *BigDecimal `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 *BigDecimal `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