mssuperconsume

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 MsSuperConsumeRequest

type MsSuperConsumeRequest struct {
	/**
	 *  券码
	 */
	Code string `json:"code"`
	/**
	 *  核销张数(支持该券码关联的订单下其他券码一起核销,核销本张券码传1)
	 */
	Num int32 `json:"num"`
}

func (*MsSuperConsumeRequest) DoInvoke

func (req *MsSuperConsumeRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*MsSuperConsumeResponse, error)

type MsSuperConsumeResponse

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

func (*MsSuperConsumeResponse) IsSuccess

func (response *MsSuperConsumeResponse) IsSuccess() bool

type ReceiptConsumeMSDTO

type ReceiptConsumeMSDTO struct {
	/**
	 * 验证券码数组
	 */
	CouponCodes []string `json:"couponCodes"`
	/**
	 * 项目名称
	 */
	DealTitle string `json:"dealTitle"`
	/**
	 * 项目ID
	 */
	DealId int32 `json:"dealId"`
	/**
	 * 券面值,即人们常说的市场价
	 */
	DealValue float32 `json:"dealValue"`
	/**
	 * 开店宝套餐名
	 */
	RawTitle string `json:"rawTitle"`
	/**
	 * 开店宝商品列表标题
	 */
	PlatformTitle string `json:"platformTitle"`
	/**
	 * C端场景中提单页、支付结果页、查看券码和订单页面的项目标题以及开店宝核销后展示的标题。C端场景包括美团App,点评App,美团小程序
	 */
	ShortAttrTitle string `json:"shortAttrTitle"`
	/**
	 * 第三方商品ID
	 */
	ThirdProductId string `json:"thirdProductId"`
}

Jump to

Keyboard shortcuts

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