suningnetalliancecouponinfoquery

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberAttributeList

type MemberAttributeList struct {
	MemberLevel          string `json:"memberLevel"`
	VipMemberLimit       string `json:"vipMemberLimit"`
	MemberAttributeLimit string `json:"memberAttributeLimit"`
}

type QueryCouponinfo

type QueryCouponinfo struct {
	CouponRemainingAmount string              `json:"couponRemainingAmount"`
	CouponCount           string              `json:"couponCount"`
	CouponValue           string              `json:"couponValue"`
	CouponEndTime         string              `json:"couponEndTime"`
	ActivityID            string              `json:"activityId"`
	PreferentialDistinct  string              `json:"preferentialDistinct"`
	CouponPlatform        string              `json:"couponPlatform"`
	MemberAttributeList   MemberAttributeList `json:"memberAttributeList"`
	CouponStartTime       string              `json:"couponStartTime"`
	StartTime             string              `json:"startTime"`
	EndTime               string              `json:"endTime"`
	IsValidCoupon         string              `json:"isValidCoupon"`
	ChannelID             string              `json:"channelId"`
}

type Response

type Response struct {
	response2.TopResponse
	SnResponseContent SnResponseContent `json:"sn_responseContent"`
}

suning.netalliance.couponinfo.query 查询券领用情况

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type SnBody

type SnBody struct {
	QueryCouponinfo QueryCouponinfo `json:"queryCouponinfo"`
}

type SnError

type SnError struct {
	ErrorMsg  string `json:"error_msg"`
	ErrorCode string `json:"error_code"`
}

type SnResponseContent

type SnResponseContent struct {
	SnBody  SnBody   `json:"sn_body"`
	SnError *SnError `json:"sn_error"`
}

Jump to

Keyboard shortcuts

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