mos

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

喵街API model

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

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
}

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

用于绑定喵街数字化会员

func NewAlibabaMjMemberBindmemberRequest

func NewAlibabaMjMemberBindmemberRequest() *AlibabaMjMemberBindmemberAPIRequest

初始化AlibabaMjMemberBindmemberAPIRequest对象

func (AlibabaMjMemberBindmemberAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMemberBindmemberAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjMemberBindmemberAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMemberBindmemberAPIRequest) GetChannel added in v1.2.0

Channel Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetMallId added in v1.2.0

MallId Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetOpenId added in v1.2.0

OpenId Getter

func (AlibabaMjMemberBindmemberAPIRequest) GetUserId added in v1.2.0

UserId Getter

func (*AlibabaMjMemberBindmemberAPIRequest) SetChannel added in v1.2.0

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

Channel Setter 渠道

func (*AlibabaMjMemberBindmemberAPIRequest) SetMallId added in v1.2.0

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

MallId Setter 商城Id

func (*AlibabaMjMemberBindmemberAPIRequest) SetOpenId added in v1.2.0

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

OpenId Setter open_id

func (*AlibabaMjMemberBindmemberAPIRequest) SetUserId added in v1.2.0

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

UserId Setter 用户号

type AlibabaMjMemberBindmemberAPIResponse

type AlibabaMjMemberBindmemberAPIResponse struct {
	model.CommonResponse
	AlibabaMjMemberBindmemberAPIResponseModel
}

绑定会员 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"`
}

绑定会员 成功返回结果

type AlibabaMjMemberHasbindAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjMemberHasbindRequest

func NewAlibabaMjMemberHasbindRequest() *AlibabaMjMemberHasbindAPIRequest

初始化AlibabaMjMemberHasbindAPIRequest对象

func (AlibabaMjMemberHasbindAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMemberHasbindAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjMemberHasbindAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMjMemberHasbindAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaMjMemberHasbindAPIRequest) GetOpenId added in v1.2.0

OpenId Getter

func (AlibabaMjMemberHasbindAPIRequest) GetUserId added in v1.2.0

UserId Getter

func (*AlibabaMjMemberHasbindAPIRequest) SetOpenId added in v1.2.0

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

OpenId Setter open_id

func (*AlibabaMjMemberHasbindAPIRequest) SetUserId added in v1.2.0

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

UserId Setter user_id

type AlibabaMjMemberHasbindAPIResponse

type AlibabaMjMemberHasbindAPIResponse struct {
	model.CommonResponse
	AlibabaMjMemberHasbindAPIResponseModel
}

喵街会员是否绑定 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"`
}

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

type AlibabaMjMosFundCancelbillAPIRequest added in v1.2.0

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

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

取消付款单

func NewAlibabaMjMosFundCancelbillRequest

func NewAlibabaMjMosFundCancelbillRequest() *AlibabaMjMosFundCancelbillAPIRequest

初始化AlibabaMjMosFundCancelbillAPIRequest对象

func (AlibabaMjMosFundCancelbillAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMosFundCancelbillAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundCancelbillAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundCancelbillAPIRequest) GetCancelBillDTO added in v1.2.0

CancelBillDTO Getter

func (*AlibabaMjMosFundCancelbillAPIRequest) SetCancelBillDTO added in v1.2.0

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

CancelBillDTO Setter 取消入参

type AlibabaMjMosFundCancelbillAPIResponse

type AlibabaMjMosFundCancelbillAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundCancelbillAPIResponseModel
}

取消付款单 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"`
}

取消付款单 成功返回结果

type AlibabaMjMosFundCreatebillAPIRequest added in v1.2.0

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

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

创建一个付款单

func NewAlibabaMjMosFundCreatebillRequest

func NewAlibabaMjMosFundCreatebillRequest() *AlibabaMjMosFundCreatebillAPIRequest

初始化AlibabaMjMosFundCreatebillAPIRequest对象

func (AlibabaMjMosFundCreatebillAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjMosFundCreatebillAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundCreatebillAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundCreatebillAPIRequest) GetBillDto added in v1.2.0

BillDto Getter

func (*AlibabaMjMosFundCreatebillAPIRequest) SetBillDto added in v1.2.0

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

BillDto Setter 创建付款单入参

type AlibabaMjMosFundCreatebillAPIResponse

type AlibabaMjMosFundCreatebillAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundCreatebillAPIResponseModel
}

创建一个付款单 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"`
}

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

type AlibabaMjMosFundModifybillbankaccountAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjMosFundModifybillbankaccountRequest

func NewAlibabaMjMosFundModifybillbankaccountRequest() *AlibabaMjMosFundModifybillbankaccountAPIRequest

初始化AlibabaMjMosFundModifybillbankaccountAPIRequest对象

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMosFundModifybillbankaccountAPIRequest) GetModifyDto added in v1.2.0

ModifyDto Getter

func (*AlibabaMjMosFundModifybillbankaccountAPIRequest) SetModifyDto added in v1.2.0

ModifyDto Setter 修改入参

type AlibabaMjMosFundModifybillbankaccountAPIResponse

type AlibabaMjMosFundModifybillbankaccountAPIResponse struct {
	model.CommonResponse
	AlibabaMjMosFundModifybillbankaccountAPIResponseModel
}

修改付款单的银行账户信息 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"`
}

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

type AlibabaMjMoscarnivalReceivecouponAPIRequest added in v1.2.0

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

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

根据手机号码领券

func NewAlibabaMjMoscarnivalReceivecouponRequest

func NewAlibabaMjMoscarnivalReceivecouponRequest() *AlibabaMjMoscarnivalReceivecouponAPIRequest

初始化AlibabaMjMoscarnivalReceivecouponAPIRequest对象

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetActivityId added in v1.2.0

ActivityId Getter

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMoscarnivalReceivecouponAPIRequest) GetMobile added in v1.2.0

Mobile Getter

func (*AlibabaMjMoscarnivalReceivecouponAPIRequest) SetActivityId added in v1.2.0

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

ActivityId Setter 活动id

func (*AlibabaMjMoscarnivalReceivecouponAPIRequest) SetMobile added in v1.2.0

Mobile Setter 手机号码

type AlibabaMjMoscarnivalReceivecouponAPIResponse

type AlibabaMjMoscarnivalReceivecouponAPIResponse struct {
	model.CommonResponse
	AlibabaMjMoscarnivalReceivecouponAPIResponseModel
}

根据手机号码领券 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"`
}

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

type AlibabaMjMoscarnivalReceivecouponResultDo

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

AlibabaMjMoscarnivalReceivecouponResultDo

type AlibabaMjMoscarnivalReceiveencryptAPIRequest added in v1.2.0

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

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

根据加密手机号领券

func NewAlibabaMjMoscarnivalReceiveencryptRequest

func NewAlibabaMjMoscarnivalReceiveencryptRequest() *AlibabaMjMoscarnivalReceiveencryptAPIRequest

初始化AlibabaMjMoscarnivalReceiveencryptAPIRequest对象

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetActivityId added in v1.2.0

ActivityId Getter

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjMoscarnivalReceiveencryptAPIRequest) GetMobile added in v1.2.0

Mobile Getter

func (*AlibabaMjMoscarnivalReceiveencryptAPIRequest) SetActivityId added in v1.2.0

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

ActivityId Setter 活动id

func (*AlibabaMjMoscarnivalReceiveencryptAPIRequest) SetMobile added in v1.2.0

Mobile Setter 加密手机号码

type AlibabaMjMoscarnivalReceiveencryptAPIResponse

type AlibabaMjMoscarnivalReceiveencryptAPIResponse struct {
	model.CommonResponse
	AlibabaMjMoscarnivalReceiveencryptAPIResponseModel
}

根据加密手机号领券 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"`
}

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

type AlibabaMjMoscarnivalReceiveencryptData

type AlibabaMjMoscarnivalReceiveencryptData struct {
	// 权益列表
	RightsList []RightsList `json:"rights_list,omitempty" xml:"rights_list>rights_list,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 奖品类型
	PrizeType int64 `json:"prize_type,omitempty" xml:"prize_type,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"`
	// 总行数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 券结果
	Data *AlibabaMjMoscarnivalReceiveencryptData `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

AlibabaMjMoscarnivalReceiveencryptResultDo

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest added in v1.2.0

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

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

大pos银行卡调账申请

func NewAlibabaMjOcBigposBanksaleAdjustmentApplyRequest

func NewAlibabaMjOcBigposBanksaleAdjustmentApplyRequest() *AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest

初始化AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest对象

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetAmount added in v1.2.0

Amount Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetCardNo added in v1.2.0

CardNo Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetOperTime added in v1.2.0

OperTime Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetOperator added in v1.2.0

Operator Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetPosNo added in v1.2.0

PosNo Getter

func (AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetAmount added in v1.2.0

Amount Setter 调账金额

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetCardNo added in v1.2.0

CardNo Setter 卡号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetOperTime added in v1.2.0

OperTime Setter 交易时间

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetOperator added in v1.2.0

Operator Setter 收银员号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetPosNo added in v1.2.0

PosNo Setter 调账收银机号

func (*AlibabaMjOcBigposBanksaleAdjustmentApplyAPIRequest) SetStoreNo added in v1.2.0

StoreNo Setter 门店号

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponse

type AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcBigposBanksaleAdjustmentApplyAPIResponseModel
}

大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"`
}

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

