Documentation ¶
Overview ¶
Package eticket 包含电子物流API相关结构体
Index ¶
- type Attributes
- type CertificateDto
- type ConsumeMaCallbackResp
- type EticketCode
- type EticketOpLog
- type EticketTask
- type IsvMa
- type PackageBase
- type PackageResult
- type QueryTbMaCallbackReq
- type QueryTbMaCallbackResp
- type ReverseMaCallbackResp
- type SendFailCallbackResp
- type SendMaCallbackResp
- type TaobaoEticketMerchantImgUploadAPIRequest
- func (r TaobaoEticketMerchantImgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantImgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantImgUploadAPIRequest) GetImgBytes() *model.File
- func (r *TaobaoEticketMerchantImgUploadAPIRequest) SetImgBytes(_imgBytes *model.File) error
- type TaobaoEticketMerchantImgUploadAPIResponse
- type TaobaoEticketMerchantImgUploadAPIResponseModel
- type TaobaoEticketMerchantMaAvailableAPIRequest
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetCode() string
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetConsumeNum() int64
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetPosId() string
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetSerialNum() string
- func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetCode(_code string) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetConsumeNum(_consumeNum int64) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetPosId(_posId string) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetSerialNum(_serialNum string) error
- func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaAvailableAPIResponse
- type TaobaoEticketMerchantMaAvailableAPIResponseModel
- type TaobaoEticketMerchantMaConsumeAPIRequest
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetCode() string
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetConsumeNum() int64
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetIsvMaList() []IsvMa
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetPosId() string
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetSerialNum() string
- func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetCode(_code string) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetPosId(_posId string) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetSerialNum(_serialNum string) error
- func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaConsumeAPIResponse
- type TaobaoEticketMerchantMaConsumeAPIResponseModel
- type TaobaoEticketMerchantMaDelayAPIRequest
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetAttributeMap() string
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetCode() string
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetEndDate() string
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaDelayAPIRequest) GetRequestId() string
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetAttributeMap(_attributeMap string) error
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetCode(_code string) error
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetRequestId(_requestId string) error
- type TaobaoEticketMerchantMaDelayAPIResponse
- type TaobaoEticketMerchantMaDelayAPIResponseModel
- type TaobaoEticketMerchantMaFailsendAPIRequest
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrCode() string
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrMsg() string
- func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrCode(_subErrCode string) error
- func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetSubErrMsg(_subErrMsg string) error
- func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaFailsendAPIResponse
- type TaobaoEticketMerchantMaFailsendAPIResponseModel
- type TaobaoEticketMerchantMaResendAPIRequest
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetIsvMaList() []IsvMa
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaResendAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaResendAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaResendAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error
- func (r *TaobaoEticketMerchantMaResendAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaResendAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaResendAPIResponse
- type TaobaoEticketMerchantMaResendAPIResponseModel
- type TaobaoEticketMerchantMaReverseAPIRequest
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetCode() string
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetPosId() string
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetReverseNum() int64
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetSerialNum() string
- func (r TaobaoEticketMerchantMaReverseAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetCode(_code string) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetPosId(_posId string) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetReverseNum(_reverseNum int64) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetSerialNum(_serialNum string) error
- func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaReverseAPIResponse
- type TaobaoEticketMerchantMaReverseAPIResponseModel
- type TaobaoEticketMerchantMaSendAPIRequest
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetBizType() int64
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetIsvMaList() []IsvMa
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetOuterId() string
- func (r TaobaoEticketMerchantMaSendAPIRequest) GetToken() string
- func (r *TaobaoEticketMerchantMaSendAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoEticketMerchantMaSendAPIRequest) SetIsvMaList(_isvMaList []IsvMa) error
- func (r *TaobaoEticketMerchantMaSendAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoEticketMerchantMaSendAPIRequest) SetToken(_token string) error
- type TaobaoEticketMerchantMaSendAPIResponse
- type TaobaoEticketMerchantMaSendAPIResponseModel
- type TaobaoEticketMerchantTbmaGetAPIRequest
- func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetApiMethodName() string
- func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetQueryTbMaCallbackReq() *QueryTbMaCallbackReq
- func (r *TaobaoEticketMerchantTbmaGetAPIRequest) SetQueryTbMaCallbackReq(_queryTbMaCallbackReq *QueryTbMaCallbackReq) error
- type TaobaoEticketMerchantTbmaGetAPIResponse
- type TaobaoEticketMerchantTbmaGetAPIResponseModel
- type TaobaoVmarketEticketAuthBeforeconsumeAPIRequest
- func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetOperatorid() string
- func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetStoreid() string
- func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetVerifyCode() string
- func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetOperatorid(_operatorid string) error
- func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetStoreid(_storeid string) error
- func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetVerifyCode(_verifyCode string) error
- type TaobaoVmarketEticketAuthBeforeconsumeAPIResponse
- type TaobaoVmarketEticketAuthBeforeconsumeAPIResponseModel
- type TaobaoVmarketEticketAuthConsumeAPIRequest
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetConsumeNum() int64
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetOperatorid() string
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetSerialNum() string
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetStoreid() string
- func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetVerifyCode() string
- func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error
- func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetOperatorid(_operatorid string) error
- func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetSerialNum(_serialNum string) error
- func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetStoreid(_storeid string) error
- func (r *TaobaoVmarketEticketAuthConsumeAPIRequest) SetVerifyCode(_verifyCode string) error
- type TaobaoVmarketEticketAuthConsumeAPIResponse
- type TaobaoVmarketEticketAuthConsumeAPIResponseModel
- type TaobaoVmarketEticketBeforeconsumeAPIRequest
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetMobile() string
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetPosid() string
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetToken() string
- func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetVerifyCode() string
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetPosid(_posid string) error
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetToken(_token string) error
- func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetVerifyCode(_verifyCode string) error
- type TaobaoVmarketEticketBeforeconsumeAPIResponse
- type TaobaoVmarketEticketBeforeconsumeAPIResponseModel
- type TaobaoVmarketEticketCardConsumecardAPIRequest
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetBuyerNick() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardId() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardLevel() int64
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeCode() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeSerialNum() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeValue() int64
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetOperatorId() int64
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetReason() string
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetStoreId() int64
- func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetToken() string
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardId(_cardId string) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardLevel(_cardLevel int64) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeCode(_consumeCode string) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeSerialNum(_consumeSerialNum string) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeValue(_consumeValue int64) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetOperatorId(_operatorId int64) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetReason(_reason string) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetStoreId(_storeId int64) error
- func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetToken(_token string) error
- type TaobaoVmarketEticketCardConsumecardAPIResponse
- type TaobaoVmarketEticketCardConsumecardAPIResponseModel
- type TaobaoVmarketEticketCodesGetAPIRequest
- func (r TaobaoVmarketEticketCodesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketCodesGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketCodesGetAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketCodesGetAPIRequest) GetOrderId() int64
- func (r *TaobaoVmarketEticketCodesGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketCodesGetAPIRequest) SetOrderId(_orderId int64) error
- type TaobaoVmarketEticketCodesGetAPIResponse
- type TaobaoVmarketEticketCodesGetAPIResponseModel
- type TaobaoVmarketEticketConsumeAPIRequest
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetConsumeNum() int64
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetMobile() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetNewCode() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetPosid() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetQrImages() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetSerialNum() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetToken() string
- func (r TaobaoVmarketEticketConsumeAPIRequest) GetVerifyCode() string
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetConsumeNum(_consumeNum int64) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetNewCode(_newCode string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetPosid(_posid string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetQrImages(_qrImages string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetSerialNum(_serialNum string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetToken(_token string) error
- func (r *TaobaoVmarketEticketConsumeAPIRequest) SetVerifyCode(_verifyCode string) error
- type TaobaoVmarketEticketConsumeAPIResponse
- type TaobaoVmarketEticketConsumeAPIResponseModel
- type TaobaoVmarketEticketFailsendAPIRequest
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetErrorCode() int64
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetErrorMsg() string
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketFailsendAPIRequest) GetToken() string
- func (r *TaobaoVmarketEticketFailsendAPIRequest) SetErrorCode(_errorCode int64) error
- func (r *TaobaoVmarketEticketFailsendAPIRequest) SetErrorMsg(_errorMsg string) error
- func (r *TaobaoVmarketEticketFailsendAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketFailsendAPIRequest) SetToken(_token string) error
- type TaobaoVmarketEticketFailsendAPIResponse
- type TaobaoVmarketEticketFailsendAPIResponseModel
- type TaobaoVmarketEticketFlowConsumeAPIRequest
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetBizType() int64
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetCode() string
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetOperator() string
- func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetOuterId() string
- func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetCode(_code string) error
- func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetOuterId(_outerId string) error
- type TaobaoVmarketEticketFlowConsumeAPIResponse
- type TaobaoVmarketEticketFlowConsumeAPIResponseModel
- type TaobaoVmarketEticketFlowResendAPIRequest
- func (r TaobaoVmarketEticketFlowResendAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketFlowResendAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketFlowResendAPIRequest) GetBizType() int64
- func (r TaobaoVmarketEticketFlowResendAPIRequest) GetOuterId() string
- func (r *TaobaoVmarketEticketFlowResendAPIRequest) SetBizType(_bizType int64) error
- func (r *TaobaoVmarketEticketFlowResendAPIRequest) SetOuterId(_outerId string) error
- type TaobaoVmarketEticketFlowResendAPIResponse
- type TaobaoVmarketEticketFlowResendAPIResponseModel
- type TaobaoVmarketEticketManageNotifyAPIRequest
- func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetNotifyMethod() string
- func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetOrderId() int64
- func (r *TaobaoVmarketEticketManageNotifyAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketManageNotifyAPIRequest) SetNotifyMethod(_notifyMethod string) error
- func (r *TaobaoVmarketEticketManageNotifyAPIRequest) SetOrderId(_orderId int64) error
- type TaobaoVmarketEticketManageNotifyAPIResponse
- type TaobaoVmarketEticketManageNotifyAPIResponseModel
- type TaobaoVmarketEticketOplogsGetAPIRequest
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetCode() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetEndTime() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetMobile() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPageNo() int64
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPageSize() int64
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPosid() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetSort() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetStartTime() string
- func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetType() int64
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetCode(_code string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPosid(_posid string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetSort(_sort string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetType(_type int64) error
- type TaobaoVmarketEticketOplogsGetAPIResponse
- type TaobaoVmarketEticketOplogsGetAPIResponseModel
- type TaobaoVmarketEticketPackageBaseGetAPIRequest
- func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetPackageId() int64
- func (r *TaobaoVmarketEticketPackageBaseGetAPIRequest) SetPackageId(_packageId int64) error
- type TaobaoVmarketEticketPackageBaseGetAPIResponse
- type TaobaoVmarketEticketPackageBaseGetAPIResponseModel
- type TaobaoVmarketEticketPackageBaseListGetAPIRequest
- type TaobaoVmarketEticketPackageBaseListGetAPIResponse
- type TaobaoVmarketEticketPackageBaseListGetAPIResponseModel
- type TaobaoVmarketEticketQrcodeUploadAPIRequest
- func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetCodeMerchantId() int64
- func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetImgBytes() *model.File
- func (r *TaobaoVmarketEticketQrcodeUploadAPIRequest) SetCodeMerchantId(_codeMerchantId int64) error
- func (r *TaobaoVmarketEticketQrcodeUploadAPIRequest) SetImgBytes(_imgBytes *model.File) error
- type TaobaoVmarketEticketQrcodeUploadAPIResponse
- type TaobaoVmarketEticketQrcodeUploadAPIResponseModel
- type TaobaoVmarketEticketResendAPIRequest
- func (r TaobaoVmarketEticketResendAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketResendAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketResendAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketResendAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketResendAPIRequest) GetQrImages() string
- func (r TaobaoVmarketEticketResendAPIRequest) GetToken() string
- func (r TaobaoVmarketEticketResendAPIRequest) GetVerifyCodes() string
- func (r *TaobaoVmarketEticketResendAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketResendAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketResendAPIRequest) SetQrImages(_qrImages string) error
- func (r *TaobaoVmarketEticketResendAPIRequest) SetToken(_token string) error
- func (r *TaobaoVmarketEticketResendAPIRequest) SetVerifyCodes(_verifyCodes string) error
- type TaobaoVmarketEticketResendAPIResponse
- type TaobaoVmarketEticketResendAPIResponseModel
- type TaobaoVmarketEticketReverseAPIRequest
- func (r TaobaoVmarketEticketReverseAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketReverseAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketReverseAPIRequest) GetConsumeSecialNum() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketReverseAPIRequest) GetPosid() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetQrImages() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetReverseCode() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetReverseNum() int64
- func (r TaobaoVmarketEticketReverseAPIRequest) GetToken() string
- func (r TaobaoVmarketEticketReverseAPIRequest) GetVerifyCodes() string
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetConsumeSecialNum(_consumeSecialNum string) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetPosid(_posid string) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetQrImages(_qrImages string) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetReverseCode(_reverseCode string) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetReverseNum(_reverseNum int64) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetToken(_token string) error
- func (r *TaobaoVmarketEticketReverseAPIRequest) SetVerifyCodes(_verifyCodes string) error
- type TaobaoVmarketEticketReverseAPIResponse
- type TaobaoVmarketEticketReverseAPIResponseModel
- type TaobaoVmarketEticketSendAPIRequest
- func (r TaobaoVmarketEticketSendAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketSendAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketSendAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketSendAPIRequest) GetOrderId() int64
- func (r TaobaoVmarketEticketSendAPIRequest) GetQrImages() string
- func (r TaobaoVmarketEticketSendAPIRequest) GetToken() string
- func (r TaobaoVmarketEticketSendAPIRequest) GetVerifyCodes() string
- func (r *TaobaoVmarketEticketSendAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketSendAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoVmarketEticketSendAPIRequest) SetQrImages(_qrImages string) error
- func (r *TaobaoVmarketEticketSendAPIRequest) SetToken(_token string) error
- func (r *TaobaoVmarketEticketSendAPIRequest) SetVerifyCodes(_verifyCodes string) error
- type TaobaoVmarketEticketSendAPIResponse
- type TaobaoVmarketEticketSendAPIResponseModel
- type TaobaoVmarketEticketStoreGetAPIRequest
- type TaobaoVmarketEticketStoreGetAPIResponse
- type TaobaoVmarketEticketStoreGetAPIResponseModel
- type TaobaoVmarketEticketTasksGetAPIRequest
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetCodemerchantId() int64
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetPageNo() int64
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetPageSize() int64
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetSellerId() int64
- func (r TaobaoVmarketEticketTasksGetAPIRequest) GetType() int64
- func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetCodemerchantId(_codemerchantId int64) error
- func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetSellerId(_sellerId int64) error
- func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetType(_type int64) error
- type TaobaoVmarketEticketTasksGetAPIResponse
- type TaobaoVmarketEticketTasksGetAPIResponseModel
- type TaobaoVmarketEticketTimeExpandAPIRequest
- func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetApiMethodName() string
- func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetApiParams() url.Values
- func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetExpandDays() int64
- func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetOrderId() int64
- func (r *TaobaoVmarketEticketTimeExpandAPIRequest) SetExpandDays(_expandDays int64) error
- func (r *TaobaoVmarketEticketTimeExpandAPIRequest) SetOrderId(_orderId int64) error
- type TaobaoVmarketEticketTimeExpandAPIResponse
- type TaobaoVmarketEticketTimeExpandAPIResponseModel
- type UploadImgCallbackResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct { // itemId ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` }
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 结构体
type ConsumeMaCallbackResp ¶
type ConsumeMaCallbackResp struct { // 业务回复KV AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"` }
ConsumeMaCallbackResp 结构体
type EticketCode ¶
type EticketCode struct { // 电子凭证码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 二维码的图片地址 QrcodeUrl string `json:"qrcode_url,omitempty" xml:"qrcode_url,omitempty"` // 订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 可用数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 码状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
EticketCode 结构体
type EticketOpLog ¶
type EticketOpLog struct { // 操作员身份ID PosId string `json:"pos_id,omitempty" xml:"pos_id,omitempty"` // 操作流水号 ConsumeSerialNum string `json:"consume_serial_num,omitempty" xml:"consume_serial_num,omitempty"` // 操作时间 OpTime string `json:"op_time,omitempty" xml:"op_time,omitempty"` // 手机号码后四位 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 操作数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 操作金额 Amount float64 `json:"amount,omitempty" xml:"amount,omitempty"` // 操作类型 1:核销 2:冲正 OpType int64 `json:"op_type,omitempty" xml:"op_type,omitempty"` }
EticketOpLog 结构体
type EticketTask ¶
type EticketTask struct { // 订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
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 结构体
type PackageBase ¶
type PackageBase struct { // 备注 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 包名 PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"` // 如果是宝贝分账,即billType为2,则必须填写宝贝分账模板 (key-value 格式, 以 ; 分隔) AccountToBillMapStr string `json:"account_to_bill_map_str,omitempty" xml:"account_to_bill_map_str,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 发码码商名字 SendMerchantName string `json:"send_merchant_name,omitempty" xml:"send_merchant_name,omitempty"` // 核销码商id ConsumeMerchantId string `json:"consume_merchant_id,omitempty" xml:"consume_merchant_id,omitempty"` // 核销码商名字 ConsumeMerchantName string `json:"consume_merchant_name,omitempty" xml:"consume_merchant_name,omitempty"` // 包分账类型 0:不分账,1:门店分账,2:宝贝分账,3:账号分账。 BillType int64 `json:"bill_type,omitempty" xml:"bill_type,omitempty"` // 卖家ID SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 发码类型 0 不发码,1 淘宝发码, 2 信任卖家发码, 3 码商发码, 4 码库发码 SendType int64 `json:"send_type,omitempty" xml:"send_type,omitempty"` // 是否核销放行 0:不核销放行,1:核销放行 IsConsumePass int64 `json:"is_consume_pass,omitempty" xml:"is_consume_pass,omitempty"` // 是否关联门店:0:不关联,1:关联 HasPos int64 `json:"has_pos,omitempty" xml:"has_pos,omitempty"` // 系统自动生成,传入无效 Version int64 `json:"version,omitempty" xml:"version,omitempty"` // 系统自动生成,传入无效 BillVersion int64 `json:"bill_version,omitempty" xml:"bill_version,omitempty"` // 发码方 0:淘宝,码商userId:码商,poolId:码池 SendId int64 `json:"send_id,omitempty" xml:"send_id,omitempty"` // 是否支持子账号核销:0不支持,1支持 IsSubaccount int64 `json:"is_subaccount,omitempty" xml:"is_subaccount,omitempty"` // 是否支持身份证核销:0:不支持,1:支持 IsIdCard int64 `json:"is_id_card,omitempty" xml:"is_id_card,omitempty"` // 系统自动生成,传入无效 PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"` }
PackageBase 结构体
type PackageResult ¶
type PackageResult struct { // 包基本信息列表 PackageBaseList []PackageBase `json:"package_base_list,omitempty" xml:"package_base_list>package_base,omitempty"` // 操作结果信息 Info string `json:"info,omitempty" xml:"info,omitempty"` // 操作结果码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 包基本信息 PackageBase *PackageBase `json:"package_base,omitempty" xml:"package_base,omitempty"` // 操作是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
PackageResult 结构体
type QueryTbMaCallbackReq ¶
type QueryTbMaCallbackReq struct { // 淘宝码值 Code string `json:"code,omitempty" xml:"code,omitempty"` }
QueryTbMaCallbackReq 结构体
type QueryTbMaCallbackResp ¶
type QueryTbMaCallbackResp struct { // certificateDTO Certificate *CertificateDto `json:"certificate,omitempty" xml:"certificate,omitempty"` }
QueryTbMaCallbackResp 结构体
type ReverseMaCallbackResp ¶
type ReverseMaCallbackResp struct { // 业务参数KV AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"` }
ReverseMaCallbackResp 结构体
type SendFailCallbackResp ¶
type SendFailCallbackResp struct { // 回复业务KV AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"` }
SendFailCallbackResp 结构体
type SendMaCallbackResp ¶
type SendMaCallbackResp struct { // 回复业务KV AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"` }
SendMaCallbackResp 结构体
type TaobaoEticketMerchantImgUploadAPIRequest ¶
type TaobaoEticketMerchantImgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantImgUploadAPIRequest 码商上传二维码图片 API请求 taobao.eticket.merchant.img.upload
电子凭证的码商可以通过这个接口,上传二维码图片
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantImgUploadAPIRequest) GetImgBytes ¶
func (r TaobaoEticketMerchantImgUploadAPIRequest) GetImgBytes() *model.File
GetImgBytes ImgBytes Getter
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
电子凭证的码商可以通过这个接口,上传二维码图片
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 码商上传二维码图片 成功返回结果
type TaobaoEticketMerchantMaAvailableAPIRequest ¶
type TaobaoEticketMerchantMaAvailableAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaAvailableAPIRequest 电子凭证核销前校验接口 API请求 taobao.eticket.merchant.ma.available
商家验码之前的调用接口,用来判断是否可以进行核销操作
func NewTaobaoEticketMerchantMaAvailableRequest ¶
func NewTaobaoEticketMerchantMaAvailableRequest() *TaobaoEticketMerchantMaAvailableAPIRequest
NewTaobaoEticketMerchantMaAvailableRequest 初始化TaobaoEticketMerchantMaAvailableAPIRequest对象
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetApiMethodName ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetApiParams ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetCode ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetConsumeNum ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetConsumeNum() int64
GetConsumeNum ConsumeNum Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetPosId ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetPosId() string
GetPosId PosId Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetSerialNum ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetSerialNum() string
GetSerialNum SerialNum Getter
func (TaobaoEticketMerchantMaAvailableAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaAvailableAPIRequest) GetToken() string
GetToken Token Getter
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetBizType ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetBizType(_bizType int64) error
SetBizType is BizType Setter 业务类型
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetCode ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetCode(_code string) error
SetCode is Code Setter 需要被核销的码
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetConsumeNum ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetConsumeNum(_consumeNum int64) error
SetConsumeNum is ConsumeNum Setter 核销份数
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetOuterId ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 业务id(订单号)
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetPosId ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetPosId(_posId string) error
SetPosId is PosId Setter 机具编号
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetSerialNum ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetSerialNum(_serialNum string) error
SetSerialNum is SerialNum Setter 核销序列号,需要保证唯一
func (*TaobaoEticketMerchantMaAvailableAPIRequest) SetToken ¶
func (r *TaobaoEticketMerchantMaAvailableAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要跟发码通知获取到的参数一致
type TaobaoEticketMerchantMaAvailableAPIResponse ¶
type TaobaoEticketMerchantMaAvailableAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaAvailableAPIResponseModel }
TaobaoEticketMerchantMaAvailableAPIResponse 电子凭证核销前校验接口 API返回值 taobao.eticket.merchant.ma.available
商家验码之前的调用接口,用来判断是否可以进行核销操作
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 电子凭证核销前校验接口 成功返回结果
type TaobaoEticketMerchantMaConsumeAPIRequest ¶
type TaobaoEticketMerchantMaConsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaConsumeAPIRequest 电子凭证核销接口 API请求 taobao.eticket.merchant.ma.consume
电子凭证核销接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetCode ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetConsumeNum ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetConsumeNum() int64
GetConsumeNum ConsumeNum Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetIsvMaList ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetIsvMaList() []IsvMa
GetIsvMaList IsvMaList Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetPosId ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetPosId() string
GetPosId PosId Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetSerialNum ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetSerialNum() string
GetSerialNum SerialNum Getter
func (TaobaoEticketMerchantMaConsumeAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaConsumeAPIRequest) GetToken() string
GetToken Token Getter
func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetBizType ¶
func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetBizType(_bizType int64) error
SetBizType is BizType Setter 业务类型
func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetCode ¶
func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetCode(_code string) error
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 ¶
func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetPosId(_posId string) error
SetPosId is PosId Setter 机具编号
func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetSerialNum ¶
func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetSerialNum(_serialNum string) error
SetSerialNum is SerialNum Setter 核销序列号,需要保证唯一
func (*TaobaoEticketMerchantMaConsumeAPIRequest) SetToken ¶
func (r *TaobaoEticketMerchantMaConsumeAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要跟发码通知获取到的参数一致
type TaobaoEticketMerchantMaConsumeAPIResponse ¶
type TaobaoEticketMerchantMaConsumeAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaConsumeAPIResponseModel }
TaobaoEticketMerchantMaConsumeAPIResponse 电子凭证核销接口 API返回值 taobao.eticket.merchant.ma.consume
电子凭证核销接口
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 电子凭证核销接口 成功返回结果
type TaobaoEticketMerchantMaDelayAPIRequest ¶
type TaobaoEticketMerchantMaDelayAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaDelayAPIRequest 凭证延期 API请求 taobao.eticket.merchant.ma.delay
订单延期
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaDelayAPIRequest) GetAttributeMap ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetAttributeMap() string
GetAttributeMap AttributeMap Getter
func (TaobaoEticketMerchantMaDelayAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaDelayAPIRequest) GetCode ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoEticketMerchantMaDelayAPIRequest) GetEndDate ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoEticketMerchantMaDelayAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaDelayAPIRequest) GetRequestId ¶
func (r TaobaoEticketMerchantMaDelayAPIRequest) GetRequestId() string
GetRequestId RequestId Getter
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 ¶
func (r *TaobaoEticketMerchantMaDelayAPIRequest) SetCode(_code string) error
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
订单延期
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 凭证延期 成功返回结果
type TaobaoEticketMerchantMaFailsendAPIRequest ¶
type TaobaoEticketMerchantMaFailsendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaFailsendAPIRequest 码商发码失败回调接口 API请求 taobao.eticket.merchant.ma.failsend
针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证
func NewTaobaoEticketMerchantMaFailsendRequest ¶
func NewTaobaoEticketMerchantMaFailsendRequest() *TaobaoEticketMerchantMaFailsendAPIRequest
NewTaobaoEticketMerchantMaFailsendRequest 初始化TaobaoEticketMerchantMaFailsendAPIRequest对象
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetApiMethodName ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetApiParams ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrCode ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrCode() string
GetSubErrCode SubErrCode Getter
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrMsg ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetSubErrMsg() string
GetSubErrMsg SubErrMsg Getter
func (TaobaoEticketMerchantMaFailsendAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaFailsendAPIRequest) GetToken() string
GetToken Token Getter
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 ¶
func (r *TaobaoEticketMerchantMaFailsendAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要与发码通知获取的值一致
type TaobaoEticketMerchantMaFailsendAPIResponse ¶
type TaobaoEticketMerchantMaFailsendAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaFailsendAPIResponseModel }
TaobaoEticketMerchantMaFailsendAPIResponse 码商发码失败回调接口 API返回值 taobao.eticket.merchant.ma.failsend
针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证
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 码商发码失败回调接口 成功返回结果
type TaobaoEticketMerchantMaResendAPIRequest ¶
type TaobaoEticketMerchantMaResendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaResendAPIRequest 电子凭证重发回调接口 API请求 taobao.eticket.merchant.ma.resend
码商重发电子凭证回调接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaResendAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaResendAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaResendAPIRequest) GetIsvMaList ¶
func (r TaobaoEticketMerchantMaResendAPIRequest) GetIsvMaList() []IsvMa
GetIsvMaList IsvMaList Getter
func (TaobaoEticketMerchantMaResendAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaResendAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaResendAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaResendAPIRequest) GetToken() string
GetToken Token Getter
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 ¶
func (r *TaobaoEticketMerchantMaResendAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要跟发码通知获取到的参数一致
type TaobaoEticketMerchantMaResendAPIResponse ¶
type TaobaoEticketMerchantMaResendAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaResendAPIResponseModel }
TaobaoEticketMerchantMaResendAPIResponse 电子凭证重发回调接口 API返回值 taobao.eticket.merchant.ma.resend
码商重发电子凭证回调接口
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 电子凭证重发回调接口 成功返回结果
type TaobaoEticketMerchantMaReverseAPIRequest ¶
type TaobaoEticketMerchantMaReverseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaReverseAPIRequest 电子凭证冲正接口 API请求 taobao.eticket.merchant.ma.reverse
电子凭证平台冲正接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaReverseAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetCode ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetPosId ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetPosId() string
GetPosId PosId Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetReverseNum ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetReverseNum() int64
GetReverseNum ReverseNum Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetSerialNum ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetSerialNum() string
GetSerialNum SerialNum Getter
func (TaobaoEticketMerchantMaReverseAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaReverseAPIRequest) GetToken() string
GetToken Token Getter
func (*TaobaoEticketMerchantMaReverseAPIRequest) SetBizType ¶
func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetBizType(_bizType int64) error
SetBizType is BizType Setter 业务类型
func (*TaobaoEticketMerchantMaReverseAPIRequest) SetCode ¶
func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetCode(_code string) error
SetCode is Code Setter 码值
func (*TaobaoEticketMerchantMaReverseAPIRequest) SetOuterId ¶
func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 业务id(订单号)
func (*TaobaoEticketMerchantMaReverseAPIRequest) SetPosId ¶
func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetPosId(_posId string) error
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 ¶
func (r *TaobaoEticketMerchantMaReverseAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要跟发码通知获取到的参数一致
type TaobaoEticketMerchantMaReverseAPIResponse ¶
type TaobaoEticketMerchantMaReverseAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaReverseAPIResponseModel }
TaobaoEticketMerchantMaReverseAPIResponse 电子凭证冲正接口 API返回值 taobao.eticket.merchant.ma.reverse
电子凭证平台冲正接口
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 电子凭证冲正接口 成功返回结果
type TaobaoEticketMerchantMaSendAPIRequest ¶
type TaobaoEticketMerchantMaSendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantMaSendAPIRequest 码商发码成功回调接口 API请求 taobao.eticket.merchant.ma.send
码商发码成功回调接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantMaSendAPIRequest) GetBizType ¶
func (r TaobaoEticketMerchantMaSendAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoEticketMerchantMaSendAPIRequest) GetIsvMaList ¶
func (r TaobaoEticketMerchantMaSendAPIRequest) GetIsvMaList() []IsvMa
GetIsvMaList IsvMaList Getter
func (TaobaoEticketMerchantMaSendAPIRequest) GetOuterId ¶
func (r TaobaoEticketMerchantMaSendAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoEticketMerchantMaSendAPIRequest) GetToken ¶
func (r TaobaoEticketMerchantMaSendAPIRequest) GetToken() string
GetToken Token Getter
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 ¶
func (r *TaobaoEticketMerchantMaSendAPIRequest) SetToken(_token string) error
SetToken is Token Setter 需要跟发码通知获取到的参数一致
type TaobaoEticketMerchantMaSendAPIResponse ¶
type TaobaoEticketMerchantMaSendAPIResponse struct { model.CommonResponse TaobaoEticketMerchantMaSendAPIResponseModel }
TaobaoEticketMerchantMaSendAPIResponse 码商发码成功回调接口 API返回值 taobao.eticket.merchant.ma.send
码商发码成功回调接口
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 码商发码成功回调接口 成功返回结果
type TaobaoEticketMerchantTbmaGetAPIRequest ¶
type TaobaoEticketMerchantTbmaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoEticketMerchantTbmaGetAPIRequest 码商查询淘宝码接口 API请求 taobao.eticket.merchant.tbma.get
码商查询淘宝码接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoEticketMerchantTbmaGetAPIRequest) GetQueryTbMaCallbackReq ¶
func (r TaobaoEticketMerchantTbmaGetAPIRequest) GetQueryTbMaCallbackReq() *QueryTbMaCallbackReq
GetQueryTbMaCallbackReq QueryTbMaCallbackReq Getter
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
码商查询淘宝码接口
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 码商查询淘宝码接口 成功返回结果
type TaobaoVmarketEticketAuthBeforeconsumeAPIRequest ¶
type TaobaoVmarketEticketAuthBeforeconsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketAuthBeforeconsumeAPIRequest 核销放行的查询接口 API请求 taobao.vmarket.eticket.auth.beforeconsume
针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销查询接口
func NewTaobaoVmarketEticketAuthBeforeconsumeRequest ¶
func NewTaobaoVmarketEticketAuthBeforeconsumeRequest() *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest
NewTaobaoVmarketEticketAuthBeforeconsumeRequest 初始化TaobaoVmarketEticketAuthBeforeconsumeAPIRequest对象
func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetOperatorid ¶
func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetOperatorid() string
GetOperatorid Operatorid Getter
func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetStoreid ¶
func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetStoreid() string
GetStoreid Storeid Getter
func (TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetVerifyCode ¶
func (r TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) GetVerifyCode() string
GetVerifyCode VerifyCode Getter
func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetOperatorid ¶
func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetOperatorid(_operatorid string) error
SetOperatorid is Operatorid Setter 核销方的ID,如果是普通码商必须传入机具ID,如果是私有码商家(即原有的信任商家)可默认传入私有码商ID
func (*TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetStoreid ¶
func (r *TaobaoVmarketEticketAuthBeforeconsumeAPIRequest) SetStoreid(_storeid string) error
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电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销查询接口
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"` // 有效期开始时间 ValidStart string `json:"valid_start,omitempty" xml:"valid_start,omitempty"` // 有效期结束时间 ValidEnds string `json:"valid_ends,omitempty" xml:"valid_ends,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 核销放行的查询接口 成功返回结果
type TaobaoVmarketEticketAuthConsumeAPIRequest ¶
type TaobaoVmarketEticketAuthConsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketAuthConsumeAPIRequest 核销放行的核销接口 API请求 taobao.vmarket.eticket.auth.consume
针对O2O电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销接口
func NewTaobaoVmarketEticketAuthConsumeRequest ¶
func NewTaobaoVmarketEticketAuthConsumeRequest() *TaobaoVmarketEticketAuthConsumeAPIRequest
NewTaobaoVmarketEticketAuthConsumeRequest 初始化TaobaoVmarketEticketAuthConsumeAPIRequest对象
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetConsumeNum ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetConsumeNum() int64
GetConsumeNum ConsumeNum Getter
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetOperatorid ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetOperatorid() string
GetOperatorid Operatorid Getter
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetSerialNum ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetSerialNum() string
GetSerialNum SerialNum Getter
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetStoreid ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetStoreid() string
GetStoreid Storeid Getter
func (TaobaoVmarketEticketAuthConsumeAPIRequest) GetVerifyCode ¶
func (r TaobaoVmarketEticketAuthConsumeAPIRequest) GetVerifyCode() string
GetVerifyCode VerifyCode Getter
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电子凭证核销放行业务,为满足码商能够核销淘宝码而开放的核销接口
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 核销放行的核销接口 成功返回结果
type TaobaoVmarketEticketBeforeconsumeAPIRequest ¶
type TaobaoVmarketEticketBeforeconsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketBeforeconsumeAPIRequest 电子凭证验码前置确认 API请求 taobao.vmarket.eticket.beforeconsume
商家验码之前的调用接口,用来同步到最新的订单状态并判断是否可以进行验码操作
func NewTaobaoVmarketEticketBeforeconsumeRequest ¶
func NewTaobaoVmarketEticketBeforeconsumeRequest() *TaobaoVmarketEticketBeforeconsumeAPIRequest
NewTaobaoVmarketEticketBeforeconsumeRequest 初始化TaobaoVmarketEticketBeforeconsumeAPIRequest对象
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetMobile ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetPosid ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetPosid() string
GetPosid Posid Getter
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetToken() string
GetToken Token Getter
func (TaobaoVmarketEticketBeforeconsumeAPIRequest) GetVerifyCode ¶
func (r TaobaoVmarketEticketBeforeconsumeAPIRequest) GetVerifyCode() string
GetVerifyCode VerifyCode Getter
func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetCodemerchantId ¶
func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetCodemerchantId(_codemerchantId int64) error
SetCodemerchantId is CodemerchantId Setter 码商ID,是码商的话必须传递,如果是信任卖家不需要传
func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetMobile ¶
func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 手机号码后四位,没有特殊说明请不要传
func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetOrderId ¶
func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 需要验码的电子凭证订单ID
func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetPosid ¶
func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetPosid(_posid string) error
SetPosid is Posid Setter 操作员身份ID,如果是码商必须传,如果是信任卖家不需要传
func (*TaobaoVmarketEticketBeforeconsumeAPIRequest) SetToken ¶
func (r *TaobaoVmarketEticketBeforeconsumeAPIRequest) SetToken(_token string) error
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
商家验码之前的调用接口,用来同步到最新的订单状态并判断是否可以进行验码操作
type TaobaoVmarketEticketBeforeconsumeAPIResponseModel ¶
type TaobaoVmarketEticketBeforeconsumeAPIResponseModel struct { XMLName xml.Name `xml:"vmarket_eticket_beforeconsume_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 扩展字段,暂时预留为0,没有任何意义 LeftAmount string `json:"left_amount,omitempty" xml:"left_amount,omitempty"` // 有效期开始时间 ValidStart string `json:"valid_start,omitempty" xml:"valid_start,omitempty"` // 有效期结束时间 ValidEnds string `json:"valid_ends,omitempty" xml:"valid_ends,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 电子凭证验码前置确认 成功返回结果
type TaobaoVmarketEticketCardConsumecardAPIRequest ¶
type TaobaoVmarketEticketCardConsumecardAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketCardConsumecardAPIRequest 电子凭证储值卡核销 API请求 taobao.vmarket.eticket.card.consumecard
线下商户核销时,ISV调用电子凭证的isv接口来对电子凭证储值卡核销对应金额
func NewTaobaoVmarketEticketCardConsumecardRequest ¶
func NewTaobaoVmarketEticketCardConsumecardRequest() *TaobaoVmarketEticketCardConsumecardAPIRequest
NewTaobaoVmarketEticketCardConsumecardRequest 初始化TaobaoVmarketEticketCardConsumecardAPIRequest对象
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetBuyerNick ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardId ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardId() string
GetCardId CardId Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardLevel ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetCardLevel() int64
GetCardLevel CardLevel Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeCode ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeCode() string
GetConsumeCode ConsumeCode Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeSerialNum ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeSerialNum() string
GetConsumeSerialNum ConsumeSerialNum Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeValue ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetConsumeValue() int64
GetConsumeValue ConsumeValue Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetOperatorId ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetOperatorId() int64
GetOperatorId OperatorId Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetReason ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetReason() string
GetReason Reason Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetStoreId ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetStoreId() int64
GetStoreId StoreId Getter
func (TaobaoVmarketEticketCardConsumecardAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketCardConsumecardAPIRequest) GetToken() string
GetToken Token Getter
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetBuyerNick ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardId ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardId(_cardId string) error
SetCardId is CardId Setter 卡号
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardLevel ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetCardLevel(_cardLevel int64) error
SetCardLevel is CardLevel Setter 卡内等级
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeCode ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeCode(_consumeCode string) error
SetConsumeCode is ConsumeCode Setter 核销code
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeSerialNum ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeSerialNum(_consumeSerialNum string) error
SetConsumeSerialNum is ConsumeSerialNum Setter 核销流水号,外部ISV全局唯一
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeValue ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetConsumeValue(_consumeValue int64) error
SetConsumeValue is ConsumeValue Setter 核销金额,精确到分,例如1.99元=199
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetOperatorId ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetOperatorId(_operatorId int64) error
SetOperatorId is OperatorId Setter 操作人id
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetReason ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 核销原因
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetStoreId ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetStoreId(_storeId int64) error
SetStoreId is StoreId Setter 门店id
func (*TaobaoVmarketEticketCardConsumecardAPIRequest) SetToken ¶
func (r *TaobaoVmarketEticketCardConsumecardAPIRequest) SetToken(_token string) error
SetToken is Token Setter 安全token
type TaobaoVmarketEticketCardConsumecardAPIResponse ¶
type TaobaoVmarketEticketCardConsumecardAPIResponse struct { model.CommonResponse TaobaoVmarketEticketCardConsumecardAPIResponseModel }
TaobaoVmarketEticketCardConsumecardAPIResponse 电子凭证储值卡核销 API返回值 taobao.vmarket.eticket.card.consumecard
线下商户核销时,ISV调用电子凭证的isv接口来对电子凭证储值卡核销对应金额
type TaobaoVmarketEticketCardConsumecardAPIResponseModel ¶
type TaobaoVmarketEticketCardConsumecardAPIResponseModel struct { XMLName xml.Name `xml:"vmarket_eticket_card_consumecard_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 正确返回值 Resultcode int64 `json:"resultcode,omitempty" xml:"resultcode,omitempty"` }
TaobaoVmarketEticketCardConsumecardAPIResponseModel is 电子凭证储值卡核销 成功返回结果
type TaobaoVmarketEticketCodesGetAPIRequest ¶
type TaobaoVmarketEticketCodesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketCodesGetAPIRequest 电子凭证码列表查询 API请求 taobao.vmarket.eticket.codes.get
查询某个订单的所有码的列表
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketCodesGetAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketCodesGetAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketCodesGetAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketCodesGetAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
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
查询某个订单的所有码的列表
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 电子凭证码列表查询 成功返回结果
type TaobaoVmarketEticketConsumeAPIRequest ¶
type TaobaoVmarketEticketConsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketConsumeAPIRequest 电子票券消费通知 API请求 taobao.vmarket.eticket.consume
外部合作商家电子票券消费回调接口
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() 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 ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetNewCode ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetNewCode() string
GetNewCode NewCode Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetPosid ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetPosid() string
GetPosid Posid Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetQrImages ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetQrImages() string
GetQrImages QrImages Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetSerialNum ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetSerialNum() string
GetSerialNum SerialNum Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetToken() string
GetToken Token Getter
func (TaobaoVmarketEticketConsumeAPIRequest) GetVerifyCode ¶
func (r TaobaoVmarketEticketConsumeAPIRequest) GetVerifyCode() string
GetVerifyCode VerifyCode Getter
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 ¶
func (r *TaobaoVmarketEticketConsumeAPIRequest) SetPosid(_posid string) error
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 ¶
func (r *TaobaoVmarketEticketConsumeAPIRequest) SetToken(_token string) error
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
外部合作商家电子票券消费回调接口
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 电子票券消费通知 成功返回结果
type TaobaoVmarketEticketFailsendAPIRequest ¶
type TaobaoVmarketEticketFailsendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketFailsendAPIRequest 无法发码回调 API请求 taobao.vmarket.eticket.failsend
针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketFailsendAPIRequest) GetErrorCode ¶
func (r TaobaoVmarketEticketFailsendAPIRequest) GetErrorCode() int64
GetErrorCode ErrorCode Getter
func (TaobaoVmarketEticketFailsendAPIRequest) GetErrorMsg ¶
func (r TaobaoVmarketEticketFailsendAPIRequest) GetErrorMsg() string
GetErrorMsg ErrorMsg Getter
func (TaobaoVmarketEticketFailsendAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketFailsendAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketFailsendAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketFailsendAPIRequest) GetToken() string
GetToken Token Getter
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 ¶
func (r *TaobaoVmarketEticketFailsendAPIRequest) SetToken(_token string) error
SetToken is Token Setter 发码通知时的token
type TaobaoVmarketEticketFailsendAPIResponse ¶
type TaobaoVmarketEticketFailsendAPIResponse struct { model.CommonResponse TaobaoVmarketEticketFailsendAPIResponseModel }
TaobaoVmarketEticketFailsendAPIResponse 无法发码回调 API返回值 taobao.vmarket.eticket.failsend
针对一次发码通知,码商无法完成发码,则可以通过此接口告知电子凭证
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 无法发码回调 成功返回结果
type TaobaoVmarketEticketFlowConsumeAPIRequest ¶
type TaobaoVmarketEticketFlowConsumeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketFlowConsumeAPIRequest 无交易类凭证核销 API请求 taobao.vmarket.eticket.flow.consume
无交易类凭证核销
func NewTaobaoVmarketEticketFlowConsumeRequest ¶
func NewTaobaoVmarketEticketFlowConsumeRequest() *TaobaoVmarketEticketFlowConsumeAPIRequest
NewTaobaoVmarketEticketFlowConsumeRequest 初始化TaobaoVmarketEticketFlowConsumeAPIRequest对象
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetBizType ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetCode ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetOperator ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetOperator() string
GetOperator Operator Getter
func (TaobaoVmarketEticketFlowConsumeAPIRequest) GetOuterId ¶
func (r TaobaoVmarketEticketFlowConsumeAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetBizType ¶
func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetBizType(_bizType int64) error
SetBizType is BizType Setter 淘宝业务提供的业务类型值,请联系相关业务运营取得
func (*TaobaoVmarketEticketFlowConsumeAPIRequest) SetCode ¶
func (r *TaobaoVmarketEticketFlowConsumeAPIRequest) SetCode(_code string) error
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
无交易类凭证核销
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 无交易类凭证核销 成功返回结果
type TaobaoVmarketEticketFlowResendAPIRequest ¶
type TaobaoVmarketEticketFlowResendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketFlowResendAPIRequest 业务重新触发发码短信 API请求 taobao.vmarket.eticket.flow.resend
业务重新触发发码短信
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketFlowResendAPIRequest) GetBizType ¶
func (r TaobaoVmarketEticketFlowResendAPIRequest) GetBizType() int64
GetBizType BizType Getter
func (TaobaoVmarketEticketFlowResendAPIRequest) GetOuterId ¶
func (r TaobaoVmarketEticketFlowResendAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
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
业务重新触发发码短信
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 业务重新触发发码短信 成功返回结果
type TaobaoVmarketEticketManageNotifyAPIRequest ¶
type TaobaoVmarketEticketManageNotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketManageNotifyAPIRequest 主动发起通知接口 API请求 taobao.vmarket.eticket.manage.notify
外部合作商家主动发起通知接口
func NewTaobaoVmarketEticketManageNotifyRequest ¶
func NewTaobaoVmarketEticketManageNotifyRequest() *TaobaoVmarketEticketManageNotifyAPIRequest
NewTaobaoVmarketEticketManageNotifyRequest 初始化TaobaoVmarketEticketManageNotifyAPIRequest对象
func (TaobaoVmarketEticketManageNotifyAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketManageNotifyAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketManageNotifyAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketManageNotifyAPIRequest) GetNotifyMethod ¶
func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetNotifyMethod() string
GetNotifyMethod NotifyMethod Getter
func (TaobaoVmarketEticketManageNotifyAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketManageNotifyAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
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
外部合作商家主动发起通知接口
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 主动发起通知接口 成功返回结果
type TaobaoVmarketEticketOplogsGetAPIRequest ¶
type TaobaoVmarketEticketOplogsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketOplogsGetAPIRequest 电子凭证操作日志查询 API请求 taobao.vmarket.eticket.oplogs.get
电子凭证核销日志查询
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetCode ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetCode() string
GetCode Code Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetEndTime ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetMobile ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPageNo ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPageSize ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetPosid ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetPosid() string
GetPosid Posid Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetSort ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetStartTime ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoVmarketEticketOplogsGetAPIRequest) GetType ¶
func (r TaobaoVmarketEticketOplogsGetAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetCode ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetCode(_code string) error
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 ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetMobile(_mobile string) error
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 ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetPosid(_posid string) error
SetPosid is Posid Setter 核销身份
func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetSort ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序方式
func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetStartTime ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 开始时间
func (*TaobaoVmarketEticketOplogsGetAPIRequest) SetType ¶
func (r *TaobaoVmarketEticketOplogsGetAPIRequest) SetType(_type int64) error
SetType is Type Setter 0:全部 1:核销 2:冲正
type TaobaoVmarketEticketOplogsGetAPIResponse ¶
type TaobaoVmarketEticketOplogsGetAPIResponse struct { model.CommonResponse TaobaoVmarketEticketOplogsGetAPIResponseModel }
TaobaoVmarketEticketOplogsGetAPIResponse 电子凭证操作日志查询 API返回值 taobao.vmarket.eticket.oplogs.get
电子凭证核销日志查询
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 电子凭证操作日志查询 成功返回结果
type TaobaoVmarketEticketPackageBaseGetAPIRequest ¶
type TaobaoVmarketEticketPackageBaseGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketPackageBaseGetAPIRequest 获取包基本信息 API请求 taobao.vmarket.eticket.package.base.get
获取包基本信息
func NewTaobaoVmarketEticketPackageBaseGetRequest ¶
func NewTaobaoVmarketEticketPackageBaseGetRequest() *TaobaoVmarketEticketPackageBaseGetAPIRequest
NewTaobaoVmarketEticketPackageBaseGetRequest 初始化TaobaoVmarketEticketPackageBaseGetAPIRequest对象
func (TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketPackageBaseGetAPIRequest) GetPackageId ¶
func (r TaobaoVmarketEticketPackageBaseGetAPIRequest) GetPackageId() int64
GetPackageId PackageId Getter
func (*TaobaoVmarketEticketPackageBaseGetAPIRequest) SetPackageId ¶
func (r *TaobaoVmarketEticketPackageBaseGetAPIRequest) SetPackageId(_packageId int64) error
SetPackageId is PackageId Setter 包id
type TaobaoVmarketEticketPackageBaseGetAPIResponse ¶
type TaobaoVmarketEticketPackageBaseGetAPIResponse struct { model.CommonResponse TaobaoVmarketEticketPackageBaseGetAPIResponseModel }
TaobaoVmarketEticketPackageBaseGetAPIResponse 获取包基本信息 API返回值 taobao.vmarket.eticket.package.base.get
获取包基本信息
type TaobaoVmarketEticketPackageBaseGetAPIResponseModel ¶
type TaobaoVmarketEticketPackageBaseGetAPIResponseModel struct { XMLName xml.Name `xml:"vmarket_eticket_package_base_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果 Result *PackageResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoVmarketEticketPackageBaseGetAPIResponseModel is 获取包基本信息 成功返回结果
type TaobaoVmarketEticketPackageBaseListGetAPIRequest ¶
TaobaoVmarketEticketPackageBaseListGetAPIRequest 根据卖家id,获取关联的所有包 API请求 taobao.vmarket.eticket.package.base.list.get
根据卖家id,获取关联的所有包
func NewTaobaoVmarketEticketPackageBaseListGetRequest ¶
func NewTaobaoVmarketEticketPackageBaseListGetRequest() *TaobaoVmarketEticketPackageBaseListGetAPIRequest
NewTaobaoVmarketEticketPackageBaseListGetRequest 初始化TaobaoVmarketEticketPackageBaseListGetAPIRequest对象
func (TaobaoVmarketEticketPackageBaseListGetAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketPackageBaseListGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketPackageBaseListGetAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketPackageBaseListGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TaobaoVmarketEticketPackageBaseListGetAPIResponse ¶
type TaobaoVmarketEticketPackageBaseListGetAPIResponse struct { model.CommonResponse TaobaoVmarketEticketPackageBaseListGetAPIResponseModel }
TaobaoVmarketEticketPackageBaseListGetAPIResponse 根据卖家id,获取关联的所有包 API返回值 taobao.vmarket.eticket.package.base.list.get
根据卖家id,获取关联的所有包
type TaobaoVmarketEticketPackageBaseListGetAPIResponseModel ¶
type TaobaoVmarketEticketPackageBaseListGetAPIResponseModel struct { XMLName xml.Name `xml:"vmarket_eticket_package_base_list_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果 Result *PackageResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoVmarketEticketPackageBaseListGetAPIResponseModel is 根据卖家id,获取关联的所有包 成功返回结果
type TaobaoVmarketEticketQrcodeUploadAPIRequest ¶
type TaobaoVmarketEticketQrcodeUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketQrcodeUploadAPIRequest 码商二维码图片上传 API请求 taobao.vmarket.eticket.qrcode.upload
电子凭证的码商可以通过这个接口,上传他们发送的二维码图片
func NewTaobaoVmarketEticketQrcodeUploadRequest ¶
func NewTaobaoVmarketEticketQrcodeUploadRequest() *TaobaoVmarketEticketQrcodeUploadAPIRequest
NewTaobaoVmarketEticketQrcodeUploadRequest 初始化TaobaoVmarketEticketQrcodeUploadAPIRequest对象
func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiParams ¶
func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetCodeMerchantId ¶
func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetCodeMerchantId() int64
GetCodeMerchantId CodeMerchantId Getter
func (TaobaoVmarketEticketQrcodeUploadAPIRequest) GetImgBytes ¶
func (r TaobaoVmarketEticketQrcodeUploadAPIRequest) GetImgBytes() *model.File
GetImgBytes ImgBytes Getter
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
电子凭证的码商可以通过这个接口,上传他们发送的二维码图片
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 码商二维码图片上传 成功返回结果
type TaobaoVmarketEticketResendAPIRequest ¶
type TaobaoVmarketEticketResendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketResendAPIRequest 外部合作商家重发电子凭证回调接口 API请求 taobao.vmarket.eticket.resend
外部合作商家重发电子凭证回调接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketResendAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketResendAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketResendAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketResendAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketResendAPIRequest) GetQrImages ¶
func (r TaobaoVmarketEticketResendAPIRequest) GetQrImages() string
GetQrImages QrImages Getter
func (TaobaoVmarketEticketResendAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketResendAPIRequest) GetToken() string
GetToken Token Getter
func (TaobaoVmarketEticketResendAPIRequest) GetVerifyCodes ¶
func (r TaobaoVmarketEticketResendAPIRequest) GetVerifyCodes() string
GetVerifyCodes VerifyCodes Getter
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 ¶
func (r *TaobaoVmarketEticketResendAPIRequest) SetToken(_token string) error
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
外部合作商家重发电子凭证回调接口
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 外部合作商家重发电子凭证回调接口 成功返回结果
type TaobaoVmarketEticketReverseAPIRequest ¶
type TaobaoVmarketEticketReverseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketReverseAPIRequest 电子凭证冲正接口 API请求 taobao.vmarket.eticket.reverse
电子凭证平台冲正接口
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() 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 ¶
func (r TaobaoVmarketEticketReverseAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketReverseAPIRequest) GetPosid ¶
func (r TaobaoVmarketEticketReverseAPIRequest) GetPosid() string
GetPosid Posid Getter
func (TaobaoVmarketEticketReverseAPIRequest) GetQrImages ¶
func (r TaobaoVmarketEticketReverseAPIRequest) GetQrImages() string
GetQrImages QrImages Getter
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 ¶
func (r TaobaoVmarketEticketReverseAPIRequest) GetToken() string
GetToken Token Getter
func (TaobaoVmarketEticketReverseAPIRequest) GetVerifyCodes ¶
func (r TaobaoVmarketEticketReverseAPIRequest) GetVerifyCodes() string
GetVerifyCodes VerifyCodes Getter
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 ¶
func (r *TaobaoVmarketEticketReverseAPIRequest) SetPosid(_posid string) error
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 ¶
func (r *TaobaoVmarketEticketReverseAPIRequest) SetToken(_token string) error
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
电子凭证平台冲正接口
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 电子凭证冲正接口 成功返回结果
type TaobaoVmarketEticketSendAPIRequest ¶
type TaobaoVmarketEticketSendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketSendAPIRequest 商家电子凭证发码成功回调接口 API请求 taobao.vmarket.eticket.send
外部商家成功发码回调接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketSendAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketSendAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketSendAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketSendAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoVmarketEticketSendAPIRequest) GetQrImages ¶
func (r TaobaoVmarketEticketSendAPIRequest) GetQrImages() string
GetQrImages QrImages Getter
func (TaobaoVmarketEticketSendAPIRequest) GetToken ¶
func (r TaobaoVmarketEticketSendAPIRequest) GetToken() string
GetToken Token Getter
func (TaobaoVmarketEticketSendAPIRequest) GetVerifyCodes ¶
func (r TaobaoVmarketEticketSendAPIRequest) GetVerifyCodes() string
GetVerifyCodes VerifyCodes Getter
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
外部商家成功发码回调接口
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 商家电子凭证发码成功回调接口 成功返回结果
type TaobaoVmarketEticketStoreGetAPIRequest ¶
type TaobaoVmarketEticketStoreGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketStoreGetAPIRequest 获取电子凭证预约门店信息 API请求 taobao.vmarket.eticket.store.get
用于给外部商家查询电子凭证预约门店信息
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketStoreGetAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketStoreGetAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
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
用于给外部商家查询电子凭证预约门店信息
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"` // 所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 省份 Province string `json:"province,omitempty" xml:"province,omitempty"` // 区 District string `json:"district,omitempty" xml:"district,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 获取电子凭证预约门店信息 成功返回结果
type TaobaoVmarketEticketTasksGetAPIRequest ¶
type TaobaoVmarketEticketTasksGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketTasksGetAPIRequest 任务列表获取接口 API请求 taobao.vmarket.eticket.tasks.get
外部合作卖家获取任务列表的信息:如发码同通知失败或者回调失败的订单号
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketTasksGetAPIRequest) GetCodemerchantId ¶
func (r TaobaoVmarketEticketTasksGetAPIRequest) GetCodemerchantId() int64
GetCodemerchantId CodemerchantId Getter
func (TaobaoVmarketEticketTasksGetAPIRequest) GetPageNo ¶
func (r TaobaoVmarketEticketTasksGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoVmarketEticketTasksGetAPIRequest) GetPageSize ¶
func (r TaobaoVmarketEticketTasksGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoVmarketEticketTasksGetAPIRequest) GetSellerId ¶
func (r TaobaoVmarketEticketTasksGetAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (TaobaoVmarketEticketTasksGetAPIRequest) GetType ¶
func (r TaobaoVmarketEticketTasksGetAPIRequest) GetType() int64
GetType Type Getter
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 ¶
func (r *TaobaoVmarketEticketTasksGetAPIRequest) SetType(_type int64) error
SetType is Type Setter 返回结果类型:<br/>1:返回通知失败的订单<br/>2.返回通知成功回调失败的订单
type TaobaoVmarketEticketTasksGetAPIResponse ¶
type TaobaoVmarketEticketTasksGetAPIResponse struct { model.CommonResponse TaobaoVmarketEticketTasksGetAPIResponseModel }
TaobaoVmarketEticketTasksGetAPIResponse 任务列表获取接口 API返回值 taobao.vmarket.eticket.tasks.get
外部合作卖家获取任务列表的信息:如发码同通知失败或者回调失败的订单号
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 任务列表获取接口 成功返回结果
type TaobaoVmarketEticketTimeExpandAPIRequest ¶
type TaobaoVmarketEticketTimeExpandAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoVmarketEticketTimeExpandAPIRequest 订单延时接口 API请求 taobao.vmarket.eticket.time.expand
提供码商操作订单延期接口
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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoVmarketEticketTimeExpandAPIRequest) GetExpandDays ¶
func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetExpandDays() int64
GetExpandDays ExpandDays Getter
func (TaobaoVmarketEticketTimeExpandAPIRequest) GetOrderId ¶
func (r TaobaoVmarketEticketTimeExpandAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
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
提供码商操作订单延期接口
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 订单延时接口 成功返回结果
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 结构体
Source Files ¶
- Attributes.go
- CertificateDto.go
- ConsumeMaCallbackResp.go
- EticketCode.go
- EticketOpLog.go
- EticketTask.go
- IsvMa.go
- PackageBase.go
- PackageResult.go
- QueryTbMaCallbackReq.go
- QueryTbMaCallbackResp.go
- ReverseMaCallbackResp.go
- SendFailCallbackResp.go
- SendMaCallbackResp.go
- TaobaoEticketMerchantImgUploadAPIRequest.go
- TaobaoEticketMerchantImgUploadAPIResponse.go
- TaobaoEticketMerchantMaAvailableAPIRequest.go
- TaobaoEticketMerchantMaAvailableAPIResponse.go
- TaobaoEticketMerchantMaConsumeAPIRequest.go
- TaobaoEticketMerchantMaConsumeAPIResponse.go
- TaobaoEticketMerchantMaDelayAPIRequest.go
- TaobaoEticketMerchantMaDelayAPIResponse.go
- TaobaoEticketMerchantMaFailsendAPIRequest.go
- TaobaoEticketMerchantMaFailsendAPIResponse.go
- TaobaoEticketMerchantMaResendAPIRequest.go
- TaobaoEticketMerchantMaResendAPIResponse.go
- TaobaoEticketMerchantMaReverseAPIRequest.go
- TaobaoEticketMerchantMaReverseAPIResponse.go
- TaobaoEticketMerchantMaSendAPIRequest.go
- TaobaoEticketMerchantMaSendAPIResponse.go
- TaobaoEticketMerchantTbmaGetAPIRequest.go
- TaobaoEticketMerchantTbmaGetAPIResponse.go
- TaobaoVmarketEticketAuthBeforeconsumeAPIRequest.go
- TaobaoVmarketEticketAuthBeforeconsumeAPIResponse.go
- TaobaoVmarketEticketAuthConsumeAPIRequest.go
- TaobaoVmarketEticketAuthConsumeAPIResponse.go
- TaobaoVmarketEticketBeforeconsumeAPIRequest.go
- TaobaoVmarketEticketBeforeconsumeAPIResponse.go
- TaobaoVmarketEticketCardConsumecardAPIRequest.go
- TaobaoVmarketEticketCardConsumecardAPIResponse.go
- TaobaoVmarketEticketCodesGetAPIRequest.go
- TaobaoVmarketEticketCodesGetAPIResponse.go
- TaobaoVmarketEticketConsumeAPIRequest.go
- TaobaoVmarketEticketConsumeAPIResponse.go
- TaobaoVmarketEticketFailsendAPIRequest.go
- TaobaoVmarketEticketFailsendAPIResponse.go
- TaobaoVmarketEticketFlowConsumeAPIRequest.go
- TaobaoVmarketEticketFlowConsumeAPIResponse.go
- TaobaoVmarketEticketFlowResendAPIRequest.go
- TaobaoVmarketEticketFlowResendAPIResponse.go
- TaobaoVmarketEticketManageNotifyAPIRequest.go
- TaobaoVmarketEticketManageNotifyAPIResponse.go
- TaobaoVmarketEticketOplogsGetAPIRequest.go
- TaobaoVmarketEticketOplogsGetAPIResponse.go
- TaobaoVmarketEticketPackageBaseGetAPIRequest.go
- TaobaoVmarketEticketPackageBaseGetAPIResponse.go
- TaobaoVmarketEticketPackageBaseListGetAPIRequest.go
- TaobaoVmarketEticketPackageBaseListGetAPIResponse.go
- TaobaoVmarketEticketQrcodeUploadAPIRequest.go
- TaobaoVmarketEticketQrcodeUploadAPIResponse.go
- TaobaoVmarketEticketResendAPIRequest.go
- TaobaoVmarketEticketResendAPIResponse.go
- TaobaoVmarketEticketReverseAPIRequest.go
- TaobaoVmarketEticketReverseAPIResponse.go
- TaobaoVmarketEticketSendAPIRequest.go
- TaobaoVmarketEticketSendAPIResponse.go
- TaobaoVmarketEticketStoreGetAPIRequest.go
- TaobaoVmarketEticketStoreGetAPIResponse.go
- TaobaoVmarketEticketTasksGetAPIRequest.go
- TaobaoVmarketEticketTasksGetAPIResponse.go
- TaobaoVmarketEticketTimeExpandAPIRequest.go
- TaobaoVmarketEticketTimeExpandAPIResponse.go
- UploadImgCallbackResp.go
- doc.go