eticket

package
v1.3.4 Latest Latest
Warning

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

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

Documentation

Overview

Package eticket 包含电子物流API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAttributes added in v1.3.4

func ReleaseAttributes(v *Attributes)

ReleaseAttributes 释放Attributes

func ReleaseCertificateDto added in v1.3.4

func ReleaseCertificateDto(v *CertificateDto)

ReleaseCertificateDto 释放CertificateDto

func ReleaseConsumeMaCallbackResp added in v1.3.4

func ReleaseConsumeMaCallbackResp(v *ConsumeMaCallbackResp)

ReleaseConsumeMaCallbackResp 释放ConsumeMaCallbackResp

func ReleaseEticketCode added in v1.3.4

func ReleaseEticketCode(v *EticketCode)

ReleaseEticketCode 释放EticketCode

func ReleaseEticketOpLog added in v1.3.4

func ReleaseEticketOpLog(v *EticketOpLog)

ReleaseEticketOpLog 释放EticketOpLog

func ReleaseEticketTask added in v1.3.4

func ReleaseEticketTask(v *EticketTask)

ReleaseEticketTask 释放EticketTask

func ReleaseIsvMa added in v1.3.4

func ReleaseIsvMa(v *IsvMa)

ReleaseIsvMa 释放IsvMa

func ReleaseQueryTbMaCallbackReq added in v1.3.4

func ReleaseQueryTbMaCallbackReq(v *QueryTbMaCallbackReq)

ReleaseQueryTbMaCallbackReq 释放QueryTbMaCallbackReq

func ReleaseQueryTbMaCallbackResp added in v1.3.4

func ReleaseQueryTbMaCallbackResp(v *QueryTbMaCallbackResp)

ReleaseQueryTbMaCallbackResp 释放QueryTbMaCallbackResp

func ReleaseReverseMaCallbackResp added in v1.3.4

func ReleaseReverseMaCallbackResp(v *ReverseMaCallbackResp)

ReleaseReverseMaCallbackResp 释放ReverseMaCallbackResp

func ReleaseSendFailCallbackResp added in v1.3.4

func ReleaseSendFailCallbackResp(v *SendFailCallbackResp)

ReleaseSendFailCallbackResp 释放SendFailCallbackResp

func ReleaseSendMaCallbackResp added in v1.3.4

func ReleaseSendMaCallbackResp(v *SendMaCallbackResp)

ReleaseSendMaCallbackResp 释放SendMaCallbackResp

func ReleaseTaobaoEticketMerchantImgUploadAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantImgUploadAPIRequest(v *TaobaoEticketMerchantImgUploadAPIRequest)

ReleaseTaobaoEticketMerchantImgUploadAPIRequest 将 TaobaoEticketMerchantImgUploadAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantImgUploadAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantImgUploadAPIResponse(v *TaobaoEticketMerchantImgUploadAPIResponse)

ReleaseTaobaoEticketMerchantImgUploadAPIResponse 将 TaobaoEticketMerchantImgUploadAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaAvailableAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaAvailableAPIRequest(v *TaobaoEticketMerchantMaAvailableAPIRequest)

ReleaseTaobaoEticketMerchantMaAvailableAPIRequest 将 TaobaoEticketMerchantMaAvailableAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaAvailableAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaAvailableAPIResponse(v *TaobaoEticketMerchantMaAvailableAPIResponse)

ReleaseTaobaoEticketMerchantMaAvailableAPIResponse 将 TaobaoEticketMerchantMaAvailableAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaConsumeAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaConsumeAPIRequest(v *TaobaoEticketMerchantMaConsumeAPIRequest)

ReleaseTaobaoEticketMerchantMaConsumeAPIRequest 将 TaobaoEticketMerchantMaConsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaConsumeAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaConsumeAPIResponse(v *TaobaoEticketMerchantMaConsumeAPIResponse)

ReleaseTaobaoEticketMerchantMaConsumeAPIResponse 将 TaobaoEticketMerchantMaConsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaDelayAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaDelayAPIRequest(v *TaobaoEticketMerchantMaDelayAPIRequest)

ReleaseTaobaoEticketMerchantMaDelayAPIRequest 将 TaobaoEticketMerchantMaDelayAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaDelayAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaDelayAPIResponse(v *TaobaoEticketMerchantMaDelayAPIResponse)

ReleaseTaobaoEticketMerchantMaDelayAPIResponse 将 TaobaoEticketMerchantMaDelayAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaFailsendAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaFailsendAPIRequest(v *TaobaoEticketMerchantMaFailsendAPIRequest)

ReleaseTaobaoEticketMerchantMaFailsendAPIRequest 将 TaobaoEticketMerchantMaFailsendAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaFailsendAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaFailsendAPIResponse(v *TaobaoEticketMerchantMaFailsendAPIResponse)

ReleaseTaobaoEticketMerchantMaFailsendAPIResponse 将 TaobaoEticketMerchantMaFailsendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaResendAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaResendAPIRequest(v *TaobaoEticketMerchantMaResendAPIRequest)

ReleaseTaobaoEticketMerchantMaResendAPIRequest 将 TaobaoEticketMerchantMaResendAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaResendAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaResendAPIResponse(v *TaobaoEticketMerchantMaResendAPIResponse)

ReleaseTaobaoEticketMerchantMaResendAPIResponse 将 TaobaoEticketMerchantMaResendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaReverseAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaReverseAPIRequest(v *TaobaoEticketMerchantMaReverseAPIRequest)

ReleaseTaobaoEticketMerchantMaReverseAPIRequest 将 TaobaoEticketMerchantMaReverseAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaReverseAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaReverseAPIResponse(v *TaobaoEticketMerchantMaReverseAPIResponse)

ReleaseTaobaoEticketMerchantMaReverseAPIResponse 将 TaobaoEticketMerchantMaReverseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantMaSendAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantMaSendAPIRequest(v *TaobaoEticketMerchantMaSendAPIRequest)

ReleaseTaobaoEticketMerchantMaSendAPIRequest 将 TaobaoEticketMerchantMaSendAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantMaSendAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantMaSendAPIResponse(v *TaobaoEticketMerchantMaSendAPIResponse)

ReleaseTaobaoEticketMerchantMaSendAPIResponse 将 TaobaoEticketMerchantMaSendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoEticketMerchantTbmaGetAPIRequest added in v1.3.4

func ReleaseTaobaoEticketMerchantTbmaGetAPIRequest(v *TaobaoEticketMerchantTbmaGetAPIRequest)

ReleaseTaobaoEticketMerchantTbmaGetAPIRequest 将 TaobaoEticketMerchantTbmaGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoEticketMerchantTbmaGetAPIResponse added in v1.3.4

func ReleaseTaobaoEticketMerchantTbmaGetAPIResponse(v *TaobaoEticketMerchantTbmaGetAPIResponse)

ReleaseTaobaoEticketMerchantTbmaGetAPIResponse 将 TaobaoEticketMerchantTbmaGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIRequest(v *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest)

ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIRequest 将 TaobaoVmarketEticketAuthBeforeconsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIResponse(v *TaobaoVmarketEticketAuthBeforeconsumeAPIResponse)

ReleaseTaobaoVmarketEticketAuthBeforeconsumeAPIResponse 将 TaobaoVmarketEticketAuthBeforeconsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketAuthConsumeAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketAuthConsumeAPIRequest(v *TaobaoVmarketEticketAuthConsumeAPIRequest)

ReleaseTaobaoVmarketEticketAuthConsumeAPIRequest 将 TaobaoVmarketEticketAuthConsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketAuthConsumeAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketAuthConsumeAPIResponse(v *TaobaoVmarketEticketAuthConsumeAPIResponse)

ReleaseTaobaoVmarketEticketAuthConsumeAPIResponse 将 TaobaoVmarketEticketAuthConsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketBeforeconsumeAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketBeforeconsumeAPIRequest(v *TaobaoVmarketEticketBeforeconsumeAPIRequest)

ReleaseTaobaoVmarketEticketBeforeconsumeAPIRequest 将 TaobaoVmarketEticketBeforeconsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketBeforeconsumeAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketBeforeconsumeAPIResponse(v *TaobaoVmarketEticketBeforeconsumeAPIResponse)

ReleaseTaobaoVmarketEticketBeforeconsumeAPIResponse 将 TaobaoVmarketEticketBeforeconsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketCodesGetAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketCodesGetAPIRequest(v *TaobaoVmarketEticketCodesGetAPIRequest)

ReleaseTaobaoVmarketEticketCodesGetAPIRequest 将 TaobaoVmarketEticketCodesGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketCodesGetAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketCodesGetAPIResponse(v *TaobaoVmarketEticketCodesGetAPIResponse)

ReleaseTaobaoVmarketEticketCodesGetAPIResponse 将 TaobaoVmarketEticketCodesGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketConsumeAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketConsumeAPIRequest(v *TaobaoVmarketEticketConsumeAPIRequest)

ReleaseTaobaoVmarketEticketConsumeAPIRequest 将 TaobaoVmarketEticketConsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketConsumeAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketConsumeAPIResponse(v *TaobaoVmarketEticketConsumeAPIResponse)

ReleaseTaobaoVmarketEticketConsumeAPIResponse 将 TaobaoVmarketEticketConsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketFailsendAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketFailsendAPIRequest(v *TaobaoVmarketEticketFailsendAPIRequest)

ReleaseTaobaoVmarketEticketFailsendAPIRequest 将 TaobaoVmarketEticketFailsendAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketFailsendAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketFailsendAPIResponse(v *TaobaoVmarketEticketFailsendAPIResponse)

ReleaseTaobaoVmarketEticketFailsendAPIResponse 将 TaobaoVmarketEticketFailsendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketFlowConsumeAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketFlowConsumeAPIRequest(v *TaobaoVmarketEticketFlowConsumeAPIRequest)

ReleaseTaobaoVmarketEticketFlowConsumeAPIRequest 将 TaobaoVmarketEticketFlowConsumeAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketFlowConsumeAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketFlowConsumeAPIResponse(v *TaobaoVmarketEticketFlowConsumeAPIResponse)

ReleaseTaobaoVmarketEticketFlowConsumeAPIResponse 将 TaobaoVmarketEticketFlowConsumeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketFlowResendAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketFlowResendAPIRequest(v *TaobaoVmarketEticketFlowResendAPIRequest)

ReleaseTaobaoVmarketEticketFlowResendAPIRequest 将 TaobaoVmarketEticketFlowResendAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketFlowResendAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketFlowResendAPIResponse(v *TaobaoVmarketEticketFlowResendAPIResponse)

ReleaseTaobaoVmarketEticketFlowResendAPIResponse 将 TaobaoVmarketEticketFlowResendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketManageNotifyAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketManageNotifyAPIRequest(v *TaobaoVmarketEticketManageNotifyAPIRequest)

ReleaseTaobaoVmarketEticketManageNotifyAPIRequest 将 TaobaoVmarketEticketManageNotifyAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketManageNotifyAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketManageNotifyAPIResponse(v *TaobaoVmarketEticketManageNotifyAPIResponse)

ReleaseTaobaoVmarketEticketManageNotifyAPIResponse 将 TaobaoVmarketEticketManageNotifyAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketOplogsGetAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketOplogsGetAPIRequest(v *TaobaoVmarketEticketOplogsGetAPIRequest)

ReleaseTaobaoVmarketEticketOplogsGetAPIRequest 将 TaobaoVmarketEticketOplogsGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketOplogsGetAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketOplogsGetAPIResponse(v *TaobaoVmarketEticketOplogsGetAPIResponse)

ReleaseTaobaoVmarketEticketOplogsGetAPIResponse 将 TaobaoVmarketEticketOplogsGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketQrcodeUploadAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketQrcodeUploadAPIRequest(v *TaobaoVmarketEticketQrcodeUploadAPIRequest)

ReleaseTaobaoVmarketEticketQrcodeUploadAPIRequest 将 TaobaoVmarketEticketQrcodeUploadAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketQrcodeUploadAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketQrcodeUploadAPIResponse(v *TaobaoVmarketEticketQrcodeUploadAPIResponse)