type AlibabaMjOcBigposBanksaleQueryAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjOcBigposBanksaleQueryRequest

func NewAlibabaMjOcBigposBanksaleQueryRequest() *AlibabaMjOcBigposBanksaleQueryAPIRequest

初始化AlibabaMjOcBigposBanksaleQueryAPIRequest对象

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetCardNo added in v1.2.0

CardNo Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetEndTime added in v1.2.0

EndTime Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetOutStoreNo added in v1.2.0

OutStoreNo Getter

func (AlibabaMjOcBigposBanksaleQueryAPIRequest) GetStartTime added in v1.2.0

StartTime Getter

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetCardNo added in v1.2.0

CardNo Setter 卡号

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetEndTime added in v1.2.0

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

EndTime Setter 结束时间

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetOutStoreNo added in v1.2.0

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

OutStoreNo Setter 外部门店号

func (*AlibabaMjOcBigposBanksaleQueryAPIRequest) SetStartTime added in v1.2.0

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

StartTime Setter 开始时间

type AlibabaMjOcBigposBanksaleQueryAPIResponse

type AlibabaMjOcBigposBanksaleQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcBigposBanksaleQueryAPIResponseModel
}

大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"`
	// 明细数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 数据主体
	Datas []AlibabaMjOcBigposBanksaleQueryData `json:"datas,omitempty" xml:"datas>alibaba_mj_oc_bigpos_banksale_query_data,omitempty"`
}

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

type AlibabaMjOcBigposBanksaleQueryData

type AlibabaMjOcBigposBanksaleQueryData struct {
	// 行号
	RowNo int64 `json:"row_no,omitempty" xml:"row_no,omitempty"`
	// 交易时间
	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"`
	// 交易金额
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 已调账金额
	AdjustedAmount int64 `json:"adjusted_amount,omitempty" xml:"adjusted_amount,omitempty"`
	// 小票号后7位
	Fphm string `json:"fphm,omitempty" xml:"fphm,omitempty"`
}

AlibabaMjOcBigposBanksaleQueryData

type AlibabaMjOcCalldispatcherAPIRequest added in v1.2.0

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

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

定时达呼叫运力接口

func NewAlibabaMjOcCalldispatcherRequest

func NewAlibabaMjOcCalldispatcherRequest() *AlibabaMjOcCalldispatcherAPIRequest

初始化AlibabaMjOcCalldispatcherAPIRequest对象

func (AlibabaMjOcCalldispatcherAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcCalldispatcherAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcCalldispatcherAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcCalldispatcherAPIRequest) GetCallDispatcherDTO added in v1.2.0

func (r AlibabaMjOcCalldispatcherAPIRequest) GetCallDispatcherDTO() *CallDispatcherDto

CallDispatcherDTO Getter

func (*AlibabaMjOcCalldispatcherAPIRequest) SetCallDispatcherDTO added in v1.2.0

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

CallDispatcherDTO Setter 入参

type AlibabaMjOcCalldispatcherAPIResponse

type AlibabaMjOcCalldispatcherAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcCalldispatcherAPIResponseModel
}

呼叫运力 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"`
}

呼叫运力 成功返回结果

type AlibabaMjOcConfpickupgoodsAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjOcConfpickupgoodsRequest

func NewAlibabaMjOcConfpickupgoodsRequest() *AlibabaMjOcConfpickupgoodsAPIRequest

初始化AlibabaMjOcConfpickupgoodsAPIRequest对象

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcConfpickupgoodsAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcConfpickupgoodsAPIRequest) GetConfPickupGoodsRequest added in v1.2.0

func (r AlibabaMjOcConfpickupgoodsAPIRequest) GetConfPickupGoodsRequest() *ConfPickupGoodsReqDto

ConfPickupGoodsRequest Getter

func (*AlibabaMjOcConfpickupgoodsAPIRequest) SetConfPickupGoodsRequest added in v1.2.0

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

ConfPickupGoodsRequest Setter 提货核销请求参数

type AlibabaMjOcConfpickupgoodsAPIResponse

type AlibabaMjOcConfpickupgoodsAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcConfpickupgoodsAPIResponseModel
}

提货核销 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"`
}

提货核销 成功返回结果

type AlibabaMjOcGetproductbyscancodeAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjOcGetproductbyscancodeRequest

func NewAlibabaMjOcGetproductbyscancodeRequest() *AlibabaMjOcGetproductbyscancodeAPIRequest

初始化AlibabaMjOcGetproductbyscancodeAPIRequest对象

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetCode added in v1.2.0

Code Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetCodeType added in v1.2.0

CodeType Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetShopCode added in v1.2.0

ShopCode Getter

func (AlibabaMjOcGetproductbyscancodeAPIRequest) GetStoreCode added in v1.2.0

StoreCode Getter

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetCode added in v1.2.0

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

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetCodeType added in v1.2.0

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

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

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetShopCode added in v1.2.0

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

ShopCode Setter 专柜编码

func (*AlibabaMjOcGetproductbyscancodeAPIRequest) SetStoreCode added in v1.2.0

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

StoreCode Setter 门店编码

type AlibabaMjOcGetproductbyscancodeAPIResponse

type AlibabaMjOcGetproductbyscancodeAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcGetproductbyscancodeAPIResponseModel
}

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"`
}

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

type AlibabaMjOcOfflineMaxticketnoGetAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjOcOfflineMaxticketnoGetRequest

func NewAlibabaMjOcOfflineMaxticketnoGetRequest() *AlibabaMjOcOfflineMaxticketnoGetAPIRequest

初始化AlibabaMjOcOfflineMaxticketnoGetAPIRequest对象

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetDatetime added in v1.2.0

Datetime Getter

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetPosNo added in v1.2.0

PosNo Getter

func (AlibabaMjOcOfflineMaxticketnoGetAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetDatetime added in v1.2.0

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

Datetime Setter 日期

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetPosNo added in v1.2.0

PosNo Setter 收银机号

func (*AlibabaMjOcOfflineMaxticketnoGetAPIRequest) SetStoreNo added in v1.2.0

StoreNo Setter 外部门店号

type AlibabaMjOcOfflineMaxticketnoGetAPIResponse

type AlibabaMjOcOfflineMaxticketnoGetAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOfflineMaxticketnoGetAPIResponseModel
}

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"`
	// 联合收银标记
	Union bool `json:"union,omitempty" xml:"union,omitempty"`
	// 小票号
	PayNo string `json:"pay_no,omitempty" xml:"pay_no,omitempty"`
	// 外部门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
}

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

type AlibabaMjOcOnlineTicketnoGetAPIRequest added in v1.2.0

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

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

线上小票号获取

func NewAlibabaMjOcOnlineTicketnoGetRequest

func NewAlibabaMjOcOnlineTicketnoGetRequest() *AlibabaMjOcOnlineTicketnoGetAPIRequest

初始化AlibabaMjOcOnlineTicketnoGetAPIRequest对象

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcOnlineTicketnoGetAPIRequest) GetOutStoreNo added in v1.2.0

OutStoreNo Getter

func (*AlibabaMjOcOnlineTicketnoGetAPIRequest) SetOutStoreNo added in v1.2.0

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

OutStoreNo Setter 外部门店号

type AlibabaMjOcOnlineTicketnoGetAPIResponse

type AlibabaMjOcOnlineTicketnoGetAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOnlineTicketnoGetAPIResponseModel
}

线上小票号获取 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"`
}

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

type AlibabaMjOcOutboundAPIRequest added in v1.2.0

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

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

用于接收发货的数据

func NewAlibabaMjOcOutboundRequest

func NewAlibabaMjOcOutboundRequest() *AlibabaMjOcOutboundAPIRequest

初始化AlibabaMjOcOutboundAPIRequest对象

func (AlibabaMjOcOutboundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcOutboundAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcOutboundAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMjOcOutboundAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaMjOcOutboundAPIRequest) GetGoodsOutbound added in v1.2.0

func (r AlibabaMjOcOutboundAPIRequest) GetGoodsOutbound() *GoodsOutboundDto

GoodsOutbound Getter

