couponcancel

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CouponCancelData

type CouponCancelData struct {
	/**
	 * 操作状态0表示成功,其余表示失败
	 */
	Result int32 `json:"result"`
	/**
	 * 撤销结果描述信息
	 */
	Message string `json:"message"`
}

type CouponCancelRequest

type CouponCancelRequest struct {
	/**
	 *  商家登录ERP帐号ID,长度不超过32。
	 */
	EId string `json:"eId"`
	/**
	 *  商家登录ERP帐号名称,长度不超过32位
	 */
	EName string `json:"eName"`
	/**
	 *  type值永远为1撤销验券
	 */
	Type int32 `json:"type"`
	/**
	 *  券码
	 */
	CouponCode string `json:"couponCode"`
}

func (*CouponCancelRequest) DoInvoke

func (req *CouponCancelRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*CouponCancelResponse, error)

type CouponCancelResponse

type CouponCancelResponse struct {
	Code    string           `json:"code"`
	Msg     string           `json:"msg"`
	Data    CouponCancelData `json:"data"`
	TraceId string           `json:"traceId"`
}

func (*CouponCancelResponse) IsSuccess

func (response *CouponCancelResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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