ReleaseTaobaoVmarketEticketQrcodeUploadAPIResponse 将 TaobaoVmarketEticketQrcodeUploadAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketResendAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketResendAPIRequest(v *TaobaoVmarketEticketResendAPIRequest)

ReleaseTaobaoVmarketEticketResendAPIRequest 将 TaobaoVmarketEticketResendAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketResendAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketResendAPIResponse(v *TaobaoVmarketEticketResendAPIResponse)

ReleaseTaobaoVmarketEticketResendAPIResponse 将 TaobaoVmarketEticketResendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketReverseAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketReverseAPIRequest(v *TaobaoVmarketEticketReverseAPIRequest)

ReleaseTaobaoVmarketEticketReverseAPIRequest 将 TaobaoVmarketEticketReverseAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketReverseAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketReverseAPIResponse(v *TaobaoVmarketEticketReverseAPIResponse)

ReleaseTaobaoVmarketEticketReverseAPIResponse 将 TaobaoVmarketEticketReverseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketSendAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketSendAPIRequest(v *TaobaoVmarketEticketSendAPIRequest)

ReleaseTaobaoVmarketEticketSendAPIRequest 将 TaobaoVmarketEticketSendAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketSendAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketSendAPIResponse(v *TaobaoVmarketEticketSendAPIResponse)

ReleaseTaobaoVmarketEticketSendAPIResponse 将 TaobaoVmarketEticketSendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketStoreGetAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketStoreGetAPIRequest(v *TaobaoVmarketEticketStoreGetAPIRequest)

ReleaseTaobaoVmarketEticketStoreGetAPIRequest 将 TaobaoVmarketEticketStoreGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketStoreGetAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketStoreGetAPIResponse(v *TaobaoVmarketEticketStoreGetAPIResponse)

ReleaseTaobaoVmarketEticketStoreGetAPIResponse 将 TaobaoVmarketEticketStoreGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketTasksGetAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketTasksGetAPIRequest(v *TaobaoVmarketEticketTasksGetAPIRequest)

ReleaseTaobaoVmarketEticketTasksGetAPIRequest 将 TaobaoVmarketEticketTasksGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketTasksGetAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketTasksGetAPIResponse(v *TaobaoVmarketEticketTasksGetAPIResponse)

ReleaseTaobaoVmarketEticketTasksGetAPIResponse 将 TaobaoVmarketEticketTasksGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoVmarketEticketTimeExpandAPIRequest added in v1.3.4

func ReleaseTaobaoVmarketEticketTimeExpandAPIRequest(v *TaobaoVmarketEticketTimeExpandAPIRequest)

ReleaseTaobaoVmarketEticketTimeExpandAPIRequest 将 TaobaoVmarketEticketTimeExpandAPIRequest 放入 sync.Pool

func ReleaseTaobaoVmarketEticketTimeExpandAPIResponse added in v1.3.4

func ReleaseTaobaoVmarketEticketTimeExpandAPIResponse(v *TaobaoVmarketEticketTimeExpandAPIResponse)

ReleaseTaobaoVmarketEticketTimeExpandAPIResponse 将 TaobaoVmarketEticketTimeExpandAPIResponse 保存到 sync.Pool

func ReleaseUploadImgCallbackResp added in v1.3.4

func ReleaseUploadImgCallbackResp(v *UploadImgCallbackResp)

ReleaseUploadImgCallbackResp 释放UploadImgCallbackResp

Types

type Attributes