func (*AlibabaMjOcOutboundAPIRequest) SetGoodsOutbound added in v1.2.0

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

GoodsOutbound Setter 发货信息

type AlibabaMjOcOutboundAPIResponse

type AlibabaMjOcOutboundAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcOutboundAPIResponseModel
}

零售商品发货 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"`
}

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

type AlibabaMjOcPayAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjOcPayRequest

func NewAlibabaMjOcPayRequest() *AlibabaMjOcPayAPIRequest

初始化AlibabaMjOcPayAPIRequest对象

func (AlibabaMjOcPayAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcPayAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcPayAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMjOcPayAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaMjOcPayAPIRequest) GetPosOrder added in v1.2.0

func (r AlibabaMjOcPayAPIRequest) GetPosOrder() *PosOrderDto

PosOrder Getter

func (*AlibabaMjOcPayAPIRequest) SetPosOrder added in v1.2.0

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

PosOrder Setter 订单数据

type AlibabaMjOcPayAPIResponse

type AlibabaMjOcPayAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcPayAPIResponseModel
}

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"`
	// errCode
	ExCode int64 `json:"ex_code,omitempty" xml:"ex_code,omitempty"`
	// errMsg
	ExMsg string `json:"ex_msg,omitempty" xml:"ex_msg,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// POS交易号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
}

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

type AlibabaMjOcSyncpayinfoAPIRequest added in v1.2.0

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

支付参考号回传 API请求 alibaba.mj.oc.syncpayinfo

支付参考号同步到oc

func NewAlibabaMjOcSyncpayinfoRequest

func NewAlibabaMjOcSyncpayinfoRequest() *AlibabaMjOcSyncpayinfoAPIRequest

初始化AlibabaMjOcSyncpayinfoAPIRequest对象

func (AlibabaMjOcSyncpayinfoAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcSyncpayinfoAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcSyncpayinfoAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMjOcSyncpayinfoAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaMjOcSyncpayinfoAPIRequest) GetPosPay added in v1.2.0

PosPay Getter

func (*AlibabaMjOcSyncpayinfoAPIRequest) SetPosPay added in v1.2.0

func (r *AlibabaMjOcSyncpayinfoAPIRequest) SetPosPay(_posPay *PosPayDto) error

PosPay Setter 支付参考号信息

type AlibabaMjOcSyncpayinfoAPIResponse

type AlibabaMjOcSyncpayinfoAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcSyncpayinfoAPIResponseModel
}

支付参考号回传 API返回值 alibaba.mj.oc.syncpayinfo

支付参考号同步到oc

type AlibabaMjOcSyncpayinfoAPIResponseModel added in v1.2.0

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

支付参考号回传 成功返回结果

type AlibabaMjOcSyncpayinfoResultDo

type AlibabaMjOcSyncpayinfoResultDo struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// data
	Date string `json:"date,omitempty" xml:"date,omitempty"`
}

AlibabaMjOcSyncpayinfoResultDo

type AlibabaMjOcWritesaleslipAPIRequest added in v1.2.0

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

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

开票占库

func NewAlibabaMjOcWritesaleslipRequest

func NewAlibabaMjOcWritesaleslipRequest() *AlibabaMjOcWritesaleslipAPIRequest

初始化AlibabaMjOcWritesaleslipAPIRequest对象

func (AlibabaMjOcWritesaleslipAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMjOcWritesaleslipAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMjOcWritesaleslipAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjOcWritesaleslipAPIRequest) GetPosSaleOrder added in v1.2.0

PosSaleOrder Getter

func (*AlibabaMjOcWritesaleslipAPIRequest) SetPosSaleOrder added in v1.2.0

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

PosSaleOrder Setter 开票占库入参

type AlibabaMjOcWritesaleslipAPIResponse

type AlibabaMjOcWritesaleslipAPIResponse struct {
	model.CommonResponse
	AlibabaMjOcWritesaleslipAPIResponseModel
}

开票占库 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"`
}

开票占库 成功返回结果

type AlibabaMjPresaleSettlementAddlistAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMjPresaleSettlementAddlistRequest

func NewAlibabaMjPresaleSettlementAddlistRequest() *AlibabaMjPresaleSettlementAddlistAPIRequest

初始化AlibabaMjPresaleSettlementAddlistAPIRequest对象

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjPresaleSettlementAddlistAPIRequest) GetPreSaleRefundJson added in v1.2.0

func (r AlibabaMjPresaleSettlementAddlistAPIRequest) GetPreSaleRefundJson() string

PreSaleRefundJson Getter

func (*AlibabaMjPresaleSettlementAddlistAPIRequest) SetPreSaleRefundJson added in v1.2.0

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

PreSaleRefundJson Setter 订单json格式数据

type AlibabaMjPresaleSettlementAddlistAPIResponse

type AlibabaMjPresaleSettlementAddlistAPIResponse struct {
	model.CommonResponse
	AlibabaMjPresaleSettlementAddlistAPIResponseModel
}

预售结算数据回传 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"`
}

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

type AlibabaMjPresaleSettlementStatisticsAPIRequest added in v1.2.0

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

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

预购结算数据统计

func NewAlibabaMjPresaleSettlementStatisticsRequest

func NewAlibabaMjPresaleSettlementStatisticsRequest() *AlibabaMjPresaleSettlementStatisticsAPIRequest

初始化AlibabaMjPresaleSettlementStatisticsAPIRequest对象

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetActionNo added in v1.2.0

ActionNo Getter

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMjPresaleSettlementStatisticsAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (*AlibabaMjPresaleSettlementStatisticsAPIRequest) SetActionNo added in v1.2.0

ActionNo Setter 活动期号

func (*AlibabaMjPresaleSettlementStatisticsAPIRequest) SetStoreNo added in v1.2.0

StoreNo Setter 外部门店编码

type AlibabaMjPresaleSettlementStatisticsAPIResponse

type AlibabaMjPresaleSettlementStatisticsAPIResponse struct {
	model.CommonResponse
	AlibabaMjPresaleSettlementStatisticsAPIResponseModel
}

预购结算数据统计 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"`
}

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

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

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

获取mall的离线等级 API请求 alibaba.mos.ark.health.offline.level.get

获取mall的离线等级

func NewAlibabaMosArkHealthOfflineLevelGetRequest

func NewAlibabaMosArkHealthOfflineLevelGetRequest() *AlibabaMosArkHealthOfflineLevelGetAPIRequest

初始化AlibabaMosArkHealthOfflineLevelGetAPIRequest对象

func (AlibabaMosArkHealthOfflineLevelGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosArkHealthOfflineLevelGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosArkHealthOfflineLevelGetAPIRequest) GetMallId added in v1.2.0

MallId Getter

func (*AlibabaMosArkHealthOfflineLevelGetAPIRequest) SetMallId added in v1.2.0

MallId Setter 商场id

type AlibabaMosArkHealthOfflineLevelGetAPIResponse

type AlibabaMosArkHealthOfflineLevelGetAPIResponse struct {
	model.CommonResponse
	AlibabaMosArkHealthOfflineLevelGetAPIResponseModel
}

获取mall的离线等级 API返回值 alibaba.mos.ark.health.offline.level.get

获取mall的离线等级

type AlibabaMosArkHealthOfflineLevelGetAPIResponseModel added in v1.2.0

type AlibabaMosArkHealthOfflineLevelGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_ark_health_offline_level_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// model
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
}

获取mall的离线等级 成功返回结果

type AlibabaMosBunkBunkinfoQuerybunkAPIRequest added in v1.2.0

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

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

根据合同号查询铺位信息

func NewAlibabaMosBunkBunkinfoQuerybunkRequest

func NewAlibabaMosBunkBunkinfoQuerybunkRequest() *AlibabaMosBunkBunkinfoQuerybunkAPIRequest

初始化AlibabaMosBunkBunkinfoQuerybunkAPIRequest对象

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetContractCodes added in v1.2.0

func (r AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetContractCodes() []string

ContractCodes Getter

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetStatusList added in v1.2.0

StatusList Getter

func (AlibabaMosBunkBunkinfoQuerybunkAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetContractCodes added in v1.2.0

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

ContractCodes Setter 合同号集合

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetStatusList added in v1.2.0

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

StatusList Setter 合同状态集合

func (*AlibabaMosBunkBunkinfoQuerybunkAPIRequest) SetStoreNo added in v1.2.0

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

StoreNo Setter 门店号

type AlibabaMosBunkBunkinfoQuerybunkAPIResponse

type AlibabaMosBunkBunkinfoQuerybunkAPIResponse struct {
	model.CommonResponse
	AlibabaMosBunkBunkinfoQuerybunkAPIResponseModel
}

根据合同号查询铺位信息 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"`
}

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

type AlibabaMosBunkBunkinfoQuerybunkResultDo

type AlibabaMosBunkBunkinfoQuerybunkResultDo struct {
	// 全链路追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 总量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 返回数据
	DataList []BunkSimpleDto `json:"data_list,omitempty" xml:"data_list>bunk_simple_dto,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,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"`
	// 结果标题
	Titles []string `json:"titles,omitempty" xml:"titles>string,omitempty"`
}

AlibabaMosBunkBunkinfoQuerybunkResultDo

type AlibabaMosFinanceBankinfoQuerybankAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosFinanceBankinfoQuerybankRequest

func NewAlibabaMosFinanceBankinfoQuerybankRequest() *AlibabaMosFinanceBankinfoQuerybankAPIRequest

初始化AlibabaMosFinanceBankinfoQuerybankAPIRequest对象

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetCompanyId added in v1.2.0

CompanyId Getter

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (AlibabaMosFinanceBankinfoQuerybankAPIRequest) GetSupplierId added in v1.2.0

SupplierId Getter

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetCompanyId added in v1.2.0

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

CompanyId Setter 签约主体id

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetStoreNo added in v1.2.0

StoreNo Setter 门店号

func (*AlibabaMosFinanceBankinfoQuerybankAPIRequest) SetSupplierId added in v1.2.0

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

SupplierId Setter 供应商id

type AlibabaMosFinanceBankinfoQuerybankAPIResponse

type AlibabaMosFinanceBankinfoQuerybankAPIResponse struct {
	model.CommonResponse
	AlibabaMosFinanceBankinfoQuerybankAPIResponseModel
}

供应商银行账号查询 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"`
}

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

type AlibabaMosFinanceBankinfoQuerybankResultDo

type AlibabaMosFinanceBankinfoQuerybankResultDo struct {
	// 总量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 扩展
	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"`
	// 是否成功
	Data *SupplierBankInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 成功
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 返回值
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaMosFinanceBankinfoQuerybankResultDo

type AlibabaMosOcTradeSyncbanksaleAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosOcTradeSyncbanksaleRequest

func NewAlibabaMosOcTradeSyncbanksaleRequest() *AlibabaMosOcTradeSyncbanksaleAPIRequest

初始化AlibabaMosOcTradeSyncbanksaleAPIRequest对象

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOcTradeSyncbanksaleAPIRequest) GetPosBankSaleInfoDto added in v1.2.0

PosBankSaleInfoDto Getter

func (*AlibabaMosOcTradeSyncbanksaleAPIRequest) SetPosBankSaleInfoDto added in v1.2.0

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

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

type AlibabaMosOcTradeSyncbanksaleAPIResponse

type AlibabaMosOcTradeSyncbanksaleAPIResponse struct {
	model.CommonResponse
	AlibabaMosOcTradeSyncbanksaleAPIResponseModel
}

云闪付、银行卡销售数据回传接口 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"`
}

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

type AlibabaMosOcTradeSyncbanksaleResultDo

type AlibabaMosOcTradeSyncbanksaleResultDo struct {
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

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

func NewAlibabaMosOnsiteTradeIsnewpayorderRequest

func NewAlibabaMosOnsiteTradeIsnewpayorderRequest() *AlibabaMosOnsiteTradeIsnewpayorderAPIRequest

初始化AlibabaMosOnsiteTradeIsnewpayorderAPIRequest对象

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) GetOutTradeNo added in v1.2.0

OutTradeNo Getter

func (*AlibabaMosOnsiteTradeIsnewpayorderAPIRequest) SetOutTradeNo added in v1.2.0

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

OutTradeNo Setter 外部订单号

type AlibabaMosOnsiteTradeIsnewpayorderAPIResponse

type AlibabaMosOnsiteTradeIsnewpayorderAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeIsnewpayorderAPIResponseModel
}

是否为新支付订单 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"`
}

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

type AlibabaMosOnsiteTradeIsnewpayorderResultDo

type AlibabaMosOnsiteTradeIsnewpayorderResultDo struct {
	// 是否为新支付订单。true:是,false:不是
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

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

func NewAlibabaMosOnsiteTradeOldrefundRequest

func NewAlibabaMosOnsiteTradeOldrefundRequest() *AlibabaMosOnsiteTradeOldrefundAPIRequest

初始化AlibabaMosOnsiteTradeOldrefundAPIRequest对象

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeOldrefundAPIRequest) GetOnsiteRefundRequest added in v1.2.0

OnsiteRefundRequest Getter

func (*AlibabaMosOnsiteTradeOldrefundAPIRequest) SetOnsiteRefundRequest added in v1.2.0

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

OnsiteRefundRequest Setter 交易退款请求

type AlibabaMosOnsiteTradeOldrefundAPIResponse

type AlibabaMosOnsiteTradeOldrefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeOldrefundAPIResponseModel
}

线下新退款接口(专为老退款接口调用) 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"`
}

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

type AlibabaMosOnsiteTradePayAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosOnsiteTradePayRequest

func NewAlibabaMosOnsiteTradePayRequest() *AlibabaMosOnsiteTradePayAPIRequest

初始化AlibabaMosOnsiteTradePayAPIRequest对象

func (AlibabaMosOnsiteTradePayAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradePayAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradePayAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradePayAPIRequest) GetOnsiteTradePayRequest added in v1.2.0

func (r AlibabaMosOnsiteTradePayAPIRequest) GetOnsiteTradePayRequest() *OnsiteTradePayRequest

OnsiteTradePayRequest Getter

func (*AlibabaMosOnsiteTradePayAPIRequest) SetOnsiteTradePayRequest added in v1.2.0

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

OnsiteTradePayRequest Setter 创建订单请求参数

type AlibabaMosOnsiteTradePayAPIResponse

type AlibabaMosOnsiteTradePayAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradePayAPIResponseModel
}

新商场当面付商户扫码付 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"`
}

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

type AlibabaMosOnsiteTradeQueryAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosOnsiteTradeQueryRequest

func NewAlibabaMosOnsiteTradeQueryRequest() *AlibabaMosOnsiteTradeQueryAPIRequest

初始化AlibabaMosOnsiteTradeQueryAPIRequest对象

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetOutTradeNo added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetOutTradeNo() string

OutTradeNo Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreIdType added in v1.2.0

func (r AlibabaMosOnsiteTradeQueryAPIRequest) GetStoreIdType() string

StoreIdType Getter

func (AlibabaMosOnsiteTradeQueryAPIRequest) GetTradeNo added in v1.2.0

TradeNo Getter

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetOutTradeNo added in v1.2.0

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

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

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetStoreId added in v1.2.0

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

StoreId Setter 门店号或喵街商户ID

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetStoreIdType added in v1.2.0

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

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

func (*AlibabaMosOnsiteTradeQueryAPIRequest) SetTradeNo added in v1.2.0

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

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

type AlibabaMosOnsiteTradeQueryAPIResponse

type AlibabaMosOnsiteTradeQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeQueryAPIResponseModel
}

新商场当面付交易查询 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"`
}

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

type AlibabaMosOnsiteTradeQueryrefundAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosOnsiteTradeQueryrefundRequest

func NewAlibabaMosOnsiteTradeQueryrefundRequest() *AlibabaMosOnsiteTradeQueryrefundAPIRequest

初始化AlibabaMosOnsiteTradeQueryrefundAPIRequest对象

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetOrderNo added in v1.2.0

OrderNo Getter

func (AlibabaMosOnsiteTradeQueryrefundAPIRequest) GetOutRequestNo added in v1.2.0

OutRequestNo Getter

func (*AlibabaMosOnsiteTradeQueryrefundAPIRequest) SetOrderNo added in v1.2.0

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

func (*AlibabaMosOnsiteTradeQueryrefundAPIRequest) SetOutRequestNo added in v1.2.0

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

OutRequestNo Setter 退款外部流水号

type AlibabaMosOnsiteTradeQueryrefundAPIResponse

type AlibabaMosOnsiteTradeQueryrefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeQueryrefundAPIResponseModel
}

退款查询 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"`
}

退款查询 成功返回结果

type AlibabaMosOnsiteTradeQueryrefundResultDo

type AlibabaMosOnsiteTradeQueryrefundResultDo struct {
	// data
	Data *OnsiteRefundResponse `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

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

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

func NewAlibabaMosOnsiteTradeRefundRequest

func NewAlibabaMosOnsiteTradeRefundRequest() *AlibabaMosOnsiteTradeRefundAPIRequest

初始化AlibabaMosOnsiteTradeRefundAPIRequest对象

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOnsiteTradeRefundAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOnsiteTradeRefundAPIRequest) GetOnsiteRefundRequest added in v1.2.0

func (r AlibabaMosOnsiteTradeRefundAPIRequest) GetOnsiteRefundRequest() *OnsiteRefundRequest

OnsiteRefundRequest Getter

func (*AlibabaMosOnsiteTradeRefundAPIRequest) SetOnsiteRefundRequest added in v1.2.0

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

OnsiteRefundRequest Setter 交易退款请求

type AlibabaMosOnsiteTradeRefundAPIResponse

type AlibabaMosOnsiteTradeRefundAPIResponse struct {
	model.CommonResponse
	AlibabaMosOnsiteTradeRefundAPIResponseModel
}

退款 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"`
}