type Attributes struct {
	// itemId
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

Attributes 结构体

func GetAttributes added in v1.3.4

func GetAttributes() *Attributes

GetAttributes() 从对象池中获取Attributes

type CertificateDto

type CertificateDto struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// endTime
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// outerId
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// qrCodeUrl
	QrCodeUrl string `json:"qr_code_url,omitempty" xml:"qr_code_url,omitempty"`
	// startTime
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// attributes
	Attributes *Attributes `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// availableNum
	AvailableNum int64 `json:"available_num,omitempty" xml:"available_num,omitempty"`
	// bizType
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// codeStatus
	CodeStatus int64 `json:"code_status,omitempty" xml:"code_status,omitempty"`
	// initialNum
	InitialNum int64 `json:"initial_num,omitempty" xml:"initial_num,omitempty"`
	// lockedNum
	LockedNum int64 `json:"locked_num,omitempty" xml:"locked_num,omitempty"`
	// usedNum
	UsedNum int64 `json:"used_num,omitempty" xml:"used_num,omitempty"`
}

CertificateDto 结构体

func GetCertificateDto added in v1.3.4

func GetCertificateDto() *CertificateDto

GetCertificateDto() 从对象池中获取CertificateDto

type ConsumeMaCallbackResp

type ConsumeMaCallbackResp struct {
	// 业务回复KV
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
}

ConsumeMaCallbackResp 结构体

func GetConsumeMaCallbackResp added in v1.3.4

func GetConsumeMaCallbackResp() *ConsumeMaCallbackResp

GetConsumeMaCallbackResp() 从对象池中获取ConsumeMaCallbackResp

type EticketCode

type EticketCode struct {
	// 电子凭证码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 二维码的图片地址
	QrcodeUrl string `json:"qrcode_url,omitempty" xml:"qrcode_url,omitempty"`
	// 可用数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 码状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

EticketCode 结构体

func GetEticketCode added in v1.3.4

func GetEticketCode() *EticketCode

GetEticketCode() 从对象池中获取EticketCode

type EticketOpLog

type EticketOpLog struct {
	// 操作流水号
	ConsumeSerialNum string `json:"consume_serial_num,omitempty" xml:"consume_serial_num,omitempty"`
	// 操作金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 操作时间
	OpTime string `json:"op_time,omitempty" xml:"op_time,omitempty"`
	// 操作员身份ID
	PosId string `json:"pos_id,omitempty" xml:"pos_id,omitempty"`
	// 手机号码后四位
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 操作数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 操作类型 1:核销 2:冲正
	OpType int64 `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

EticketOpLog 结构体

func GetEticketOpLog added in v1.3.4

func GetEticketOpLog() *EticketOpLog

GetEticketOpLog() 从对象池中获取EticketOpLog

type EticketTask

type EticketTask struct {
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

EticketTask 结构体

func GetEticketTask added in v1.3.4

func GetEticketTask() *EticketTask

GetEticketTask() 从对象池中获取EticketTask

type IsvMa

type IsvMa struct {
	// 串码码值
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 二维码图片文件名。已经申请了上传二维码的码商必填,其它码商无需关心。这个值是taobao.eticket.merchant.img.upload调用后的file_name
	QrImage string `json:"qr_image,omitempty" xml:"qr_image,omitempty"`
	// 码的可核销份数
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
}

IsvMa 结构体

func GetIsvMa added in v1.3.4

func GetIsvMa() *IsvMa

GetIsvMa() 从对象池中获取IsvMa

type QueryTbMaCallbackReq

type QueryTbMaCallbackReq struct {
	// 淘宝码值
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

QueryTbMaCallbackReq 结构体

func GetQueryTbMaCallbackReq added in v1.3.4

func GetQueryTbMaCallbackReq() *QueryTbMaCallbackReq

GetQueryTbMaCallbackReq() 从对象池中获取QueryTbMaCallbackReq

type QueryTbMaCallbackResp

type QueryTbMaCallbackResp struct {
	// certificateDTO
	Certificate *CertificateDto `json:"certificate,omitempty" xml:"certificate,omitempty"`
}

QueryTbMaCallbackResp 结构体

func GetQueryTbMaCallbackResp added in v1.3.4

func GetQueryTbMaCallbackResp() *QueryTbMaCallbackResp

GetQueryTbMaCallbackResp() 从对象池中获取QueryTbMaCallbackResp

type ReverseMaCallbackResp

type ReverseMaCallbackResp struct {
	// 业务参数KV
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
}

ReverseMaCallbackResp 结构体

func GetReverseMaCallbackResp added in v1.3.4

func GetReverseMaCallbackResp() *ReverseMaCallbackResp

GetReverseMaCallbackResp() 从对象池中获取ReverseMaCallbackResp

type SendFailCallbackResp

type SendFailCallbackResp struct {
	// 回复业务KV
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
}

SendFailCallbackResp 结构体

func GetSendFailCallbackResp added in v1.3.4

func GetSendFailCallbackResp() *SendFailCallbackResp

GetSendFailCallbackResp() 从对象池中获取SendFailCallbackResp

type SendMaCallbackResp

type SendMaCallbackResp struct {
	// 回复业务KV
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
}

SendMaCallbackResp 结构体

func GetSendMaCallbackResp added in v1.3.4

func GetSendMaCallbackResp() *SendMaCallbackResp

GetSendMaCallbackResp() 从对象池中获取SendMaCallbackResp

type TaobaoEticketMerchantImgUploadAPIRequest

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

TaobaoEticketMerchantImgUploadAPIRequest 码商上传二维码图片 API请求 taobao.eticket.merchant.img.upload

电子凭证的码商可以通过这个接口,上传二维码图片

func GetTaobaoEticketMerchantImgUploadAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantImgUploadAPIRequest() *TaobaoEticketMerchantImgUploadAPIRequest

GetTaobaoEticketMerchantImgUploadRequest 从 sync.Pool 获取 TaobaoEticketMerchantImgUploadAPIRequest

func NewTaobaoEticketMerchantImgUploadRequest

func NewTaobaoEticketMerchantImgUploadRequest() *TaobaoEticketMerchantImgUploadAPIRequest

NewTaobaoEticketMerchantImgUploadRequest 初始化TaobaoEticketMerchantImgUploadAPIRequest对象

func (TaobaoEticketMerchantImgUploadAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantImgUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantImgUploadAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantImgUploadAPIRequest) GetImgBytes

GetImgBytes ImgBytes Getter

func (TaobaoEticketMerchantImgUploadAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoEticketMerchantImgUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantImgUploadAPIRequest) SetImgBytes

func (r *TaobaoEticketMerchantImgUploadAPIRequest) SetImgBytes(_imgBytes *model.File) error

SetImgBytes is ImgBytes Setter 二维码图片

type TaobaoEticketMerchantImgUploadAPIResponse

type TaobaoEticketMerchantImgUploadAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantImgUploadAPIResponseModel
}

TaobaoEticketMerchantImgUploadAPIResponse 码商上传二维码图片 API返回值 taobao.eticket.merchant.img.upload

电子凭证的码商可以通过这个接口,上传二维码图片

func GetTaobaoEticketMerchantImgUploadAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantImgUploadAPIResponse() *TaobaoEticketMerchantImgUploadAPIResponse

GetTaobaoEticketMerchantImgUploadAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantImgUploadAPIResponse

func (*TaobaoEticketMerchantImgUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantImgUploadAPIResponseModel

type TaobaoEticketMerchantImgUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_img_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复对象
	RespBody *UploadImgCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantImgUploadAPIResponseModel is 码商上传二维码图片 成功返回结果

func (*TaobaoEticketMerchantImgUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaAvailableAPIRequest

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

TaobaoEticketMerchantMaAvailableAPIRequest 电子凭证核销前校验接口 API请求 taobao.eticket.merchant.ma.available

商家验码之前的调用接口,用来判断是否可以进行核销操作

func GetTaobaoEticketMerchantMaAvailableAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaAvailableAPIRequest() *TaobaoEticketMerchantMaAvailableAPIRequest

GetTaobaoEticketMerchantMaAvailableRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaAvailableAPIRequest

func NewTaobaoEticketMerchantMaAvailableRequest

func NewTaobaoEticketMerchantMaAvailableRequest() *TaobaoEticketMerchantMaAvailableAPIRequest

NewTaobaoEticketMerchantMaAvailableRequest 初始化TaobaoEticketMerchantMaAvailableAPIRequest对象

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetCode

GetCode Code Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetConsumeNum

GetConsumeNum ConsumeNum Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetPosId

GetPosId PosId Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetSerialNum

GetSerialNum SerialNum Getter

func (TaobaoEticketMerchantMaAvailableAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaAvailableAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetCode

SetCode is Code Setter 需要被核销的码

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetConsumeNum

func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetConsumeNum(_consumeNum int64) error

SetConsumeNum is ConsumeNum Setter 核销份数

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetOuterId

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetPosId

SetPosId is PosId Setter 机具编号

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetSerialNum

func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetSerialNum(_serialNum string) error

SetSerialNum is SerialNum Setter 核销序列号,需要保证唯一

func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetToken

SetToken is Token Setter 需要跟发码通知获取到的参数一致

type TaobaoEticketMerchantMaAvailableAPIResponse

type TaobaoEticketMerchantMaAvailableAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaAvailableAPIResponseModel
}

TaobaoEticketMerchantMaAvailableAPIResponse 电子凭证核销前校验接口 API返回值 taobao.eticket.merchant.ma.available

商家验码之前的调用接口,用来判断是否可以进行核销操作

func GetTaobaoEticketMerchantMaAvailableAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaAvailableAPIResponse() *TaobaoEticketMerchantMaAvailableAPIResponse

GetTaobaoEticketMerchantMaAvailableAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaAvailableAPIResponse

func (*TaobaoEticketMerchantMaAvailableAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaAvailableAPIResponseModel

type TaobaoEticketMerchantMaAvailableAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_available_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复结果
	RespBody *ConsumeMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaAvailableAPIResponseModel is 电子凭证核销前校验接口 成功返回结果

func (*TaobaoEticketMerchantMaAvailableAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaConsumeAPIRequest

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

TaobaoEticketMerchantMaConsumeAPIRequest 电子凭证核销接口 API请求 taobao.eticket.merchant.ma.consume

电子凭证核销接口

func GetTaobaoEticketMerchantMaConsumeAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaConsumeAPIRequest() *TaobaoEticketMerchantMaConsumeAPIRequest

GetTaobaoEticketMerchantMaConsumeRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaConsumeAPIRequest

func NewTaobaoEticketMerchantMaConsumeRequest

func NewTaobaoEticketMerchantMaConsumeRequest() *TaobaoEticketMerchantMaConsumeAPIRequest

NewTaobaoEticketMerchantMaConsumeRequest 初始化TaobaoEticketMerchantMaConsumeAPIRequest对象

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetCode

GetCode Code Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetConsumeNum

GetConsumeNum ConsumeNum Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetIsvMaList

GetIsvMaList IsvMaList Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetPosId

GetPosId PosId Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetSerialNum

GetSerialNum SerialNum Getter

func (TaobaoEticketMerchantMaConsumeAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaConsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetCode

SetCode is Code Setter 需要被核销的码

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetConsumeNum

func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error

SetConsumeNum is ConsumeNum Setter 核销份数

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetIsvMaList

func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error

SetIsvMaList is IsvMaList Setter 核销后换码的码列表

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetPosId

SetPosId is PosId Setter 机具编号

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetSerialNum

func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetSerialNum(_serialNum string) error

SetSerialNum is SerialNum Setter 核销序列号,需要保证唯一

func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetToken

SetToken is Token Setter 需要跟发码通知获取到的参数一致

type TaobaoEticketMerchantMaConsumeAPIResponse

type TaobaoEticketMerchantMaConsumeAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaConsumeAPIResponseModel
}

TaobaoEticketMerchantMaConsumeAPIResponse 电子凭证核销接口 API返回值 taobao.eticket.merchant.ma.consume

电子凭证核销接口

func GetTaobaoEticketMerchantMaConsumeAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaConsumeAPIResponse() *TaobaoEticketMerchantMaConsumeAPIResponse

GetTaobaoEticketMerchantMaConsumeAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaConsumeAPIResponse

func (*TaobaoEticketMerchantMaConsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaConsumeAPIResponseModel

type TaobaoEticketMerchantMaConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 系统自动生成
	RespBody *ConsumeMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaConsumeAPIResponseModel is 电子凭证核销接口 成功返回结果

func (*TaobaoEticketMerchantMaConsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaDelayAPIRequest

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

TaobaoEticketMerchantMaDelayAPIRequest 凭证延期 API请求 taobao.eticket.merchant.ma.delay

订单延期

func GetTaobaoEticketMerchantMaDelayAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaDelayAPIRequest() *TaobaoEticketMerchantMaDelayAPIRequest

GetTaobaoEticketMerchantMaDelayRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaDelayAPIRequest

func NewTaobaoEticketMerchantMaDelayRequest

func NewTaobaoEticketMerchantMaDelayRequest() *TaobaoEticketMerchantMaDelayAPIRequest

NewTaobaoEticketMerchantMaDelayRequest 初始化TaobaoEticketMerchantMaDelayAPIRequest对象

func (TaobaoEticketMerchantMaDelayAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantMaDelayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaDelayAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaDelayAPIRequest) GetAttributeMap

func (r TaobaoEticketMerchantMaDelayAPIRequest) GetAttributeMap() string

GetAttributeMap AttributeMap Getter

func (TaobaoEticketMerchantMaDelayAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaDelayAPIRequest) GetCode

GetCode Code Getter

func (TaobaoEticketMerchantMaDelayAPIRequest) GetEndDate

GetEndDate EndDate Getter

func (TaobaoEticketMerchantMaDelayAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaDelayAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaDelayAPIRequest) GetRequestId

GetRequestId RequestId Getter

func (*TaobaoEticketMerchantMaDelayAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetAttributeMap

func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetAttributeMap(_attributeMap string) error

SetAttributeMap is AttributeMap Setter 扩展

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetCode

SetCode is Code Setter 码

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetEndDate

func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 延期时间

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 订单号

func (*TaobaoEticketMerchantMaDelayAPIRequest) SetRequestId

func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetRequestId(_requestId string) error

SetRequestId is RequestId Setter 请求ID,调用方保证惟一

type TaobaoEticketMerchantMaDelayAPIResponse

type TaobaoEticketMerchantMaDelayAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaDelayAPIResponseModel
}

TaobaoEticketMerchantMaDelayAPIResponse 凭证延期 API返回值 taobao.eticket.merchant.ma.delay

订单延期

func GetTaobaoEticketMerchantMaDelayAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaDelayAPIResponse() *TaobaoEticketMerchantMaDelayAPIResponse

GetTaobaoEticketMerchantMaDelayAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaDelayAPIResponse

func (*TaobaoEticketMerchantMaDelayAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaDelayAPIResponseModel

type TaobaoEticketMerchantMaDelayAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_delay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误消息
	ResMsg string `json:"res_msg,omitempty" xml:"res_msg,omitempty"`
	// 错误码
	ResCode int64 `json:"res_code,omitempty" xml:"res_code,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoEticketMerchantMaDelayAPIResponseModel is 凭证延期 成功返回结果

func (*TaobaoEticketMerchantMaDelayAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaFailsendAPIRequest

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

TaobaoEticketMerchantMaFailsendAPIRequest 码商发码失败回调接口 API请求 taobao.eticket.merchant.ma.failsend

针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证

func GetTaobaoEticketMerchantMaFailsendAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaFailsendAPIRequest() *TaobaoEticketMerchantMaFailsendAPIRequest

GetTaobaoEticketMerchantMaFailsendRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaFailsendAPIRequest

func NewTaobaoEticketMerchantMaFailsendRequest

func NewTaobaoEticketMerchantMaFailsendRequest() *TaobaoEticketMerchantMaFailsendAPIRequest

NewTaobaoEticketMerchantMaFailsendRequest 初始化TaobaoEticketMerchantMaFailsendAPIRequest对象

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrCode

GetSubErrCode SubErrCode Getter

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrMsg

GetSubErrMsg SubErrMsg Getter

func (TaobaoEticketMerchantMaFailsendAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaFailsendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaFailsendAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaFailsendAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrCode

func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrCode(_subErrCode string) error

SetSubErrCode is SubErrCode Setter 错误原因码

func (*TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrMsg

func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrMsg(_subErrMsg string) error

SetSubErrMsg is SubErrMsg Setter 错误码描述

func (*TaobaoEticketMerchantMaFailsendAPIRequest) SetToken

SetToken is Token Setter 需要与发码通知获取的值一致

type TaobaoEticketMerchantMaFailsendAPIResponse

type TaobaoEticketMerchantMaFailsendAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaFailsendAPIResponseModel
}

TaobaoEticketMerchantMaFailsendAPIResponse 码商发码失败回调接口 API返回值 taobao.eticket.merchant.ma.failsend

针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证

func GetTaobaoEticketMerchantMaFailsendAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaFailsendAPIResponse() *TaobaoEticketMerchantMaFailsendAPIResponse

GetTaobaoEticketMerchantMaFailsendAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaFailsendAPIResponse

func (*TaobaoEticketMerchantMaFailsendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaFailsendAPIResponseModel

type TaobaoEticketMerchantMaFailsendAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_failsend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复参数
	RespBody *SendFailCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaFailsendAPIResponseModel is 码商发码失败回调接口 成功返回结果

func (*TaobaoEticketMerchantMaFailsendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaResendAPIRequest

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

TaobaoEticketMerchantMaResendAPIRequest 电子凭证重发回调接口 API请求 taobao.eticket.merchant.ma.resend

码商重发电子凭证回调接口

func GetTaobaoEticketMerchantMaResendAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaResendAPIRequest() *TaobaoEticketMerchantMaResendAPIRequest

GetTaobaoEticketMerchantMaResendRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaResendAPIRequest

func NewTaobaoEticketMerchantMaResendRequest

func NewTaobaoEticketMerchantMaResendRequest() *TaobaoEticketMerchantMaResendAPIRequest

NewTaobaoEticketMerchantMaResendRequest 初始化TaobaoEticketMerchantMaResendAPIRequest对象

func (TaobaoEticketMerchantMaResendAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantMaResendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaResendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaResendAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaResendAPIRequest) GetIsvMaList

GetIsvMaList IsvMaList Getter

func (TaobaoEticketMerchantMaResendAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaResendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaResendAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaResendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaResendAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaResendAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaResendAPIRequest) SetIsvMaList

func (r *TaobaoEticketMerchantMaResendAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error

SetIsvMaList is IsvMaList Setter 待重发的码列表

func (*TaobaoEticketMerchantMaResendAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaResendAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaResendAPIRequest) SetToken

SetToken is Token Setter 需要跟发码通知获取到的参数一致

type TaobaoEticketMerchantMaResendAPIResponse

type TaobaoEticketMerchantMaResendAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaResendAPIResponseModel
}

TaobaoEticketMerchantMaResendAPIResponse 电子凭证重发回调接口 API返回值 taobao.eticket.merchant.ma.resend

码商重发电子凭证回调接口

func GetTaobaoEticketMerchantMaResendAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaResendAPIResponse() *TaobaoEticketMerchantMaResendAPIResponse

GetTaobaoEticketMerchantMaResendAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaResendAPIResponse

func (*TaobaoEticketMerchantMaResendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaResendAPIResponseModel

type TaobaoEticketMerchantMaResendAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_resend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复参数
	RespBody *SendMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaResendAPIResponseModel is 电子凭证重发回调接口 成功返回结果

func (*TaobaoEticketMerchantMaResendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaReverseAPIRequest

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

TaobaoEticketMerchantMaReverseAPIRequest 电子凭证冲正接口 API请求 taobao.eticket.merchant.ma.reverse

电子凭证平台冲正接口

func GetTaobaoEticketMerchantMaReverseAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaReverseAPIRequest() *TaobaoEticketMerchantMaReverseAPIRequest

GetTaobaoEticketMerchantMaReverseRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaReverseAPIRequest

func NewTaobaoEticketMerchantMaReverseRequest

func NewTaobaoEticketMerchantMaReverseRequest() *TaobaoEticketMerchantMaReverseAPIRequest

NewTaobaoEticketMerchantMaReverseRequest 初始化TaobaoEticketMerchantMaReverseAPIRequest对象

func (TaobaoEticketMerchantMaReverseAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantMaReverseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaReverseAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaReverseAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetCode

GetCode Code Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetPosId

GetPosId PosId Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaReverseAPIRequest) GetReverseNum

GetReverseNum ReverseNum Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetSerialNum

GetSerialNum SerialNum Getter

func (TaobaoEticketMerchantMaReverseAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaReverseAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetCode

SetCode is Code Setter 码值

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetPosId

SetPosId is PosId Setter 机具编号,如果核销时有则必传

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetReverseNum

func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetReverseNum(_reverseNum int64) error

SetReverseNum is ReverseNum Setter 冲正份数,需要与核销份数一致

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetSerialNum

func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetSerialNum(_serialNum string) error

SetSerialNum is SerialNum Setter 需要冲正的核销序列号

func (*TaobaoEticketMerchantMaReverseAPIRequest) SetToken

SetToken is Token Setter 需要跟发码通知获取到的参数一致

type TaobaoEticketMerchantMaReverseAPIResponse

type TaobaoEticketMerchantMaReverseAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaReverseAPIResponseModel
}

TaobaoEticketMerchantMaReverseAPIResponse 电子凭证冲正接口 API返回值 taobao.eticket.merchant.ma.reverse

电子凭证平台冲正接口

func GetTaobaoEticketMerchantMaReverseAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaReverseAPIResponse() *TaobaoEticketMerchantMaReverseAPIResponse

GetTaobaoEticketMerchantMaReverseAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaReverseAPIResponse

func (*TaobaoEticketMerchantMaReverseAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaReverseAPIResponseModel

type TaobaoEticketMerchantMaReverseAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_reverse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复结果
	RespBody *ReverseMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaReverseAPIResponseModel is 电子凭证冲正接口 成功返回结果

func (*TaobaoEticketMerchantMaReverseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaSendAPIRequest

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

TaobaoEticketMerchantMaSendAPIRequest 码商发码成功回调接口 API请求 taobao.eticket.merchant.ma.send

码商发码成功回调接口

func GetTaobaoEticketMerchantMaSendAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantMaSendAPIRequest() *TaobaoEticketMerchantMaSendAPIRequest

GetTaobaoEticketMerchantMaSendRequest 从 sync.Pool 获取 TaobaoEticketMerchantMaSendAPIRequest

func NewTaobaoEticketMerchantMaSendRequest

func NewTaobaoEticketMerchantMaSendRequest() *TaobaoEticketMerchantMaSendAPIRequest

NewTaobaoEticketMerchantMaSendRequest 初始化TaobaoEticketMerchantMaSendAPIRequest对象

func (TaobaoEticketMerchantMaSendAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantMaSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantMaSendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantMaSendAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoEticketMerchantMaSendAPIRequest) GetIsvMaList

func (r TaobaoEticketMerchantMaSendAPIRequest) GetIsvMaList() []IsvMa

GetIsvMaList IsvMaList Getter

func (TaobaoEticketMerchantMaSendAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoEticketMerchantMaSendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoEticketMerchantMaSendAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoEticketMerchantMaSendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantMaSendAPIRequest) SetBizType

func (r *TaobaoEticketMerchantMaSendAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型

func (*TaobaoEticketMerchantMaSendAPIRequest) SetIsvMaList

func (r *TaobaoEticketMerchantMaSendAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error

SetIsvMaList is IsvMaList Setter 需要发送的码列表

func (*TaobaoEticketMerchantMaSendAPIRequest) SetOuterId

func (r *TaobaoEticketMerchantMaSendAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务id(订单号)

func (*TaobaoEticketMerchantMaSendAPIRequest) SetToken

SetToken is Token Setter 需要跟发码通知获取到的参数一致

type TaobaoEticketMerchantMaSendAPIResponse

type TaobaoEticketMerchantMaSendAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantMaSendAPIResponseModel
}

TaobaoEticketMerchantMaSendAPIResponse 码商发码成功回调接口 API返回值 taobao.eticket.merchant.ma.send

码商发码成功回调接口

func GetTaobaoEticketMerchantMaSendAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantMaSendAPIResponse() *TaobaoEticketMerchantMaSendAPIResponse

GetTaobaoEticketMerchantMaSendAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantMaSendAPIResponse

func (*TaobaoEticketMerchantMaSendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantMaSendAPIResponseModel

type TaobaoEticketMerchantMaSendAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_ma_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子结果码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 子结果信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 回复参数
	RespBody *SendMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantMaSendAPIResponseModel is 码商发码成功回调接口 成功返回结果

func (*TaobaoEticketMerchantMaSendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantTbmaGetAPIRequest

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

TaobaoEticketMerchantTbmaGetAPIRequest 码商查询淘宝码接口 API请求 taobao.eticket.merchant.tbma.get

码商查询淘宝码接口

func GetTaobaoEticketMerchantTbmaGetAPIRequest added in v1.3.4

func GetTaobaoEticketMerchantTbmaGetAPIRequest() *TaobaoEticketMerchantTbmaGetAPIRequest

GetTaobaoEticketMerchantTbmaGetRequest 从 sync.Pool 获取 TaobaoEticketMerchantTbmaGetAPIRequest

func NewTaobaoEticketMerchantTbmaGetRequest

func NewTaobaoEticketMerchantTbmaGetRequest() *TaobaoEticketMerchantTbmaGetAPIRequest

NewTaobaoEticketMerchantTbmaGetRequest 初始化TaobaoEticketMerchantTbmaGetAPIRequest对象

func (TaobaoEticketMerchantTbmaGetAPIRequest) GetApiMethodName

func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoEticketMerchantTbmaGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoEticketMerchantTbmaGetAPIRequest) GetQueryTbMaCallbackReq

func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetQueryTbMaCallbackReq() *QueryTbMaCallbackReq

GetQueryTbMaCallbackReq QueryTbMaCallbackReq Getter

func (TaobaoEticketMerchantTbmaGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoEticketMerchantTbmaGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoEticketMerchantTbmaGetAPIRequest) SetQueryTbMaCallbackReq

func (r *TaobaoEticketMerchantTbmaGetAPIRequest) SetQueryTbMaCallbackReq(_queryTbMaCallbackReq *QueryTbMaCallbackReq) error

SetQueryTbMaCallbackReq is QueryTbMaCallbackReq Setter 查询淘宝码请求

type TaobaoEticketMerchantTbmaGetAPIResponse

type TaobaoEticketMerchantTbmaGetAPIResponse struct {
	model.CommonResponse
	TaobaoEticketMerchantTbmaGetAPIResponseModel
}

TaobaoEticketMerchantTbmaGetAPIResponse 码商查询淘宝码接口 API返回值 taobao.eticket.merchant.tbma.get

码商查询淘宝码接口

func GetTaobaoEticketMerchantTbmaGetAPIResponse added in v1.3.4

func GetTaobaoEticketMerchantTbmaGetAPIResponse() *TaobaoEticketMerchantTbmaGetAPIResponse

GetTaobaoEticketMerchantTbmaGetAPIResponse 从 sync.Pool 获取 TaobaoEticketMerchantTbmaGetAPIResponse

func (*TaobaoEticketMerchantTbmaGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoEticketMerchantTbmaGetAPIResponseModel

type TaobaoEticketMerchantTbmaGetAPIResponseModel struct {
	XMLName xml.Name `xml:"eticket_merchant_tbma_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// subCode
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// subMsg
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// respBody
	RespBody *QueryTbMaCallbackResp `json:"resp_body,omitempty" xml:"resp_body,omitempty"`
}

TaobaoEticketMerchantTbmaGetAPIResponseModel is 码商查询淘宝码接口 成功返回结果

func (*TaobaoEticketMerchantTbmaGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketAuthBeforeconsumeAPIRequest

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

TaobaoVmarketEticketAuthBeforeconsumeAPIRequest 核销放行的查询接口 API请求 taobao.vmarket.eticket.auth.beforeconsume

针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销查询接口

func GetTaobaoVmarketEticketAuthBeforeconsumeAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketAuthBeforeconsumeAPIRequest() *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest

GetTaobaoVmarketEticketAuthBeforeconsumeRequest 从 sync.Pool 获取 TaobaoVmarketEticketAuthBeforeconsumeAPIRequest

func NewTaobaoVmarketEticketAuthBeforeconsumeRequest

func NewTaobaoVmarketEticketAuthBeforeconsumeRequest() *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest

NewTaobaoVmarketEticketAuthBeforeconsumeRequest 初始化TaobaoVmarketEticketAuthBeforeconsumeAPIRequest对象

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetOperatorid

GetOperatorid Operatorid Getter

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetStoreid

GetStoreid Storeid Getter

func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetVerifyCode

GetVerifyCode VerifyCode Getter

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetOperatorid

func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetOperatorid(_operatorid string) error

SetOperatorid is Operatorid Setter 核销方的ID,如果是普通码商必须传入机具ID,如果是私有码商家(即原有的信任商家)可默认传入私有码商ID

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetStoreid

SetStoreid is Storeid Setter 网点ID,网点授权核销时,必须传入;其他核销方式可不传

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetVerifyCode

func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetVerifyCode(_verifyCode string) error

SetVerifyCode is VerifyCode Setter 核销的码,只支持单个码,多个码核销需要多次调用

type TaobaoVmarketEticketAuthBeforeconsumeAPIResponse

type TaobaoVmarketEticketAuthBeforeconsumeAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel
}

TaobaoVmarketEticketAuthBeforeconsumeAPIResponse 核销放行的查询接口 API返回值 taobao.vmarket.eticket.auth.beforeconsume

针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销查询接口

func GetTaobaoVmarketEticketAuthBeforeconsumeAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketAuthBeforeconsumeAPIResponse() *TaobaoVmarketEticketAuthBeforeconsumeAPIResponse

GetTaobaoVmarketEticketAuthBeforeconsumeAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketAuthBeforeconsumeAPIResponse

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel

type TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_auth_beforeconsume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 淘宝卖家旺旺名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 有效期结束时间
	ValidEnds string `json:"valid_ends,omitempty" xml:"valid_ends,omitempty"`
	// 有效期开始时间
	ValidStart string `json:"valid_start,omitempty" xml:"valid_start,omitempty"`
	// 1:可以进行核销码操作
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 淘宝卖家ID
	TaobaoSid int64 `json:"taobao_sid,omitempty" xml:"taobao_sid,omitempty"`
	// 当前码剩余可核销数量
	CodeLeftNum int64 `json:"code_left_num,omitempty" xml:"code_left_num,omitempty"`
}

TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel is 核销放行的查询接口 成功返回结果

func (*TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketAuthConsumeAPIRequest

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

TaobaoVmarketEticketAuthConsumeAPIRequest 核销放行的核销接口 API请求 taobao.vmarket.eticket.auth.consume

针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销接口

func GetTaobaoVmarketEticketAuthConsumeAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketAuthConsumeAPIRequest() *TaobaoVmarketEticketAuthConsumeAPIRequest

GetTaobaoVmarketEticketAuthConsumeRequest 从 sync.Pool 获取 TaobaoVmarketEticketAuthConsumeAPIRequest

func NewTaobaoVmarketEticketAuthConsumeRequest

func NewTaobaoVmarketEticketAuthConsumeRequest() *TaobaoVmarketEticketAuthConsumeAPIRequest

NewTaobaoVmarketEticketAuthConsumeRequest 初始化TaobaoVmarketEticketAuthConsumeAPIRequest对象

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetConsumeNum

GetConsumeNum ConsumeNum Getter

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetOperatorid

GetOperatorid Operatorid Getter

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetSerialNum

GetSerialNum SerialNum Getter

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetStoreid

GetStoreid Storeid Getter

func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetVerifyCode

GetVerifyCode VerifyCode Getter

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) SetConsumeNum

func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error

SetConsumeNum is ConsumeNum Setter 核销份数

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) SetOperatorid

func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetOperatorid(_operatorid string) error

SetOperatorid is Operatorid Setter 核销方的ID,如果是普通码商必须传入机具ID,如果是私有码商家(即原有的信任商家)可默认传入私有码商ID

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) SetSerialNum

func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetSerialNum(_serialNum string) error

SetSerialNum is SerialNum Setter 自定义核销流水号,需要小于等于100个字符(a-zA-Z0-9_)

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) SetStoreid

func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetStoreid(_storeid string) error

SetStoreid is Storeid Setter 网点ID,网点授权核销时,必须传入;其他核销方式可不传

func (*TaobaoVmarketEticketAuthConsumeAPIRequest) SetVerifyCode

func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetVerifyCode(_verifyCode string) error

SetVerifyCode is VerifyCode Setter 核销的码,只支持单个码,多个码核销需要多次调用

type TaobaoVmarketEticketAuthConsumeAPIResponse

type TaobaoVmarketEticketAuthConsumeAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketAuthConsumeAPIResponseModel
}

TaobaoVmarketEticketAuthConsumeAPIResponse 核销放行的核销接口 API返回值 taobao.vmarket.eticket.auth.consume

针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销接口

func GetTaobaoVmarketEticketAuthConsumeAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketAuthConsumeAPIResponse() *TaobaoVmarketEticketAuthConsumeAPIResponse

GetTaobaoVmarketEticketAuthConsumeAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketAuthConsumeAPIResponse

func (*TaobaoVmarketEticketAuthConsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketAuthConsumeAPIResponseModel

type TaobaoVmarketEticketAuthConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_auth_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 淘宝卖家旺旺名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 1:可以进行核销码操作
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 淘宝卖家ID
	TaobaoSid int64 `json:"taobao_sid,omitempty" xml:"taobao_sid,omitempty"`
}

TaobaoVmarketEticketAuthConsumeAPIResponseModel is 核销放行的核销接口 成功返回结果

func (*TaobaoVmarketEticketAuthConsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketBeforeconsumeAPIRequest

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

TaobaoVmarketEticketBeforeconsumeAPIRequest 电子凭证验码前置确认 API请求 taobao.vmarket.eticket.beforeconsume

商家验码之前的调用接口,用来同步到最新的订单状态并判断是否可以进行验码操作

func GetTaobaoVmarketEticketBeforeconsumeAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketBeforeconsumeAPIRequest() *TaobaoVmarketEticketBeforeconsumeAPIRequest

GetTaobaoVmarketEticketBeforeconsumeRequest 从 sync.Pool 获取 TaobaoVmarketEticketBeforeconsumeAPIRequest

func NewTaobaoVmarketEticketBeforeconsumeRequest

func NewTaobaoVmarketEticketBeforeconsumeRequest() *TaobaoVmarketEticketBeforeconsumeAPIRequest

NewTaobaoVmarketEticketBeforeconsumeRequest 初始化TaobaoVmarketEticketBeforeconsumeAPIRequest对象

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetMobile

GetMobile Mobile Getter

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetPosid

GetPosid Posid Getter

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetToken

GetToken Token Getter

func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetVerifyCode

GetVerifyCode VerifyCode Getter

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,是码商的话必须传递,如果是信任卖家不需要传

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetMobile

SetMobile is Mobile Setter 手机号码后四位,没有特殊说明请不要传

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetOrderId

SetOrderId is OrderId Setter 需要验码的电子凭证订单ID

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetPosid

SetPosid is Posid Setter 操作员身份ID,如果是码商必须传,如果是信任卖家不需要传

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetToken

SetToken is Token Setter 安全验证token,需要和发码通知中的token一致

func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetVerifyCode

func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetVerifyCode(_verifyCode string) error

SetVerifyCode is VerifyCode Setter 需要验的码

type TaobaoVmarketEticketBeforeconsumeAPIResponse

type TaobaoVmarketEticketBeforeconsumeAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketBeforeconsumeAPIResponseModel
}

TaobaoVmarketEticketBeforeconsumeAPIResponse 电子凭证验码前置确认 API返回值 taobao.vmarket.eticket.beforeconsume

商家验码之前的调用接口,用来同步到最新的订单状态并判断是否可以进行验码操作

func GetTaobaoVmarketEticketBeforeconsumeAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketBeforeconsumeAPIResponse() *TaobaoVmarketEticketBeforeconsumeAPIResponse

GetTaobaoVmarketEticketBeforeconsumeAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketBeforeconsumeAPIResponse

func (*TaobaoVmarketEticketBeforeconsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketBeforeconsumeAPIResponseModel

type TaobaoVmarketEticketBeforeconsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_beforeconsume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 有效期结束时间
	ValidEnds string `json:"valid_ends,omitempty" xml:"valid_ends,omitempty"`
	// 有效期开始时间
	ValidStart string `json:"valid_start,omitempty" xml:"valid_start,omitempty"`
	// 扩展字段,暂时预留为0,没有任何意义
	LeftAmount string `json:"left_amount,omitempty" xml:"left_amount,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 1:可以进行核销码操作
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 当前订单剩余可核销数量
	LeftNum int64 `json:"left_num,omitempty" xml:"left_num,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 扩展字段,暂时预留为0,没有任何意义
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 当前码剩余可核销数量
	CodeLeftNum int64 `json:"code_left_num,omitempty" xml:"code_left_num,omitempty"`
}

TaobaoVmarketEticketBeforeconsumeAPIResponseModel is 电子凭证验码前置确认 成功返回结果

func (*TaobaoVmarketEticketBeforeconsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketCodesGetAPIRequest

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

TaobaoVmarketEticketCodesGetAPIRequest 电子凭证码列表查询 API请求 taobao.vmarket.eticket.codes.get

查询某个订单的所有码的列表

func GetTaobaoVmarketEticketCodesGetAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketCodesGetAPIRequest() *TaobaoVmarketEticketCodesGetAPIRequest

GetTaobaoVmarketEticketCodesGetRequest 从 sync.Pool 获取 TaobaoVmarketEticketCodesGetAPIRequest

func NewTaobaoVmarketEticketCodesGetRequest

func NewTaobaoVmarketEticketCodesGetRequest() *TaobaoVmarketEticketCodesGetAPIRequest

NewTaobaoVmarketEticketCodesGetRequest 初始化TaobaoVmarketEticketCodesGetAPIRequest对象

func (TaobaoVmarketEticketCodesGetAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketCodesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketCodesGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketCodesGetAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketCodesGetAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketCodesGetAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketCodesGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketCodesGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketCodesGetAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketCodesGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID

func (*TaobaoVmarketEticketCodesGetAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单号

type TaobaoVmarketEticketCodesGetAPIResponse

type TaobaoVmarketEticketCodesGetAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketCodesGetAPIResponseModel
}

TaobaoVmarketEticketCodesGetAPIResponse 电子凭证码列表查询 API返回值 taobao.vmarket.eticket.codes.get

查询某个订单的所有码的列表

func GetTaobaoVmarketEticketCodesGetAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketCodesGetAPIResponse() *TaobaoVmarketEticketCodesGetAPIResponse

GetTaobaoVmarketEticketCodesGetAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketCodesGetAPIResponse

func (*TaobaoVmarketEticketCodesGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketCodesGetAPIResponseModel

type TaobaoVmarketEticketCodesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_codes_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 电子凭证码列表
	EticketCodes []EticketCode `json:"eticket_codes,omitempty" xml:"eticket_codes>eticket_code,omitempty"`
	// 记录总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoVmarketEticketCodesGetAPIResponseModel is 电子凭证码列表查询 成功返回结果

func (*TaobaoVmarketEticketCodesGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketConsumeAPIRequest

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

TaobaoVmarketEticketConsumeAPIRequest 电子票券消费通知 API请求 taobao.vmarket.eticket.consume

外部合作商家电子票券消费回调接口

func GetTaobaoVmarketEticketConsumeAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketConsumeAPIRequest() *TaobaoVmarketEticketConsumeAPIRequest

GetTaobaoVmarketEticketConsumeRequest 从 sync.Pool 获取 TaobaoVmarketEticketConsumeAPIRequest

func NewTaobaoVmarketEticketConsumeRequest

func NewTaobaoVmarketEticketConsumeRequest() *TaobaoVmarketEticketConsumeAPIRequest

NewTaobaoVmarketEticketConsumeRequest 初始化TaobaoVmarketEticketConsumeAPIRequest对象

func (TaobaoVmarketEticketConsumeAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketConsumeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketConsumeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketConsumeAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketConsumeAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetConsumeNum

func (r TaobaoVmarketEticketConsumeAPIRequest) GetConsumeNum() int64

GetConsumeNum ConsumeNum Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetMobile

GetMobile Mobile Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetNewCode

GetNewCode NewCode Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetPosid

GetPosid Posid Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetQrImages

GetQrImages QrImages Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketConsumeAPIRequest) GetSerialNum

GetSerialNum SerialNum Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetToken

GetToken Token Getter

func (TaobaoVmarketEticketConsumeAPIRequest) GetVerifyCode

GetVerifyCode VerifyCode Getter

func (*TaobaoVmarketEticketConsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketConsumeAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,是码商的话必须传递,如果是信任卖家不需要传

func (*TaobaoVmarketEticketConsumeAPIRequest) SetConsumeNum

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error

SetConsumeNum is ConsumeNum Setter 核销份数

func (*TaobaoVmarketEticketConsumeAPIRequest) SetMobile

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetMobile(_mobile string) error

SetMobile is Mobile Setter 手机后四位(没有特殊说明请不要传该参数)

func (*TaobaoVmarketEticketConsumeAPIRequest) SetNewCode

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetNewCode(_newCode string) error

SetNewCode is NewCode Setter 核销后需要重新生成的码,如果不需要重新生成码,不要传该参数

func (*TaobaoVmarketEticketConsumeAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 进行验码的电子凭证订单的订单ID

func (*TaobaoVmarketEticketConsumeAPIRequest) SetPosid

SetPosid is Posid Setter 机具ID(此参数信任卖家可不传递,码商必须传递)

func (*TaobaoVmarketEticketConsumeAPIRequest) SetQrImages

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetQrImages(_qrImages string) error

SetQrImages is QrImages Setter 不需要上传二维码图片或者核销后不需重新生成码码商请不要传,需要传入二维码的码商请先调用taobao.vmarket.eticket.qrcode.upload接口,将返回的img_filename文件名称作为参数(如果二维码不变的话,也可将将发码时传入二维码文件名作为参数传入),文件名与参数new_code必须相互对应。

func (*TaobaoVmarketEticketConsumeAPIRequest) SetSerialNum

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetSerialNum(_serialNum string) error

SetSerialNum is SerialNum Setter 自定义核销流水号,如果核销调用失败,可以用该核销流水号进行冲正操作,需要小于等于100个字符(a-zA-Z0-9_);每次核销都是唯一的流水号

func (*TaobaoVmarketEticketConsumeAPIRequest) SetToken

SetToken is Token Setter 安全验证token,需要和发码通知中的token一致

func (*TaobaoVmarketEticketConsumeAPIRequest) SetVerifyCode

func (r *TaobaoVmarketEticketConsumeAPIRequest) SetVerifyCode(_verifyCode string) error

SetVerifyCode is VerifyCode Setter 核销的码,只支持单个码,多个码核销需要多次调用

type TaobaoVmarketEticketConsumeAPIResponse

type TaobaoVmarketEticketConsumeAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketConsumeAPIResponseModel
}

TaobaoVmarketEticketConsumeAPIResponse 电子票券消费通知 API返回值 taobao.vmarket.eticket.consume

外部合作商家电子票券消费回调接口

func GetTaobaoVmarketEticketConsumeAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketConsumeAPIResponse() *TaobaoVmarketEticketConsumeAPIResponse

GetTaobaoVmarketEticketConsumeAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketConsumeAPIResponse

func (*TaobaoVmarketEticketConsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketConsumeAPIResponseModel

type TaobaoVmarketEticketConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 宝贝标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 返回码消费后,需要发送的短信的模版
	SmsTpl string `json:"sms_tpl,omitempty" xml:"sms_tpl,omitempty"`
	// 服务内容,用在凭证验证成功后pos机打印小票给消费者
	PrintTpl string `json:"print_tpl,omitempty" xml:"print_tpl,omitempty"`
	// 核销流水号,可以通过该流水号来撤销对应的核销操作
	ConsumeSecialNum string `json:"consume_secial_num,omitempty" xml:"consume_secial_num,omitempty"`
	// 0:失败,1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 整个订单剩余的可核销数量
	LeftNum int64 `json:"left_num,omitempty" xml:"left_num,omitempty"`
	// 该核销码在核销后剩余的可核销份数,如果传了new_code来重新生成码,那么这些可核销份数会累积到新的码上
	CodeLeftNum int64 `json:"code_left_num,omitempty" xml:"code_left_num,omitempty"`
}

TaobaoVmarketEticketConsumeAPIResponseModel is 电子票券消费通知 成功返回结果

func (*TaobaoVmarketEticketConsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFailsendAPIRequest

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

TaobaoVmarketEticketFailsendAPIRequest 无法发码回调 API请求 taobao.vmarket.eticket.failsend

针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证

func GetTaobaoVmarketEticketFailsendAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketFailsendAPIRequest() *TaobaoVmarketEticketFailsendAPIRequest

GetTaobaoVmarketEticketFailsendRequest 从 sync.Pool 获取 TaobaoVmarketEticketFailsendAPIRequest

func NewTaobaoVmarketEticketFailsendRequest

func NewTaobaoVmarketEticketFailsendRequest() *TaobaoVmarketEticketFailsendAPIRequest

NewTaobaoVmarketEticketFailsendRequest 初始化TaobaoVmarketEticketFailsendAPIRequest对象

func (TaobaoVmarketEticketFailsendAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketFailsendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketFailsendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketFailsendAPIRequest) GetErrorCode

GetErrorCode ErrorCode Getter

func (TaobaoVmarketEticketFailsendAPIRequest) GetErrorMsg

GetErrorMsg ErrorMsg Getter

func (TaobaoVmarketEticketFailsendAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketFailsendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketFailsendAPIRequest) GetToken

GetToken Token Getter

func (*TaobaoVmarketEticketFailsendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketFailsendAPIRequest) SetErrorCode

func (r *TaobaoVmarketEticketFailsendAPIRequest) SetErrorCode(_errorCode int64) error

SetErrorCode is ErrorCode Setter 错误码

func (*TaobaoVmarketEticketFailsendAPIRequest) SetErrorMsg

func (r *TaobaoVmarketEticketFailsendAPIRequest) SetErrorMsg(_errorMsg string) error

SetErrorMsg is ErrorMsg Setter 错误信息

func (*TaobaoVmarketEticketFailsendAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单号

func (*TaobaoVmarketEticketFailsendAPIRequest) SetToken

SetToken is Token Setter 发码通知时的token

type TaobaoVmarketEticketFailsendAPIResponse

type TaobaoVmarketEticketFailsendAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketFailsendAPIResponseModel
}

TaobaoVmarketEticketFailsendAPIResponse 无法发码回调 API返回值 taobao.vmarket.eticket.failsend

针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证

func GetTaobaoVmarketEticketFailsendAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketFailsendAPIResponse() *TaobaoVmarketEticketFailsendAPIResponse

GetTaobaoVmarketEticketFailsendAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketFailsendAPIResponse

func (*TaobaoVmarketEticketFailsendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFailsendAPIResponseModel

type TaobaoVmarketEticketFailsendAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_failsend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketFailsendAPIResponseModel is 无法发码回调 成功返回结果

func (*TaobaoVmarketEticketFailsendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFlowConsumeAPIRequest

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

TaobaoVmarketEticketFlowConsumeAPIRequest 无交易类凭证核销 API请求 taobao.vmarket.eticket.flow.consume

无交易类凭证核销

func GetTaobaoVmarketEticketFlowConsumeAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketFlowConsumeAPIRequest() *TaobaoVmarketEticketFlowConsumeAPIRequest

GetTaobaoVmarketEticketFlowConsumeRequest 从 sync.Pool 获取 TaobaoVmarketEticketFlowConsumeAPIRequest

func NewTaobaoVmarketEticketFlowConsumeRequest

func NewTaobaoVmarketEticketFlowConsumeRequest() *TaobaoVmarketEticketFlowConsumeAPIRequest

NewTaobaoVmarketEticketFlowConsumeRequest 初始化TaobaoVmarketEticketFlowConsumeAPIRequest对象

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetCode

GetCode Code Getter

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetOperator

GetOperator Operator Getter

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketFlowConsumeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetBizType

func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 淘宝业务提供的业务类型值,请联系相关业务运营取得

func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetCode

SetCode is Code Setter 凭证码

func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetOperator

func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 核销操作人

func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetOuterId

func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务单号

type TaobaoVmarketEticketFlowConsumeAPIResponse

type TaobaoVmarketEticketFlowConsumeAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketFlowConsumeAPIResponseModel
}

TaobaoVmarketEticketFlowConsumeAPIResponse 无交易类凭证核销 API返回值 taobao.vmarket.eticket.flow.consume

无交易类凭证核销

func GetTaobaoVmarketEticketFlowConsumeAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketFlowConsumeAPIResponse() *TaobaoVmarketEticketFlowConsumeAPIResponse

GetTaobaoVmarketEticketFlowConsumeAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketFlowConsumeAPIResponse

func (*TaobaoVmarketEticketFlowConsumeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFlowConsumeAPIResponseModel

type TaobaoVmarketEticketFlowConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_flow_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 执行成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketFlowConsumeAPIResponseModel is 无交易类凭证核销 成功返回结果

func (*TaobaoVmarketEticketFlowConsumeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFlowResendAPIRequest

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

TaobaoVmarketEticketFlowResendAPIRequest 业务重新触发发码短信 API请求 taobao.vmarket.eticket.flow.resend

业务重新触发发码短信

func GetTaobaoVmarketEticketFlowResendAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketFlowResendAPIRequest() *TaobaoVmarketEticketFlowResendAPIRequest

GetTaobaoVmarketEticketFlowResendRequest 从 sync.Pool 获取 TaobaoVmarketEticketFlowResendAPIRequest

func NewTaobaoVmarketEticketFlowResendRequest

func NewTaobaoVmarketEticketFlowResendRequest() *TaobaoVmarketEticketFlowResendAPIRequest

NewTaobaoVmarketEticketFlowResendRequest 初始化TaobaoVmarketEticketFlowResendAPIRequest对象

func (TaobaoVmarketEticketFlowResendAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketFlowResendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketFlowResendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketFlowResendAPIRequest) GetBizType

GetBizType BizType Getter

func (TaobaoVmarketEticketFlowResendAPIRequest) GetOuterId

GetOuterId OuterId Getter

func (TaobaoVmarketEticketFlowResendAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketFlowResendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketFlowResendAPIRequest) SetBizType

func (r *TaobaoVmarketEticketFlowResendAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 业务类型值,可联系淘宝业务运营取得具体值

func (*TaobaoVmarketEticketFlowResendAPIRequest) SetOuterId

func (r *TaobaoVmarketEticketFlowResendAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务单号

type TaobaoVmarketEticketFlowResendAPIResponse

type TaobaoVmarketEticketFlowResendAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketFlowResendAPIResponseModel
}

TaobaoVmarketEticketFlowResendAPIResponse 业务重新触发发码短信 API返回值 taobao.vmarket.eticket.flow.resend

业务重新触发发码短信

func GetTaobaoVmarketEticketFlowResendAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketFlowResendAPIResponse() *TaobaoVmarketEticketFlowResendAPIResponse

GetTaobaoVmarketEticketFlowResendAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketFlowResendAPIResponse

func (*TaobaoVmarketEticketFlowResendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketFlowResendAPIResponseModel

type TaobaoVmarketEticketFlowResendAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_flow_resend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 1成功;0失败
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketFlowResendAPIResponseModel is 业务重新触发发码短信 成功返回结果

func (*TaobaoVmarketEticketFlowResendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketManageNotifyAPIRequest

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

TaobaoVmarketEticketManageNotifyAPIRequest 主动发起通知接口 API请求 taobao.vmarket.eticket.manage.notify

外部合作商家主动发起通知接口

func GetTaobaoVmarketEticketManageNotifyAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketManageNotifyAPIRequest() *TaobaoVmarketEticketManageNotifyAPIRequest

GetTaobaoVmarketEticketManageNotifyRequest 从 sync.Pool 获取 TaobaoVmarketEticketManageNotifyAPIRequest

func NewTaobaoVmarketEticketManageNotifyRequest

func NewTaobaoVmarketEticketManageNotifyRequest() *TaobaoVmarketEticketManageNotifyAPIRequest

NewTaobaoVmarketEticketManageNotifyRequest 初始化TaobaoVmarketEticketManageNotifyAPIRequest对象

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetNotifyMethod

GetNotifyMethod NotifyMethod Getter

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketManageNotifyAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketManageNotifyAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketManageNotifyAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketManageNotifyAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,如果是码商,必须传,如果是信任卖家,不需要传

func (*TaobaoVmarketEticketManageNotifyAPIRequest) SetNotifyMethod

func (r *TaobaoVmarketEticketManageNotifyAPIRequest) SetNotifyMethod(_notifyMethod string) error

SetNotifyMethod is NotifyMethod Setter 需要调用的通知方法,目前仅支持是send(发码)或resend(重新发码)

func (*TaobaoVmarketEticketManageNotifyAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单编号

type TaobaoVmarketEticketManageNotifyAPIResponse

type TaobaoVmarketEticketManageNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketManageNotifyAPIResponseModel
}

TaobaoVmarketEticketManageNotifyAPIResponse 主动发起通知接口 API返回值 taobao.vmarket.eticket.manage.notify

外部合作商家主动发起通知接口

func GetTaobaoVmarketEticketManageNotifyAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketManageNotifyAPIResponse() *TaobaoVmarketEticketManageNotifyAPIResponse

GetTaobaoVmarketEticketManageNotifyAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketManageNotifyAPIResponse

func (*TaobaoVmarketEticketManageNotifyAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketManageNotifyAPIResponseModel

type TaobaoVmarketEticketManageNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_manage_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketManageNotifyAPIResponseModel is 主动发起通知接口 成功返回结果

func (*TaobaoVmarketEticketManageNotifyAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketOplogsGetAPIRequest

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

TaobaoVmarketEticketOplogsGetAPIRequest 电子凭证操作日志查询 API请求 taobao.vmarket.eticket.oplogs.get

电子凭证核销日志查询

func GetTaobaoVmarketEticketOplogsGetAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketOplogsGetAPIRequest() *TaobaoVmarketEticketOplogsGetAPIRequest

GetTaobaoVmarketEticketOplogsGetRequest 从 sync.Pool 获取 TaobaoVmarketEticketOplogsGetAPIRequest

func NewTaobaoVmarketEticketOplogsGetRequest

func NewTaobaoVmarketEticketOplogsGetRequest() *TaobaoVmarketEticketOplogsGetAPIRequest

NewTaobaoVmarketEticketOplogsGetRequest 初始化TaobaoVmarketEticketOplogsGetAPIRequest对象

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetCode

GetCode Code Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetEndTime

GetEndTime EndTime Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetMobile

GetMobile Mobile Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPosid

GetPosid Posid Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetSort

GetSort Sort Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetStartTime

GetStartTime StartTime Getter

func (TaobaoVmarketEticketOplogsGetAPIRequest) GetType

GetType Type Getter

func (*TaobaoVmarketEticketOplogsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetCode

SetCode is Code Setter 核销码

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetEndTime

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

SetEndTime is EndTime Setter 结束时间

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetMobile

SetMobile is Mobile Setter 手机号后四位

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetPageNo

func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 当前页码

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetPageSize

func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的记录数,最大为40,默认为40

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetPosid

SetPosid is Posid Setter 核销身份

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetSort

SetSort is Sort Setter 排序方式

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetStartTime

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

SetStartTime is StartTime Setter 开始时间

func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetType

SetType is Type Setter 0:全部 1:核销 2:冲正

type TaobaoVmarketEticketOplogsGetAPIResponse

type TaobaoVmarketEticketOplogsGetAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketOplogsGetAPIResponseModel
}

TaobaoVmarketEticketOplogsGetAPIResponse 电子凭证操作日志查询 API返回值 taobao.vmarket.eticket.oplogs.get

电子凭证核销日志查询

func GetTaobaoVmarketEticketOplogsGetAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketOplogsGetAPIResponse() *TaobaoVmarketEticketOplogsGetAPIResponse

GetTaobaoVmarketEticketOplogsGetAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketOplogsGetAPIResponse

func (*TaobaoVmarketEticketOplogsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketOplogsGetAPIResponseModel

type TaobaoVmarketEticketOplogsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_oplogs_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作日志列表
	EticketOpLogs []EticketOpLog `json:"eticket_op_logs,omitempty" xml:"eticket_op_logs>eticket_op_log,omitempty"`
	// 符合条件的记录总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoVmarketEticketOplogsGetAPIResponseModel is 电子凭证操作日志查询 成功返回结果

func (*TaobaoVmarketEticketOplogsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketQrcodeUploadAPIRequest

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

TaobaoVmarketEticketQrcodeUploadAPIRequest 码商二维码图片上传 API请求 taobao.vmarket.eticket.qrcode.upload

电子凭证的码商可以通过这个接口,上传他们发送的二维码图片

func GetTaobaoVmarketEticketQrcodeUploadAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketQrcodeUploadAPIRequest() *TaobaoVmarketEticketQrcodeUploadAPIRequest

GetTaobaoVmarketEticketQrcodeUploadRequest 从 sync.Pool 获取 TaobaoVmarketEticketQrcodeUploadAPIRequest

func NewTaobaoVmarketEticketQrcodeUploadRequest

func NewTaobaoVmarketEticketQrcodeUploadRequest() *TaobaoVmarketEticketQrcodeUploadAPIRequest

NewTaobaoVmarketEticketQrcodeUploadRequest 初始化TaobaoVmarketEticketQrcodeUploadAPIRequest对象

func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetCodeMerchantId

func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetCodeMerchantId() int64

GetCodeMerchantId CodeMerchantId Getter

func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetImgBytes

GetImgBytes ImgBytes Getter

func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketQrcodeUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketQrcodeUploadAPIRequest) SetCodeMerchantId

func (r *TaobaoVmarketEticketQrcodeUploadAPIRequest) SetCodeMerchantId(_codeMerchantId int64) error

SetCodeMerchantId is CodeMerchantId Setter 码商ID

func (*TaobaoVmarketEticketQrcodeUploadAPIRequest) SetImgBytes

func (r *TaobaoVmarketEticketQrcodeUploadAPIRequest) SetImgBytes(_imgBytes *model.File) error

SetImgBytes is ImgBytes Setter 上传的图片byte[] 小于300K,图片尺寸400*400以内

type TaobaoVmarketEticketQrcodeUploadAPIResponse

type TaobaoVmarketEticketQrcodeUploadAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketQrcodeUploadAPIResponseModel
}

TaobaoVmarketEticketQrcodeUploadAPIResponse 码商二维码图片上传 API返回值 taobao.vmarket.eticket.qrcode.upload

电子凭证的码商可以通过这个接口,上传他们发送的二维码图片

func GetTaobaoVmarketEticketQrcodeUploadAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketQrcodeUploadAPIResponse() *TaobaoVmarketEticketQrcodeUploadAPIResponse

GetTaobaoVmarketEticketQrcodeUploadAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketQrcodeUploadAPIResponse

func (*TaobaoVmarketEticketQrcodeUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketQrcodeUploadAPIResponseModel

type TaobaoVmarketEticketQrcodeUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_qrcode_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 图片文件名称
	ImgFilename string `json:"img_filename,omitempty" xml:"img_filename,omitempty"`
	// 1:成功  其它为失败
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketQrcodeUploadAPIResponseModel is 码商二维码图片上传 成功返回结果

func (*TaobaoVmarketEticketQrcodeUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketResendAPIRequest

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

TaobaoVmarketEticketResendAPIRequest 外部合作商家重发电子凭证回调接口 API请求 taobao.vmarket.eticket.resend

外部合作商家重发电子凭证回调接口

func GetTaobaoVmarketEticketResendAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketResendAPIRequest() *TaobaoVmarketEticketResendAPIRequest

GetTaobaoVmarketEticketResendRequest 从 sync.Pool 获取 TaobaoVmarketEticketResendAPIRequest

func NewTaobaoVmarketEticketResendRequest

func NewTaobaoVmarketEticketResendRequest() *TaobaoVmarketEticketResendAPIRequest

NewTaobaoVmarketEticketResendRequest 初始化TaobaoVmarketEticketResendAPIRequest对象

func (TaobaoVmarketEticketResendAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketResendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketResendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketResendAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketResendAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketResendAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketResendAPIRequest) GetQrImages

GetQrImages QrImages Getter

func (TaobaoVmarketEticketResendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketResendAPIRequest) GetToken

GetToken Token Getter

func (TaobaoVmarketEticketResendAPIRequest) GetVerifyCodes

func (r TaobaoVmarketEticketResendAPIRequest) GetVerifyCodes() string

GetVerifyCodes VerifyCodes Getter

func (*TaobaoVmarketEticketResendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketResendAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketResendAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,如果是码商,必须传,如果是信任卖家,不需要传

func (*TaobaoVmarketEticketResendAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单编号

func (*TaobaoVmarketEticketResendAPIRequest) SetQrImages

func (r *TaobaoVmarketEticketResendAPIRequest) SetQrImages(_qrImages string) error

SetQrImages is QrImages Setter 不需要上传二维码图片的码商请不要传,需要传入二维码的码商请先调用taobao.vmarket.eticket.qrcode.upload接口,将返回的img_filename文件名称作为参数(如果二维码不变的话,也可将将发码时传入二维码文件名作为参数传入),多个文件名用逗号隔开且与参数verify_codes按从左到有的顺序一一对应。

func (*TaobaoVmarketEticketResendAPIRequest) SetToken

SetToken is Token Setter 安全验证token,回传淘宝发通知时发过来的token串

func (*TaobaoVmarketEticketResendAPIRequest) SetVerifyCodes

func (r *TaobaoVmarketEticketResendAPIRequest) SetVerifyCodes(_verifyCodes string) error

SetVerifyCodes is VerifyCodes Setter 重新发送的验证码及可验证次数的列表,多个码之间用英文逗号分割,需要包含此订单所有可用的码(如果订单总的有10个码,可用的是5个,那么这里设置的是5个可用的码)

type TaobaoVmarketEticketResendAPIResponse

type TaobaoVmarketEticketResendAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketResendAPIResponseModel
}

TaobaoVmarketEticketResendAPIResponse 外部合作商家重发电子凭证回调接口 API返回值 taobao.vmarket.eticket.resend

外部合作商家重发电子凭证回调接口

func GetTaobaoVmarketEticketResendAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketResendAPIResponse() *TaobaoVmarketEticketResendAPIResponse

GetTaobaoVmarketEticketResendAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketResendAPIResponse

func (*TaobaoVmarketEticketResendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketResendAPIResponseModel

type TaobaoVmarketEticketResendAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_resend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 0:失败,1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketResendAPIResponseModel is 外部合作商家重发电子凭证回调接口 成功返回结果

func (*TaobaoVmarketEticketResendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketReverseAPIRequest

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

TaobaoVmarketEticketReverseAPIRequest 电子凭证冲正接口 API请求 taobao.vmarket.eticket.reverse

电子凭证平台冲正接口

func GetTaobaoVmarketEticketReverseAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketReverseAPIRequest() *TaobaoVmarketEticketReverseAPIRequest

GetTaobaoVmarketEticketReverseRequest 从 sync.Pool 获取 TaobaoVmarketEticketReverseAPIRequest

func NewTaobaoVmarketEticketReverseRequest

func NewTaobaoVmarketEticketReverseRequest() *TaobaoVmarketEticketReverseAPIRequest

NewTaobaoVmarketEticketReverseRequest 初始化TaobaoVmarketEticketReverseAPIRequest对象

func (TaobaoVmarketEticketReverseAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketReverseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketReverseAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketReverseAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketReverseAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetConsumeSecialNum

func (r TaobaoVmarketEticketReverseAPIRequest) GetConsumeSecialNum() string

GetConsumeSecialNum ConsumeSecialNum Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetPosid

GetPosid Posid Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetQrImages

GetQrImages QrImages Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketReverseAPIRequest) GetReverseCode

func (r TaobaoVmarketEticketReverseAPIRequest) GetReverseCode() string

GetReverseCode ReverseCode Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetReverseNum

func (r TaobaoVmarketEticketReverseAPIRequest) GetReverseNum() int64

GetReverseNum ReverseNum Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetToken

GetToken Token Getter

func (TaobaoVmarketEticketReverseAPIRequest) GetVerifyCodes

func (r TaobaoVmarketEticketReverseAPIRequest) GetVerifyCodes() string

GetVerifyCodes VerifyCodes Getter

func (*TaobaoVmarketEticketReverseAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketReverseAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketReverseAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,是码商的话必须传递,如果是信任卖家不要传

func (*TaobaoVmarketEticketReverseAPIRequest) SetConsumeSecialNum

func (r *TaobaoVmarketEticketReverseAPIRequest) SetConsumeSecialNum(_consumeSecialNum string) error

SetConsumeSecialNum is ConsumeSecialNum Setter 需要冲正的核销记录对应核销流水号(对应的核销操作时候传递的自定义流水号)

func (*TaobaoVmarketEticketReverseAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 进行验码的电子凭证订单的订单ID

func (*TaobaoVmarketEticketReverseAPIRequest) SetPosid

SetPosid is Posid Setter 机具id,如果是码商必须传,如果是信任卖家不要传

func (*TaobaoVmarketEticketReverseAPIRequest) SetQrImages

func (r *TaobaoVmarketEticketReverseAPIRequest) SetQrImages(_qrImages string) error

SetQrImages is QrImages Setter 不需要上传二维码图片或者冲正后不需要变更码的请不要传,需要传入二维码的码商请先调用taobao.vmarket.eticket.qrcode.upload接口,将返回的img_filename文件名称作为参数,多个文件名用逗号隔开且与参数verify_codes按从左到有的顺序一一对应。

func (*TaobaoVmarketEticketReverseAPIRequest) SetReverseCode

func (r *TaobaoVmarketEticketReverseAPIRequest) SetReverseCode(_reverseCode string) error

SetReverseCode is ReverseCode Setter 冲正的码,只支持单个码

func (*TaobaoVmarketEticketReverseAPIRequest) SetReverseNum

func (r *TaobaoVmarketEticketReverseAPIRequest) SetReverseNum(_reverseNum int64) error

SetReverseNum is ReverseNum Setter 冲正份数(必须是和被冲正的核销记录的份数一致)

func (*TaobaoVmarketEticketReverseAPIRequest) SetToken

SetToken is Token Setter 安全验证token,需要和该订单发码通知中的token一致

func (*TaobaoVmarketEticketReverseAPIRequest) SetVerifyCodes

func (r *TaobaoVmarketEticketReverseAPIRequest) SetVerifyCodes(_verifyCodes string) error

SetVerifyCodes is VerifyCodes Setter 所有冲正后需要重新生成的码和对应的次数。码和次数之间用英文冒号分隔,多个码之间用英文逗号分隔。如果冲正后不需要重新生成码,留空

type TaobaoVmarketEticketReverseAPIResponse

type TaobaoVmarketEticketReverseAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketReverseAPIResponseModel
}

TaobaoVmarketEticketReverseAPIResponse 电子凭证冲正接口 API返回值 taobao.vmarket.eticket.reverse

电子凭证平台冲正接口

func GetTaobaoVmarketEticketReverseAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketReverseAPIResponse() *TaobaoVmarketEticketReverseAPIResponse

GetTaobaoVmarketEticketReverseAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketReverseAPIResponse

func (*TaobaoVmarketEticketReverseAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketReverseAPIResponseModel

type TaobaoVmarketEticketReverseAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_reverse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 宝贝标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 0:失败,1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 整个订单的剩余可核销数量
	LeftNum int64 `json:"left_num,omitempty" xml:"left_num,omitempty"`
}

TaobaoVmarketEticketReverseAPIResponseModel is 电子凭证冲正接口 成功返回结果

func (*TaobaoVmarketEticketReverseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketSendAPIRequest

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

TaobaoVmarketEticketSendAPIRequest 商家电子凭证发码成功回调接口 API请求 taobao.vmarket.eticket.send

外部商家成功发码回调接口

func GetTaobaoVmarketEticketSendAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketSendAPIRequest() *TaobaoVmarketEticketSendAPIRequest

GetTaobaoVmarketEticketSendRequest 从 sync.Pool 获取 TaobaoVmarketEticketSendAPIRequest

func NewTaobaoVmarketEticketSendRequest

func NewTaobaoVmarketEticketSendRequest() *TaobaoVmarketEticketSendAPIRequest

NewTaobaoVmarketEticketSendRequest 初始化TaobaoVmarketEticketSendAPIRequest对象

func (TaobaoVmarketEticketSendAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketSendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketSendAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketSendAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketSendAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketSendAPIRequest) GetQrImages

GetQrImages QrImages Getter

func (TaobaoVmarketEticketSendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketSendAPIRequest) GetToken

GetToken Token Getter

func (TaobaoVmarketEticketSendAPIRequest) GetVerifyCodes

func (r TaobaoVmarketEticketSendAPIRequest) GetVerifyCodes() string

GetVerifyCodes VerifyCodes Getter

func (*TaobaoVmarketEticketSendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketSendAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketSendAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,是码商的话必须传递,如果是信任卖家,不需要传

func (*TaobaoVmarketEticketSendAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单编号

func (*TaobaoVmarketEticketSendAPIRequest) SetQrImages

func (r *TaobaoVmarketEticketSendAPIRequest) SetQrImages(_qrImages string) error

SetQrImages is QrImages Setter 不需要上传二维码图片的码商请不要传,需要传入二维码的码商请先调用taobao.vmarket.eticket.qrcode.upload接口,将返回的img_filename文件名称作为参数,多个文件名用逗号隔开且与参数verify_codes按从左到有的顺序一一对应。

func (*TaobaoVmarketEticketSendAPIRequest) SetToken

func (r *TaobaoVmarketEticketSendAPIRequest) SetToken(_token string) error

SetToken is Token Setter 安全验证token,需要和发码通知中的token一致

func (*TaobaoVmarketEticketSendAPIRequest) SetVerifyCodes

func (r *TaobaoVmarketEticketSendAPIRequest) SetVerifyCodes(_verifyCodes string) error

SetVerifyCodes is VerifyCodes Setter 发送成功的验证码及可验证次数的列表,码和可验证次数用英文冒号分隔,多个码之间用英文逗号分隔,所有字符都为英文半角

type TaobaoVmarketEticketSendAPIResponse

type TaobaoVmarketEticketSendAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketSendAPIResponseModel
}

TaobaoVmarketEticketSendAPIResponse 商家电子凭证发码成功回调接口 API返回值 taobao.vmarket.eticket.send

外部商家成功发码回调接口

func GetTaobaoVmarketEticketSendAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketSendAPIResponse() *TaobaoVmarketEticketSendAPIResponse

GetTaobaoVmarketEticketSendAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketSendAPIResponse

func (*TaobaoVmarketEticketSendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketSendAPIResponseModel

type TaobaoVmarketEticketSendAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 0:失败;1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketSendAPIResponseModel is 商家电子凭证发码成功回调接口 成功返回结果

func (*TaobaoVmarketEticketSendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketStoreGetAPIRequest

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

TaobaoVmarketEticketStoreGetAPIRequest 获取电子凭证预约门店信息 API请求 taobao.vmarket.eticket.store.get

用于给外部商家查询电子凭证预约门店信息

func GetTaobaoVmarketEticketStoreGetAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketStoreGetAPIRequest() *TaobaoVmarketEticketStoreGetAPIRequest

GetTaobaoVmarketEticketStoreGetRequest 从 sync.Pool 获取 TaobaoVmarketEticketStoreGetAPIRequest

func NewTaobaoVmarketEticketStoreGetRequest

func NewTaobaoVmarketEticketStoreGetRequest() *TaobaoVmarketEticketStoreGetAPIRequest

NewTaobaoVmarketEticketStoreGetRequest 初始化TaobaoVmarketEticketStoreGetAPIRequest对象

func (TaobaoVmarketEticketStoreGetAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketStoreGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketStoreGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketStoreGetAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketStoreGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketStoreGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketStoreGetAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单ID

type TaobaoVmarketEticketStoreGetAPIResponse

type TaobaoVmarketEticketStoreGetAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketStoreGetAPIResponseModel
}

TaobaoVmarketEticketStoreGetAPIResponse 获取电子凭证预约门店信息 API返回值 taobao.vmarket.eticket.store.get

用于给外部商家查询电子凭证预约门店信息

func GetTaobaoVmarketEticketStoreGetAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketStoreGetAPIResponse() *TaobaoVmarketEticketStoreGetAPIResponse

GetTaobaoVmarketEticketStoreGetAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketStoreGetAPIResponse

func (*TaobaoVmarketEticketStoreGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketStoreGetAPIResponseModel

type TaobaoVmarketEticketStoreGetAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_store_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商户地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 商户名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 区
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 所在城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 联系电话
	Contract string `json:"contract,omitempty" xml:"contract,omitempty"`
	// 自有卖家导入门店的时候,可以把自己系统门店信息的主键或者唯一key传入,用于快速匹配
	Selfcode string `json:"selfcode,omitempty" xml:"selfcode,omitempty"`
	// 商户id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

TaobaoVmarketEticketStoreGetAPIResponseModel is 获取电子凭证预约门店信息 成功返回结果

func (*TaobaoVmarketEticketStoreGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketTasksGetAPIRequest

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

TaobaoVmarketEticketTasksGetAPIRequest 任务列表获取接口 API请求 taobao.vmarket.eticket.tasks.get

外部合作卖家获取任务列表的信息:如发码同通知失败或者回调失败的订单号

func GetTaobaoVmarketEticketTasksGetAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketTasksGetAPIRequest() *TaobaoVmarketEticketTasksGetAPIRequest

GetTaobaoVmarketEticketTasksGetRequest 从 sync.Pool 获取 TaobaoVmarketEticketTasksGetAPIRequest

func NewTaobaoVmarketEticketTasksGetRequest

func NewTaobaoVmarketEticketTasksGetRequest() *TaobaoVmarketEticketTasksGetAPIRequest

NewTaobaoVmarketEticketTasksGetRequest 初始化TaobaoVmarketEticketTasksGetAPIRequest对象

func (TaobaoVmarketEticketTasksGetAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketTasksGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketTasksGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketTasksGetAPIRequest) GetCodemerchantId

func (r TaobaoVmarketEticketTasksGetAPIRequest) GetCodemerchantId() int64

GetCodemerchantId CodemerchantId Getter

func (TaobaoVmarketEticketTasksGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoVmarketEticketTasksGetAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoVmarketEticketTasksGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVmarketEticketTasksGetAPIRequest) GetSellerId

GetSellerId SellerId Getter

func (TaobaoVmarketEticketTasksGetAPIRequest) GetType

GetType Type Getter

func (*TaobaoVmarketEticketTasksGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketTasksGetAPIRequest) SetCodemerchantId

func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error

SetCodemerchantId is CodemerchantId Setter 码商ID,如果是码商,必须传,如果是信任卖家,不需要传

func (*TaobaoVmarketEticketTasksGetAPIRequest) SetPageNo

func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1

func (*TaobaoVmarketEticketTasksGetAPIRequest) SetPageSize

func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页获取条数。默认值40,最小值1,最大值100。

func (*TaobaoVmarketEticketTasksGetAPIRequest) SetSellerId

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

SetSellerId is SellerId Setter 卖家家ID(信任卖家不必传,码商可选)

func (*TaobaoVmarketEticketTasksGetAPIRequest) SetType

SetType is Type Setter 返回结果类型:<br/>1:返回通知失败的订单<br/>2.返回通知成功回调失败的订单

type TaobaoVmarketEticketTasksGetAPIResponse

type TaobaoVmarketEticketTasksGetAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketTasksGetAPIResponseModel
}

TaobaoVmarketEticketTasksGetAPIResponse 任务列表获取接口 API返回值 taobao.vmarket.eticket.tasks.get

外部合作卖家获取任务列表的信息:如发码同通知失败或者回调失败的订单号

func GetTaobaoVmarketEticketTasksGetAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketTasksGetAPIResponse() *TaobaoVmarketEticketTasksGetAPIResponse

GetTaobaoVmarketEticketTasksGetAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketTasksGetAPIResponse

func (*TaobaoVmarketEticketTasksGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketTasksGetAPIResponseModel

type TaobaoVmarketEticketTasksGetAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_tasks_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 任务列表查询结果信息
	EticketTasks []EticketTask `json:"eticket_tasks,omitempty" xml:"eticket_tasks>eticket_task,omitempty"`
	// 任务列表查询结果的总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoVmarketEticketTasksGetAPIResponseModel is 任务列表获取接口 成功返回结果

func (*TaobaoVmarketEticketTasksGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketTimeExpandAPIRequest

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

TaobaoVmarketEticketTimeExpandAPIRequest 订单延时接口 API请求 taobao.vmarket.eticket.time.expand

提供码商操作订单延期接口

func GetTaobaoVmarketEticketTimeExpandAPIRequest added in v1.3.4

func GetTaobaoVmarketEticketTimeExpandAPIRequest() *TaobaoVmarketEticketTimeExpandAPIRequest

GetTaobaoVmarketEticketTimeExpandRequest 从 sync.Pool 获取 TaobaoVmarketEticketTimeExpandAPIRequest

func NewTaobaoVmarketEticketTimeExpandRequest

func NewTaobaoVmarketEticketTimeExpandRequest() *TaobaoVmarketEticketTimeExpandAPIRequest

NewTaobaoVmarketEticketTimeExpandRequest 初始化TaobaoVmarketEticketTimeExpandAPIRequest对象

func (TaobaoVmarketEticketTimeExpandAPIRequest) GetApiMethodName

func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVmarketEticketTimeExpandAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVmarketEticketTimeExpandAPIRequest) GetExpandDays

GetExpandDays ExpandDays Getter

func (TaobaoVmarketEticketTimeExpandAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (TaobaoVmarketEticketTimeExpandAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoVmarketEticketTimeExpandAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoVmarketEticketTimeExpandAPIRequest) SetExpandDays

func (r *TaobaoVmarketEticketTimeExpandAPIRequest) SetExpandDays(_expandDays int64) error

SetExpandDays is ExpandDays Setter 延长天数,延长时间=当前过期时间+延长天数

func (*TaobaoVmarketEticketTimeExpandAPIRequest) SetOrderId

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

SetOrderId is OrderId Setter 订单ID

type TaobaoVmarketEticketTimeExpandAPIResponse

type TaobaoVmarketEticketTimeExpandAPIResponse struct {
	model.CommonResponse
	TaobaoVmarketEticketTimeExpandAPIResponseModel
}

TaobaoVmarketEticketTimeExpandAPIResponse 订单延时接口 API返回值 taobao.vmarket.eticket.time.expand

提供码商操作订单延期接口

func GetTaobaoVmarketEticketTimeExpandAPIResponse added in v1.3.4

func GetTaobaoVmarketEticketTimeExpandAPIResponse() *TaobaoVmarketEticketTimeExpandAPIResponse

GetTaobaoVmarketEticketTimeExpandAPIResponse 从 sync.Pool 获取 TaobaoVmarketEticketTimeExpandAPIResponse

func (*TaobaoVmarketEticketTimeExpandAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoVmarketEticketTimeExpandAPIResponseModel

type TaobaoVmarketEticketTimeExpandAPIResponseModel struct {
	XMLName xml.Name `xml:"vmarket_eticket_time_expand_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 0:失败;1:成功
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
}

TaobaoVmarketEticketTimeExpandAPIResponseModel is 订单延时接口 成功返回结果

func (*TaobaoVmarketEticketTimeExpandAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type UploadImgCallbackResp

type UploadImgCallbackResp struct {
	// 扩展属性
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
	// 图片在淘宝的文件名
	FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"`
}

UploadImgCallbackResp 结构体

func GetUploadImgCallbackResp added in v1.3.4

func GetUploadImgCallbackResp() *UploadImgCallbackResp

GetUploadImgCallbackResp() 从对象池中获取UploadImgCallbackResp

Source Files

Jump to

Keyboard shortcuts

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