退款 成功返回结果

type AlibabaMosOnsiteTradeRefundResultDo

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

AlibabaMosOnsiteTradeRefundResultDo

type AlibabaMosOrderqsMisbigposOrderQueryAPIRequest added in v1.2.0

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

大pos新选单退 API请求 alibaba.mos.orderqs.misbigpos.order.query

大pos新选单退

func NewAlibabaMosOrderqsMisbigposOrderQueryRequest

func NewAlibabaMosOrderqsMisbigposOrderQueryRequest() *AlibabaMosOrderqsMisbigposOrderQueryAPIRequest

初始化AlibabaMosOrderqsMisbigposOrderQueryAPIRequest对象

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetQueryBaseData added in v1.2.0

QueryBaseData Getter

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetQueryCouponExtern added in v1.2.0

func (r AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetQueryCouponExtern() bool

QueryCouponExtern Getter

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetReceiptNo added in v1.2.0

ReceiptNo Getter

func (AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) GetStoreNo added in v1.2.0

StoreNo Getter

func (*AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetQueryBaseData added in v1.2.0

func (r *AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetQueryBaseData(_queryBaseData bool) error

QueryBaseData Setter 基本信息获取参数

func (*AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetQueryCouponExtern added in v1.2.0

func (r *AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetQueryCouponExtern(_queryCouponExtern bool) error

QueryCouponExtern Setter 券扩展数据获取

func (*AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetReceiptNo added in v1.2.0

func (r *AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetReceiptNo(_receiptNo string) error

ReceiptNo Setter 小票号

func (*AlibabaMosOrderqsMisbigposOrderQueryAPIRequest) SetStoreNo added in v1.2.0

StoreNo Setter 外部门店号

type AlibabaMosOrderqsMisbigposOrderQueryAPIResponse

type AlibabaMosOrderqsMisbigposOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosOrderqsMisbigposOrderQueryAPIResponseModel
}

大pos新选单退 API返回值 alibaba.mos.orderqs.misbigpos.order.query

大pos新选单退

type AlibabaMosOrderqsMisbigposOrderQueryAPIResponseModel added in v1.2.0

type AlibabaMosOrderqsMisbigposOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_orderqs_misbigpos_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrsMsg string `json:"errs_msg,omitempty" xml:"errs_msg,omitempty"`
	// 错误码
	ErrsCode int64 `json:"errs_code,omitempty" xml:"errs_code,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 小票基本数据
	Sumstrs []SumStr `json:"sumstrs,omitempty" xml:"sumstrs>sum_str,omitempty"`
	// 支付方式数据
	Payments []Payment `json:"payments,omitempty" xml:"payments>payment,omitempty"`
	// 商品信息
	Goods []Goods `json:"goods,omitempty" xml:"goods>goods,omitempty"`
	// 定向礼券相关
	Coupons []Coupon `json:"coupons,omitempty" xml:"coupons>coupon,omitempty"`
	// 会员相关
	Vipinfo *Vipinfo `json:"vipinfo,omitempty" xml:"vipinfo,omitempty"`
	// 退款相关
	Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"`
	// 分摊相关
	Products []Product `json:"products,omitempty" xml:"products>product,omitempty"`
	// 券相关
	CouponExterns []Couponextern `json:"coupon_externs,omitempty" xml:"coupon_externs>couponextern,omitempty"`
	// 满返接口使用情况
	CouponServiceValid bool `json:"coupon_service_valid,omitempty" xml:"coupon_service_valid,omitempty"`
}

大pos新选单退 成功返回结果

type AlibabaMosPosAlarmAPIRequest added in v1.2.0

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

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

故障报警

func NewAlibabaMosPosAlarmRequest

func NewAlibabaMosPosAlarmRequest() *AlibabaMosPosAlarmAPIRequest

初始化AlibabaMosPosAlarmAPIRequest对象

func (AlibabaMosPosAlarmAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosPosAlarmAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosPosAlarmAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosPosAlarmAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaMosPosAlarmAPIRequest) GetParam0 added in v1.2.0

func (r AlibabaMosPosAlarmAPIRequest) GetParam0() *PosLogDto

Param0 Getter

func (*AlibabaMosPosAlarmAPIRequest) SetParam0 added in v1.2.0

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

Param0 Setter 参数

type AlibabaMosPosAlarmAPIResponse

type AlibabaMosPosAlarmAPIResponse struct {
	model.CommonResponse
	AlibabaMosPosAlarmAPIResponseModel
}

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"`
}

pos故障报警 成功返回结果

type AlibabaMosStoreGetcloudshelfversionAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosStoreGetcloudshelfversionRequest

func NewAlibabaMosStoreGetcloudshelfversionRequest() *AlibabaMosStoreGetcloudshelfversionAPIRequest

初始化AlibabaMosStoreGetcloudshelfversionAPIRequest对象

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetcloudshelfversionAPIRequest) GetScreenNo added in v1.2.0

ScreenNo Getter

func (*AlibabaMosStoreGetcloudshelfversionAPIRequest) SetScreenNo added in v1.2.0

ScreenNo Setter 屏编号

type AlibabaMosStoreGetcloudshelfversionAPIResponse

type AlibabaMosStoreGetcloudshelfversionAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetcloudshelfversionAPIResponseModel
}

获取云货架版本信息 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"`
}

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

type AlibabaMosStoreGetcloudshelfversionResultDo

type AlibabaMosStoreGetcloudshelfversionResultDo struct {
	// data
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

获取默认状态下商品列表

func NewAlibabaMosStoreGetdefautitemsRequest

func NewAlibabaMosStoreGetdefautitemsRequest() *AlibabaMosStoreGetdefautitemsAPIRequest

初始化AlibabaMosStoreGetdefautitemsAPIRequest对象

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosStoreGetdefautitemsAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetLimitCount added in v1.2.0

LimitCount Getter

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetScreenNo added in v1.2.0

ScreenNo Getter

func (AlibabaMosStoreGetdefautitemsAPIRequest) GetStart added in v1.2.0

Start Getter

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetLimitCount added in v1.2.0

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

LimitCount Setter 分页查询每页记录数

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetScreenNo added in v1.2.0

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

ScreenNo Setter 屏编号

func (*AlibabaMosStoreGetdefautitemsAPIRequest) SetStart added in v1.2.0

Start Setter 分页查询开始index

type AlibabaMosStoreGetdefautitemsAPIResponse

type AlibabaMosStoreGetdefautitemsAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetdefautitemsAPIResponseModel
}

获取默认状态下商品列表 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"`
}

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

type AlibabaMosStoreGetdefautitemsResultDo

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

AlibabaMosStoreGetdefautitemsResultDo

type AlibabaMosStoreGetstorelistAPIRequest added in v1.2.0

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

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

根据屏编号获取专柜集

func NewAlibabaMosStoreGetstorelistRequest

func NewAlibabaMosStoreGetstorelistRequest() *AlibabaMosStoreGetstorelistAPIRequest

初始化AlibabaMosStoreGetstorelistAPIRequest对象

func (AlibabaMosStoreGetstorelistAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosStoreGetstorelistAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosStoreGetstorelistAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosStoreGetstorelistAPIRequest) GetScreenNo added in v1.2.0

ScreenNo Getter

func (*AlibabaMosStoreGetstorelistAPIRequest) SetScreenNo added in v1.2.0

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

ScreenNo Setter 屏编号

type AlibabaMosStoreGetstorelistAPIResponse

type AlibabaMosStoreGetstorelistAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreGetstorelistAPIResponseModel
}

根据屏编号获取专柜集 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"`
}

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

type AlibabaMosStoreGetstorelistResultDo

type AlibabaMosStoreGetstorelistResultDo struct {
	// data
	Data *MjStoresTopVo `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

记录云屏埋点数据

func NewAlibabaMosStoreRecordscreenpointinfoRequest

func NewAlibabaMosStoreRecordscreenpointinfoRequest() *AlibabaMosStoreRecordscreenpointinfoAPIRequest

初始化AlibabaMosStoreRecordscreenpointinfoAPIRequest对象

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosStoreRecordscreenpointinfoAPIRequest) GetScreenPointInfo added in v1.2.0

ScreenPointInfo Getter

func (*AlibabaMosStoreRecordscreenpointinfoAPIRequest) SetScreenPointInfo added in v1.2.0

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

ScreenPointInfo Setter 云屏埋点信息

type AlibabaMosStoreRecordscreenpointinfoAPIResponse

type AlibabaMosStoreRecordscreenpointinfoAPIResponse struct {
	model.CommonResponse
	AlibabaMosStoreRecordscreenpointinfoAPIResponseModel
}

云屏埋点数据记录接口 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"`
}

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

type AlibabaMosStoreRecordscreenpointinfoResultDo

type AlibabaMosStoreRecordscreenpointinfoResultDo struct {
	// errCode
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,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
}

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

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

func NewAlibabaMosSupplierBasisGetsupplierinfoRequest

func NewAlibabaMosSupplierBasisGetsupplierinfoRequest() *AlibabaMosSupplierBasisGetsupplierinfoAPIRequest

初始化AlibabaMosSupplierBasisGetsupplierinfoAPIRequest对象

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) GetSupplierId added in v1.2.0

SupplierId Getter

func (*AlibabaMosSupplierBasisGetsupplierinfoAPIRequest) SetSupplierId added in v1.2.0

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

SupplierId Setter 供应商id

type AlibabaMosSupplierBasisGetsupplierinfoAPIResponse

type AlibabaMosSupplierBasisGetsupplierinfoAPIResponse struct {
	model.CommonResponse
	AlibabaMosSupplierBasisGetsupplierinfoAPIResponseModel
}

获取供应商基础信息 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"`
}

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

type AlibabaMosflowWorkQueryvariablesAPIRequest added in v1.2.0

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

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

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

func NewAlibabaMosflowWorkQueryvariablesRequest

func NewAlibabaMosflowWorkQueryvariablesRequest() *AlibabaMosflowWorkQueryvariablesAPIRequest

初始化AlibabaMosflowWorkQueryvariablesAPIRequest对象

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosflowWorkQueryvariablesAPIRequest) GetProcessInstanceId added in v1.2.0

func (r AlibabaMosflowWorkQueryvariablesAPIRequest) GetProcessInstanceId() string

ProcessInstanceId Getter

func (*AlibabaMosflowWorkQueryvariablesAPIRequest) SetProcessInstanceId added in v1.2.0

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

ProcessInstanceId Setter 流程实例ID

type AlibabaMosflowWorkQueryvariablesAPIResponse

type AlibabaMosflowWorkQueryvariablesAPIResponse struct {
	model.CommonResponse
	AlibabaMosflowWorkQueryvariablesAPIResponseModel
}

获取指定流程上下文参数 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"`
}

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

type AlibabaMosflowWorkStartprocessAPIRequest added in v1.2.0

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

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

业务发起流程审批

func NewAlibabaMosflowWorkStartprocessRequest

func NewAlibabaMosflowWorkStartprocessRequest() *AlibabaMosflowWorkStartprocessAPIRequest

初始化AlibabaMosflowWorkStartprocessAPIRequest对象

func (AlibabaMosflowWorkStartprocessAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosflowWorkStartprocessAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaMosflowWorkStartprocessAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaMosflowWorkStartprocessAPIRequest) GetParameterEntity added in v1.2.0

ParameterEntity Getter

func (AlibabaMosflowWorkStartprocessAPIRequest) GetVariables added in v1.2.0

Variables Getter

func (*AlibabaMosflowWorkStartprocessAPIRequest) SetParameterEntity added in v1.2.0

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

ParameterEntity Setter 流程必传参数

func (*AlibabaMosflowWorkStartprocessAPIRequest) SetVariables added in v1.2.0

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

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

type AlibabaMosflowWorkStartprocessAPIResponse

type AlibabaMosflowWorkStartprocessAPIResponse struct {
	model.CommonResponse
	AlibabaMosflowWorkStartprocessAPIResponseModel
}

发起流程 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"`
	// 操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 异常信息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 异常Code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

发起流程 成功返回结果

type BillSettlementDto

type BillSettlementDto struct {
	// 行号
	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"`
	// 发票列表
	InvoiceDTOList []SettleInvoiceDto `json:"invoice_d_t_o_list,omitempty" xml:"invoice_d_t_o_list>settle_invoice_dto,omitempty"`
	// 受益部门coa
	DepartmentCoa string `json:"department_coa,omitempty" xml:"department_coa,omitempty"`
	// 区域科目段
	CityCoa string `json:"city_coa,omitempty" xml:"city_coa,omitempty"`
}

BillSettlementDto

type BunkSimpleDto

type BunkSimpleDto struct {
	// 门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 铺位面积
	Acreage string `json:"acreage,omitempty" xml:"acreage,omitempty"`
	// 铺位类型
	Type int64 `json:"type,omitempty" xml:"type,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"`
}

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 {
	// parentNo
	ParentNo string `json:"parent_no,omitempty" xml:"parent_no,omitempty"`
	// respList
	RespList []CallDispatcherRespDo `json:"resp_list,omitempty" xml:"resp_list>call_dispatcher_resp_do,omitempty"`
}

CallDispatcherResponse

type CancelBillDto

type CancelBillDto struct {
	// 取消备注
	CancelComments string `json:"cancel_comments,omitempty" xml:"cancel_comments,omitempty"`
	// 结算行集合
	SettleLineNos []string `json:"settle_line_nos,omitempty" xml:"settle_line_nos>string,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 {
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// id
	GoodsId int64 `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// zi单号
	SubNo string `json:"sub_no,omitempty" xml:"sub_no,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 {
	// OC交易号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 核销码
	ShortCode string `json:"short_code,omitempty" xml:"short_code,omitempty"`
	// 操作员
	Operator string `json:"operator,omitempty" xml:"operator,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 Coupon

type Coupon struct {
	// 支付方式行号
	N0907 string `json:"n0907,omitempty" xml:"n0907,omitempty"`
	// 礼券分摊金额
	N0909 string `json:"n0909,omitempty" xml:"n0909,omitempty"`
	// 商品行号
	N0910 string `json:"n0910,omitempty" xml:"n0910,omitempty"`
	// 券号
	N0916 string `json:"n0916,omitempty" xml:"n0916,omitempty"`
	// 券渠道
	N0913 string `json:"n0913,omitempty" xml:"n0913,omitempty"`
}

Coupon

type CouponGoodApportion

type CouponGoodApportion struct {
	// 商品行号
	LineNo string `json:"line_no,omitempty" xml:"line_no,omitempty"`
	// 商品sku 如果有的话
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// 商品在该券里分摊的金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
}

CouponGoodApportion

type Couponextern

type Couponextern struct {
	// 券号
	CouponCode string `json:"coupon_code,omitempty" xml:"coupon_code,omitempty"`
	// 券名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 券金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 券状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 券商品分摊
	CouponGoodApportions []CouponGoodApportion `json:"coupon_good_apportions,omitempty" xml:"coupon_good_apportions>coupon_good_apportion,omitempty"`
}

Couponextern

type CreateBillDto

type CreateBillDto struct {
	// 结算单列表
	SettlementDTOList []BillSettlementDto `json:"settlement_d_t_o_list,omitempty" xml:"settlement_d_t_o_list>bill_settlement_dto,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"`
	// 付款期限,即审批通过后几天付款,不填时以业务模块上的配置为准
	PayTerm int64 `json:"pay_term,omitempty" xml:"pay_term,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"`
	// 附件id列表
	AttachmentIds []int64 `json:"attachment_ids,omitempty" xml:"attachment_ids>int64,omitempty"`
	// 实际需求方,代理申请时填写实际的需求方
	ReqmentApplicant string `json:"reqment_applicant,omitempty" xml:"reqment_applicant,omitempty"`
	// //付款单总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 是否自动提交审批
	AutoSumbit bool `json:"auto_sumbit,omitempty" xml:"auto_sumbit,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"`
}

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"`
	// 编码
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
	// 详细信息
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 邮编
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,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 {
	// 打款类型。必然返回。取值为alipay,代表打款类型为支付宝(打款到商户的支付宝账号)
	FundChannel string `json:"fund_channel,omitempty" xml:"fund_channel,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"`
	// 金额。单位为人民币(分)。必然返回
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

FundBill

type FundBillDo

type FundBillDo struct {
	// 金额。单位为人民币(分)。必然返回
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 业务扩展参数,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"`
}

FundBillDo

type Goods

type Goods struct {
	// 商品编码
	N0803 string `json:"n0803,omitempty" xml:"n0803,omitempty"`
	// 商品专柜
	N0804 string `json:"n0804,omitempty" xml:"n0804,omitempty"`
	// 商品单价
	N0805 string `json:"n0805,omitempty" xml:"n0805,omitempty"`
	// 商品数量
	N0806 string `json:"n0806,omitempty" xml:"n0806,omitempty"`
	// 商品折扣
	N0807 string `json:"n0807,omitempty" xml:"n0807,omitempty"`
	// 商品实销金额
	N0808 string `json:"n0808,omitempty" xml:"n0808,omitempty"`
	// 营业员号
	N0812 string `json:"n0812,omitempty" xml:"n0812,omitempty"`
	// 商品行号
	N0814 string `json:"n0814,omitempty" xml:"n0814,omitempty"`
	// pos满送金额
	N0817 string `json:"n0817,omitempty" xml:"n0817,omitempty"`
	// 后台折扣额
	N0850 string `json:"n0850,omitempty" xml:"n0850,omitempty"`
	// 前台折扣额
	N0851 string `json:"n0851,omitempty" xml:"n0851,omitempty"`
	// 会员折扣额
	N0852 string `json:"n0852,omitempty" xml:"n0852,omitempty"`
	// 满减金额
	N0856 string `json:"n0856,omitempty" xml:"n0856,omitempty"`
	// 单品商品唯一码
	Productid string `json:"productid,omitempty" xml:"productid,omitempty"`
	// 单品商品唯一码(字符串)
	Productstr string `json:"productstr,omitempty" xml:"productstr,omitempty"`
	// Sku
	Productsku string `json:"productsku,omitempty" xml:"productsku,omitempty"`
	// 订单号
	Productticket string `json:"productticket,omitempty" xml:"productticket,omitempty"`
	// 单品类别
	Producttype string `json:"producttype,omitempty" xml:"producttype,omitempty"`
	// 商品名称
	Comname string `json:"comname,omitempty" xml:"comname,omitempty"`
	// 商品店号
	Comstoreno string `json:"comstoreno,omitempty" xml:"comstoreno,omitempty"`
	// 商品开票应付金额
	N0809 string `json:"n0809,omitempty" xml:"n0809,omitempty"`
	// 满减活动id
	PromtionId string `json:"promtion_id,omitempty" xml:"promtion_id,omitempty"`
}

Goods

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 {
	// 配送员
	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"`
	// 出库明细
	OutboundDetails []OutboundDetailDto `json:"outbound_details,omitempty" xml:"outbound_details>outbound_detail_dto,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 JsonResponse

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

JsonResponse

type MjItemTopVo

type MjItemTopVo struct {
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 是否独享365会员
	ItemTag365 bool `json:"item_tag365,omitempty" xml:"item_tag365,omitempty"`
	// 活动标签
	MarketingActivityTag string `json:"marketing_activity_tag,omitempty" xml:"marketing_activity_tag,omitempty"`
	// 最小促销价
	MinPromotionPrice int64 `json:"min_promotion_price,omitempty" xml:"min_promotion_price,omitempty"`
	// 商品图片,数组中只有一个值
	Pics []string `json:"pics,omitempty" xml:"pics>string,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,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"`
}

MjItemTopVo

type MjStoreItemsTopVo

type MjStoreItemsTopVo struct {
	// 商品列表
	ItemList []MjItemTopVo `json:"item_list,omitempty" xml:"item_list>mj_item_top_vo,omitempty"`
	// 专柜id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,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"`
}

MjStoreItemsTopVo

type MjStoresTopVo

type MjStoresTopVo struct {
	// 默认选中的专柜,0为全部品牌
	StoreDefault int64 `json:"store_default,omitempty" xml:"store_default,omitempty"`
	// storeInfoList
	StoreInfoList []StoreInfo `json:"store_info_list,omitempty" xml:"store_info_list>store_info,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"`
	// 外部门店号
	OutMallId string `json:"out_mall_id,omitempty" xml:"out_mall_id,omitempty"`
}

MjStoresTopVo

type ModifyBillDto

type ModifyBillDto struct {
	// 收款方开户支行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"`
	// 结算行号list
	SettleLineNos []string `json:"settle_line_nos,omitempty" xml:"settle_line_nos>string,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 {
	// total
	ResultTotal int64 `json:"result_total,omitempty" xml:"result_total,omitempty"`
	// errMessage
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// data
	ResultDatas []string `json:"result_datas,omitempty" xml:"result_datas>string,omitempty"`
	// errCode
	ResultCode string `json:"result_code,omitempty" xml:"result_code,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"`
	// 退款金额。需要退款的金额,该金额不能大于订单金额(同一笔交易多次退款时累计退款金额不能超过订单金额),单位为分
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
	// 退款的原因说明
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,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"`
	// 喵街商户号
	MjShopId string `json:"mj_shop_id,omitempty" xml:"mj_shop_id,omitempty"`
	// appId。兼容老退款
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 订单号。可能为外部订单号,也可能为喵街订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 退款来源.1:商家退款,2:用户主动退款,3:过期退款,4:线下POS退款
	RefundSource string `json:"refund_source,omitempty" xml:"refund_source,omitempty"`
}

OnsiteRefundRequest

type OnsiteRefundResponse

type OnsiteRefundResponse struct {
	// 订单号
	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"`
	// 本次退款请求,对应的退款金额(分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,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"`
	// fundBillList
	FundBillList []FundBillDo `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill_do,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"`
}

OnsiteRefundResponse

type OnsiteTradePayRequest

type OnsiteTradePayRequest struct {
	// 商户支付流水号,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"`
	// 商品明细列表。订单包含的商品列表信息
	GoodsDetailList []GoodsDetail `json:"goods_detail_list,omitempty" xml:"goods_detail_list>goods_detail,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 {
	// 喵街交易流水号。必然返回
	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"`
	// 交易目前所处的状态。必然返回。取值:WAIT_FOR_CONFIRM,待确认,此时不能申请退款,可以撤销;WAIT_BUYER_PAY,等待消费者付款	,此时不能申请退款,可以撤销;TRADE_SUCCESS,付款成功,此时可以申请退款,可以撤销(自动申请退款);TRADE_FINISHED,交易成功,此时可以申请退款,不可以撤销;TRADE_CLOSED,交易关闭,此时不能申请退款,不能撤销
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 本次交易支付的订单金额,单位为人民币(分)。必然返回
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 消费者付款时间。在付款后才会返回,格式为 yyyy-MM-dd HH:mm:ss,时区是GMT+8
	GmtPayment string `json:"gmt_payment,omitempty" xml:"gmt_payment,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"`
	// 商户实收总额。商户在本次交易中实收的总金额。单位:分
	StoreTotalReceivedFee int64 `json:"store_total_received_fee,omitempty" xml:"store_total_received_fee,omitempty"`
	// 商户总营销成本。商户在本次交易中的营销总成本,单位为人民币(分)。
	StoreTotalMarketingFee int64 `json:"store_total_marketing_fee,omitempty" xml:"store_total_marketing_fee,omitempty"`
	// 商户的实收资金渠道明细信息列表。
	FundBillList []FundBill `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill,omitempty"`
	// 业务扩展参数,json格式
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

OnsiteTradeQueryResponse

type OutboundDetailDto added in v1.2.0

type OutboundDetailDto struct {
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,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 Payment

type Payment struct {
	// 支付方式大类
	N0703 string `json:"n0703,omitempty" xml:"n0703,omitempty"`
	// 支付方式金额
	N0704 string `json:"n0704,omitempty" xml:"n0704,omitempty"`
	// 券号,订单号等
	N0705 string `json:"n0705,omitempty" xml:"n0705,omitempty"`
	// 支付方式小类
	N0710 string `json:"n0710,omitempty" xml:"n0710,omitempty"`
	// 支付方式行号
	N0711 string `json:"n0711,omitempty" xml:"n0711,omitempty"`
	// 支付方式名称
	Fkfsname string `json:"fkfsname,omitempty" xml:"fkfsname,omitempty"`
}

Payment

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"`
	// 交易金额。单位:分
	TradeAmount int64 `json:"trade_amount,omitempty" xml:"trade_amount,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"`
	// 支付类型行号
	PayTypeNo int64 `json:"pay_type_no,omitempty" xml:"pay_type_no,omitempty"`
	// 外部门店号,类似HZ01
	StoreNo string `json:"store_no,omitempty" xml:"store_no,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"`
	// 收银员
	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"`
	// 通讯类型。001:网线,002:电话
	CommunicateType string `json:"communicate_type,omitempty" xml:"communicate_type,omitempty"`
	// 加密摘要,未脱敏号加密
	EncrypteSummary string `json:"encrypte_summary,omitempty" xml:"encrypte_summary,omitempty"`
	// 扩展字段
	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,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"`
	// 请求状态码
	HttpStatus int64 `json:"http_status,omitempty" xml:"http_status,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"`
}

PosLogDto

type PosOrderDto

type PosOrderDto struct {
	// POS交易流水号
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 退款流水号(退款时必须有)
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// OC交易流水号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
	// 会员手机号
	MemberMobilePhone string `json:"member_mobile_phone,omitempty" xml:"member_mobile_phone,omitempty"`
	// 门店号
	MallNo string `json:"mall_no,omitempty" xml:"mall_no,omitempty"`
	// 订单金额,单位分
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,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"`
	// 操作员
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 付款/退款 时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单商品列表
	SaleItems []PosSaleItemDto `json:"sale_items,omitempty" xml:"sale_items>pos_sale_item_dto,omitempty"`
	// 支付列表
	Payments []PosPaymentDto `json:"payments,omitempty" xml:"payments>pos_payment_dto,omitempty"`
	// 订单来源
	SaleChannle int64 `json:"sale_channle,omitempty" xml:"sale_channle,omitempty"`
	// 收银机号
	TerminalNo string `json:"terminal_no,omitempty" xml:"terminal_no,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"`
}

PosOrderDto

type PosOrderSaleItemDto

type PosOrderSaleItemDto struct {
	// 折扣金额
	DiscountAmount int64 `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"`
	// 扩展信息
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
	// 商品ID
	GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 开票行号
	GoodsLineNo int64 `json:"goods_line_no,omitempty" xml:"goods_line_no,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"`
	// 原始价格
	OriPrice int64 `json:"ori_price,omitempty" xml:"ori_price,omitempty"`
	// 应付金额
	PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,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"`
}

PosOrderSaleItemDto

type PosPayDto

type PosPayDto struct {
	// 订单号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
	// 第三方订单号(如支付宝)
	ThirdTradeNo string `json:"third_trade_no,omitempty" xml:"third_trade_no,omitempty"`
	// 原订单号(退货用)
	OriginalTradeNo string `json:"original_trade_no,omitempty" xml:"original_trade_no,omitempty"`
	// 原外部订单号(退货用)
	OriginalOutTradeNo string `json:"original_out_trade_no,omitempty" xml:"original_out_trade_no,omitempty"`
	// 消费者昵称
	CustomerNickname string `json:"customer_nickname,omitempty" xml:"customer_nickname,omitempty"`
	// 订单金额(支付金额)
	PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 支付渠道
	PayChannel string `json:"pay_channel,omitempty" xml:"pay_channel,omitempty"`
	// 终端类型(销售渠道)
	SaleChannel int64 `json:"sale_channel,omitempty" xml:"sale_channel,omitempty"`
	// 外部小票号(11位小票号)
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_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"`
	// 收银机号
	TerminalNo string `json:"terminal_no,omitempty" xml:"terminal_no,omitempty"`
	// 收银员
	Cashier string `json:"cashier,omitempty" xml:"cashier,omitempty"`
	// SellerID(如支付宝账号)
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// IP
	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
	// MAC
	Mac string `json:"mac,omitempty" xml:"mac,omitempty"`
	// 扩展字段(支付渠道等)
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 交易类型
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
}

PosPayDto

type PosPaymentDto

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

PosPaymentDto

type PosSaleItemDto

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

PosSaleItemDto

type PosSaleOrderDto

type PosSaleOrderDto struct {
	// 扩展信息
	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"`
	// 商品列表
	SaleItems []PosOrderSaleItemDto `json:"sale_items,omitempty" xml:"sale_items>pos_order_sale_item_dto,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"`
	// 商品行号,必须
	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"`
	// 结算码
	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"`
	// 1:支付,2:优惠
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 是否压卡
	ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"`
}

PosSplitPromotionDto

type Product

type Product struct {
	// 分摊金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 支付方式行号
	Fkfsorder string `json:"fkfsorder,omitempty" xml:"fkfsorder,omitempty"`
	// 订单号或券号(支付宝订单号)
	Orderid string `json:"orderid,omitempty" xml:"orderid,omitempty"`
	// 商品行号
	Comorder string `json:"comorder,omitempty" xml:"comorder,omitempty"`
	// 大支付方式
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 小支付方式
	Subpayment string `json:"subpayment,omitempty" xml:"subpayment,omitempty"`
}

Product

type Refund

type Refund struct {
	// 退货金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 退货数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 原小票号
	Oldseqno string `json:"oldseqno,omitempty" xml:"oldseqno,omitempty"`
	// 原小票店号
	Oldstoreno string `json:"oldstoreno,omitempty" xml:"oldstoreno,omitempty"`
	// 当前商品行对应小票的N09记录字符串
	Refundpara string `json:"refundpara,omitempty" xml:"refundpara,omitempty"`
	// 商品行号
	Comorder string `json:"comorder,omitempty" xml:"comorder,omitempty"`
}

Refund

type RefundResponse

type RefundResponse struct {
	// 喵街交易凭证号。必然返回
	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"`
	// 总退款金额。单位为人民币(分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
	// 退款资金渠道列表
	FundBillList []FundBillDo `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill_do,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"`
}

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 {
	// 券价值
	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"`
	// 券名称
	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"`
}

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 {
	// 货号
	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"`
	// 销售属性
	SalePropertys []SaleProperty `json:"sale_propertys,omitempty" xml:"sale_propertys>sale_property,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 {
	// 成功返回
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 系统错误
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统错误
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
}

SingleResult

type StoreInfo

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

StoreInfo

type SumStr

type SumStr struct {
	// 小票交易类型
	N0609 string `json:"n0609,omitempty" xml:"n0609,omitempty"`
	// 小票交易总金额
	N0606 string `json:"n0606,omitempty" xml:"n0606,omitempty"`
	// 小票总折扣
	N0607 string `json:"n0607,omitempty" xml:"n0607,omitempty"`
	// 预购小票标志
	N0610 string `json:"n0610,omitempty" xml:"n0610,omitempty"`
	// 会员卡号
	N0612 string `json:"n0612,omitempty" xml:"n0612,omitempty"`
	// 会员卡类别
	N0613 string `json:"n0613,omitempty" xml:"n0613,omitempty"`
	// 小票号
	Seqno string `json:"seqno,omitempty" xml:"seqno,omitempty"`
	// 门店号
	Storeno string `json:"storeno,omitempty" xml:"storeno,omitempty"`
}

SumStr

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"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 支行名
	BankBranchName string `json:"bank_branch_name,omitempty" xml:"bank_branch_name,omitempty"`
	// 联行号
	CnapsCode string `json:"cnaps_code,omitempty" xml:"cnaps_code,omitempty"`
	// 审核状态
	ApprovalStatus int64 `json:"approval_status,omitempty" xml:"approval_status,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"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 国家号
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 业务乐行
	BusinessType int64 `json:"business_type,omitempty" xml:"business_type,omitempty"`
	// 银行名
	BankName string `json:"bank_name,omitempty" xml:"bank_name,omitempty"`
	// 关联账号id
	RelationAccountId int64 `json:"relation_account_id,omitempty" xml:"relation_account_id,omitempty"`
	// 银行号
	BankCode string `json:"bank_code,omitempty" xml:"bank_code,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"`
	// 状态
	ApprovalStatus int64 `json:"approval_status,omitempty" xml:"approval_status,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"`
	// 变更类型:0-资质变更,1-主体变更
	ChangeType int64 `json:"change_type,omitempty" xml:"change_type,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 公司性质,0:企业,1:个人
	CompanyNature int64 `json:"company_nature,omitempty" xml:"company_nature,omitempty"`
	// 公司类型
	CompanyType string `json:"company_type,omitempty" xml:"company_type,omitempty"`
	// 结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,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
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 分页-offset
	Offset int64 `json:"offset,omitempty" xml:"offset,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"`
	// 当前页
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 页数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,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"`
	// 供应商来源, 0:招商平台,1:供应商平台,2:初始化
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 供应商状态,0:未入库,1:已入库,2:已转正
	SupplierStatus int64 `json:"supplier_status,omitempty" xml:"supplier_status,omitempty"`
}

SupplierBasisInfoDto

type Vipinfo

type Vipinfo struct {
	// 会员账号
	Integral string `json:"integral,omitempty" xml:"integral,omitempty"`
	// 会员卡号
	Cardid string `json:"cardid,omitempty" xml:"cardid,omitempty"`
	// 会员卡类别
	Hyklb string `json:"hyklb,omitempty" xml:"hyklb,omitempty"`
	// 折扣卡类别
	Zkklb string `json:"zkklb,omitempty" xml:"zkklb,omitempty"`
	// 会员手机号
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 喵街会员类别
	Alicardtype string `json:"alicardtype,omitempty" xml:"alicardtype,omitempty"`
}

Vipinfo

Source Files

Jump to

Keyboard shortcuts

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