coupon

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PromoCouponCheckDiscountAuthRequest

type PromoCouponCheckDiscountAuthRequest struct {
	Request *sdk.Request
}

func NewPromoCouponCheckDiscountAuthRequest

func NewPromoCouponCheckDiscountAuthRequest() (req *PromoCouponCheckDiscountAuthRequest)

create new request

func (*PromoCouponCheckDiscountAuthRequest) GetAppId

func (*PromoCouponCheckDiscountAuthRequest) GetAppName

func (req *PromoCouponCheckDiscountAuthRequest) GetAppName() string

func (*PromoCouponCheckDiscountAuthRequest) GetIp

func (*PromoCouponCheckDiscountAuthRequest) GetUuid

func (*PromoCouponCheckDiscountAuthRequest) SetAppId

func (req *PromoCouponCheckDiscountAuthRequest) SetAppId(appId string)

func (*PromoCouponCheckDiscountAuthRequest) SetAppName

func (req *PromoCouponCheckDiscountAuthRequest) SetAppName(appName string)

func (*PromoCouponCheckDiscountAuthRequest) SetIp

func (*PromoCouponCheckDiscountAuthRequest) SetUuid

func (req *PromoCouponCheckDiscountAuthRequest) SetUuid(uuid string)

type SellerCouponReadGetCouponByIdRequest

type SellerCouponReadGetCouponByIdRequest struct {
	Request *sdk.Request
}

func NewSellerCouponReadGetCouponByIdRequest

func NewSellerCouponReadGetCouponByIdRequest() (req *SellerCouponReadGetCouponByIdRequest)

create new request

func (*SellerCouponReadGetCouponByIdRequest) GetCouponId

func (req *SellerCouponReadGetCouponByIdRequest) GetCouponId() uint64

func (*SellerCouponReadGetCouponByIdRequest) GetIp

func (*SellerCouponReadGetCouponByIdRequest) GetPort

func (*SellerCouponReadGetCouponByIdRequest) SetCouponId

func (req *SellerCouponReadGetCouponByIdRequest) SetCouponId(couponId uint64)

func (*SellerCouponReadGetCouponByIdRequest) SetIp

func (*SellerCouponReadGetCouponByIdRequest) SetPort

func (req *SellerCouponReadGetCouponByIdRequest) SetPort(port string)

type SellerCouponReadGetCouponCountRequest

type SellerCouponReadGetCouponCountRequest struct {
	Request *sdk.Request
}

func NewSellerCouponReadGetCouponCountRequest

func NewSellerCouponReadGetCouponCountRequest() (req *SellerCouponReadGetCouponCountRequest)

create new request

func (*SellerCouponReadGetCouponCountRequest) GetBindType

func (req *SellerCouponReadGetCouponCountRequest) GetBindType() uint8

func (*SellerCouponReadGetCouponCountRequest) GetClosed

func (*SellerCouponReadGetCouponCountRequest) GetCouponId

func (req *SellerCouponReadGetCouponCountRequest) GetCouponId() uint64

func (*SellerCouponReadGetCouponCountRequest) GetCreateMonth

func (req *SellerCouponReadGetCouponCountRequest) GetCreateMonth() string

func (*SellerCouponReadGetCouponCountRequest) GetCreatorType

func (req *SellerCouponReadGetCouponCountRequest) GetCreatorType() string

func (*SellerCouponReadGetCouponCountRequest) GetGrantType

func (req *SellerCouponReadGetCouponCountRequest) GetGrantType() uint8

func (*SellerCouponReadGetCouponCountRequest) GetGrantWay

func (req *SellerCouponReadGetCouponCountRequest) GetGrantWay() uint8

func (*SellerCouponReadGetCouponCountRequest) GetIp

func (*SellerCouponReadGetCouponCountRequest) GetName

func (*SellerCouponReadGetCouponCountRequest) GetPort

func (*SellerCouponReadGetCouponCountRequest) GetType

func (*SellerCouponReadGetCouponCountRequest) SetBindType

func (req *SellerCouponReadGetCouponCountRequest) SetBindType(bindType uint8)

func (*SellerCouponReadGetCouponCountRequest) SetClosed

func (req *SellerCouponReadGetCouponCountRequest) SetClosed(closed string)

func (*SellerCouponReadGetCouponCountRequest) SetCouponId

func (req *SellerCouponReadGetCouponCountRequest) SetCouponId(couponId uint64)

func (*SellerCouponReadGetCouponCountRequest) SetCreateMonth

func (req *SellerCouponReadGetCouponCountRequest) SetCreateMonth(createMonth string)

func (*SellerCouponReadGetCouponCountRequest) SetCreatorType

func (req *SellerCouponReadGetCouponCountRequest) SetCreatorType(creatorType string)

func (*SellerCouponReadGetCouponCountRequest) SetGrantType

func (req *SellerCouponReadGetCouponCountRequest) SetGrantType(grantType uint8)

func (*SellerCouponReadGetCouponCountRequest) SetGrantWay

func (req *SellerCouponReadGetCouponCountRequest) SetGrantWay(grantWay uint8)

func (*SellerCouponReadGetCouponCountRequest) SetIp

func (*SellerCouponReadGetCouponCountRequest) SetName

func (req *SellerCouponReadGetCouponCountRequest) SetName(name string)

func (*SellerCouponReadGetCouponCountRequest) SetPort

func (req *SellerCouponReadGetCouponCountRequest) SetPort(port string)

func (*SellerCouponReadGetCouponCountRequest) SetType

func (req *SellerCouponReadGetCouponCountRequest) SetType(cType string)

type SellerCouponReadGetCouponListRequest

type SellerCouponReadGetCouponListRequest struct {
	Request *sdk.Request
}

func NewSellerCouponReadGetCouponListRequest

func NewSellerCouponReadGetCouponListRequest() (req *SellerCouponReadGetCouponListRequest)

create new request

func (*SellerCouponReadGetCouponListRequest) GetBindType

func (req *SellerCouponReadGetCouponListRequest) GetBindType() uint

func (*SellerCouponReadGetCouponListRequest) GetClosed

func (*SellerCouponReadGetCouponListRequest) GetCouponId

func (req *SellerCouponReadGetCouponListRequest) GetCouponId() uint64

func (*SellerCouponReadGetCouponListRequest) GetCreateMonth

func (req *SellerCouponReadGetCouponListRequest) GetCreateMonth() string

func (*SellerCouponReadGetCouponListRequest) GetCreatorType

func (req *SellerCouponReadGetCouponListRequest) GetCreatorType() string

func (*SellerCouponReadGetCouponListRequest) GetGrantType

func (req *SellerCouponReadGetCouponListRequest) GetGrantType() uint

func (*SellerCouponReadGetCouponListRequest) GetGrantWay

func (req *SellerCouponReadGetCouponListRequest) GetGrantWay() uint

func (*SellerCouponReadGetCouponListRequest) GetIp

func (*SellerCouponReadGetCouponListRequest) GetName

func (*SellerCouponReadGetCouponListRequest) GetPage

func (*SellerCouponReadGetCouponListRequest) GetPageSize

func (req *SellerCouponReadGetCouponListRequest) GetPageSize() uint

func (*SellerCouponReadGetCouponListRequest) GetPort

func (*SellerCouponReadGetCouponListRequest) GetType

func (*SellerCouponReadGetCouponListRequest) SetBindType

func (req *SellerCouponReadGetCouponListRequest) SetBindType(bindType uint)

func (*SellerCouponReadGetCouponListRequest) SetClosed

func (req *SellerCouponReadGetCouponListRequest) SetClosed(closed string)

func (*SellerCouponReadGetCouponListRequest) SetCouponId

func (req *SellerCouponReadGetCouponListRequest) SetCouponId(couponId uint64)

func (*SellerCouponReadGetCouponListRequest) SetCreateMonth

func (req *SellerCouponReadGetCouponListRequest) SetCreateMonth(createMonth string)

func (*SellerCouponReadGetCouponListRequest) SetCreatorType

func (req *SellerCouponReadGetCouponListRequest) SetCreatorType(creatorType string)

func (*SellerCouponReadGetCouponListRequest) SetGrantType

func (req *SellerCouponReadGetCouponListRequest) SetGrantType(grantType uint)

func (*SellerCouponReadGetCouponListRequest) SetGrantWay

func (req *SellerCouponReadGetCouponListRequest) SetGrantWay(grantWay uint)

func (*SellerCouponReadGetCouponListRequest) SetIp

func (*SellerCouponReadGetCouponListRequest) SetName

func (req *SellerCouponReadGetCouponListRequest) SetName(name string)

func (*SellerCouponReadGetCouponListRequest) SetPage

func (req *SellerCouponReadGetCouponListRequest) SetPage(page uint)

func (*SellerCouponReadGetCouponListRequest) SetPageSize

func (req *SellerCouponReadGetCouponListRequest) SetPageSize(pageSize uint)

func (*SellerCouponReadGetCouponListRequest) SetPort

func (req *SellerCouponReadGetCouponListRequest) SetPort(port string)

func (*SellerCouponReadGetCouponListRequest) SetType

func (req *SellerCouponReadGetCouponListRequest) SetType(cType string)

type SellerCouponSkuListRequest

type SellerCouponSkuListRequest struct {
	Request *sdk.Request
}

func NewSellerCouponSkuListRequest

func NewSellerCouponSkuListRequest() (req *SellerCouponSkuListRequest)

create new request

func (*SellerCouponSkuListRequest) GetAppKey

func (req *SellerCouponSkuListRequest) GetAppKey() string

func (*SellerCouponSkuListRequest) GetBindType

func (req *SellerCouponSkuListRequest) GetBindType() uint8

func (*SellerCouponSkuListRequest) GetCouponId

func (req *SellerCouponSkuListRequest) GetCouponId() uint64

func (*SellerCouponSkuListRequest) GetIp

func (req *SellerCouponSkuListRequest) GetIp() string

func (*SellerCouponSkuListRequest) GetPage

func (req *SellerCouponSkuListRequest) GetPage() int

func (*SellerCouponSkuListRequest) GetPageSize

func (req *SellerCouponSkuListRequest) GetPageSize() int

func (*SellerCouponSkuListRequest) GetPort

func (req *SellerCouponSkuListRequest) GetPort() string

func (*SellerCouponSkuListRequest) GetSearchStatus

func (req *SellerCouponSkuListRequest) GetSearchStatus() int

func (*SellerCouponSkuListRequest) GetSkuId

func (req *SellerCouponSkuListRequest) GetSkuId() uint64

func (*SellerCouponSkuListRequest) GetWareId

func (req *SellerCouponSkuListRequest) GetWareId() uint64

func (*SellerCouponSkuListRequest) SetAppKey

func (req *SellerCouponSkuListRequest) SetAppKey(appKey string)

func (*SellerCouponSkuListRequest) SetBindType

func (req *SellerCouponSkuListRequest) SetBindType(bindType uint8)

func (*SellerCouponSkuListRequest) SetCouponId

func (req *SellerCouponSkuListRequest) SetCouponId(couponId uint64)

func (*SellerCouponSkuListRequest) SetIp

func (req *SellerCouponSkuListRequest) SetIp(ip string)

func (*SellerCouponSkuListRequest) SetPage

func (req *SellerCouponSkuListRequest) SetPage(page int)

func (*SellerCouponSkuListRequest) SetPageSize

func (req *SellerCouponSkuListRequest) SetPageSize(pageSize int)

func (*SellerCouponSkuListRequest) SetPort

func (req *SellerCouponSkuListRequest) SetPort(port string)

func (*SellerCouponSkuListRequest) SetSearchStatus

func (req *SellerCouponSkuListRequest) SetSearchStatus(searchStatus int)

func (*SellerCouponSkuListRequest) SetSkuId

func (req *SellerCouponSkuListRequest) SetSkuId(skuId uint64)

func (*SellerCouponSkuListRequest) SetWareId

func (req *SellerCouponSkuListRequest) SetWareId(wareId uint64)

type SellerCouponWriteCloseRequest

type SellerCouponWriteCloseRequest struct {
	Request *sdk.Request
}

func NewSellerCouponWriteCloseRequest

func NewSellerCouponWriteCloseRequest() (req *SellerCouponWriteCloseRequest)

create new request

func (*SellerCouponWriteCloseRequest) GetCouponId

func (req *SellerCouponWriteCloseRequest) GetCouponId() uint64

func (*SellerCouponWriteCloseRequest) GetIp

func (*SellerCouponWriteCloseRequest) GetPort

func (req *SellerCouponWriteCloseRequest) GetPort() string

func (*SellerCouponWriteCloseRequest) SetCouponId

func (req *SellerCouponWriteCloseRequest) SetCouponId(couponId uint64)

func (*SellerCouponWriteCloseRequest) SetIp

func (req *SellerCouponWriteCloseRequest) SetIp(ip string)

func (*SellerCouponWriteCloseRequest) SetPort

func (req *SellerCouponWriteCloseRequest) SetPort(port string)

type SellerCouponWriteCreateRequest

type SellerCouponWriteCreateRequest struct {
	Request *sdk.Request
}

func NewSellerCouponWriteCreateRequest

func NewSellerCouponWriteCreateRequest() (req *SellerCouponWriteCreateRequest)

create new request

func (req *SellerCouponWriteCreateRequest) GetActivityLink() string

func (*SellerCouponWriteCreateRequest) GetBatchKey

func (req *SellerCouponWriteCreateRequest) GetBatchKey() string

func (*SellerCouponWriteCreateRequest) GetBeginTime

func (req *SellerCouponWriteCreateRequest) GetBeginTime() uint64

func (*SellerCouponWriteCreateRequest) GetBindType

func (req *SellerCouponWriteCreateRequest) GetBindType() uint8

func (*SellerCouponWriteCreateRequest) GetBoundStatus

func (req *SellerCouponWriteCreateRequest) GetBoundStatus() uint

func (*SellerCouponWriteCreateRequest) GetDays

func (req *SellerCouponWriteCreateRequest) GetDays() uint

func (*SellerCouponWriteCreateRequest) GetDiscount

func (req *SellerCouponWriteCreateRequest) GetDiscount() uint

func (*SellerCouponWriteCreateRequest) GetDisplay

func (req *SellerCouponWriteCreateRequest) GetDisplay() uint8

func (*SellerCouponWriteCreateRequest) GetEndTime

func (req *SellerCouponWriteCreateRequest) GetEndTime() uint64

func (*SellerCouponWriteCreateRequest) GetGrantType

func (req *SellerCouponWriteCreateRequest) GetGrantType() uint8

func (*SellerCouponWriteCreateRequest) GetImgUrl

func (req *SellerCouponWriteCreateRequest) GetImgUrl() string

func (*SellerCouponWriteCreateRequest) GetIp

func (*SellerCouponWriteCreateRequest) GetItemId

func (req *SellerCouponWriteCreateRequest) GetItemId() uint64

func (*SellerCouponWriteCreateRequest) GetJdNum

func (req *SellerCouponWriteCreateRequest) GetJdNum() uint

func (*SellerCouponWriteCreateRequest) GetMember

func (req *SellerCouponWriteCreateRequest) GetMember() uint

func (*SellerCouponWriteCreateRequest) GetName

func (req *SellerCouponWriteCreateRequest) GetName() string

func (*SellerCouponWriteCreateRequest) GetNum

func (req *SellerCouponWriteCreateRequest) GetNum() uint64

func (*SellerCouponWriteCreateRequest) GetNumPerSending added in v1.0.3

func (req *SellerCouponWriteCreateRequest) GetNumPerSending() string

func (*SellerCouponWriteCreateRequest) GetPaidMembers

func (req *SellerCouponWriteCreateRequest) GetPaidMembers() string

func (*SellerCouponWriteCreateRequest) GetPassword

func (req *SellerCouponWriteCreateRequest) GetPassword() string

func (*SellerCouponWriteCreateRequest) GetPlatform

func (req *SellerCouponWriteCreateRequest) GetPlatform() string

func (*SellerCouponWriteCreateRequest) GetPlatformType

func (req *SellerCouponWriteCreateRequest) GetPlatformType() int8

func (*SellerCouponWriteCreateRequest) GetPort

func (req *SellerCouponWriteCreateRequest) GetPort() string

func (*SellerCouponWriteCreateRequest) GetQuota

func (req *SellerCouponWriteCreateRequest) GetQuota() uint

func (*SellerCouponWriteCreateRequest) GetShareType

func (req *SellerCouponWriteCreateRequest) GetShareType() uint8

func (*SellerCouponWriteCreateRequest) GetSkuId

func (req *SellerCouponWriteCreateRequest) GetSkuId() []uint64

func (*SellerCouponWriteCreateRequest) GetTakeBeginTime

func (req *SellerCouponWriteCreateRequest) GetTakeBeginTime() uint64

func (*SellerCouponWriteCreateRequest) GetTakeEndTime

func (req *SellerCouponWriteCreateRequest) GetTakeEndTime() uint64

func (*SellerCouponWriteCreateRequest) GetTakeNum

func (req *SellerCouponWriteCreateRequest) GetTakeNum() uint

func (*SellerCouponWriteCreateRequest) GetTakeRule

func (req *SellerCouponWriteCreateRequest) GetTakeRule() uint8

func (*SellerCouponWriteCreateRequest) GetType

func (req *SellerCouponWriteCreateRequest) GetType() uint8

func (*SellerCouponWriteCreateRequest) GetUserClass

func (req *SellerCouponWriteCreateRequest) GetUserClass() int

func (*SellerCouponWriteCreateRequest) GetValidityType

func (req *SellerCouponWriteCreateRequest) GetValidityType() uint8
func (req *SellerCouponWriteCreateRequest) SetActivityLink(activityLink string)

func (*SellerCouponWriteCreateRequest) SetBatchKey

func (req *SellerCouponWriteCreateRequest) SetBatchKey(batchKey string)

func (*SellerCouponWriteCreateRequest) SetBeginTime

func (req *SellerCouponWriteCreateRequest) SetBeginTime(beginTime uint64)

func (*SellerCouponWriteCreateRequest) SetBindType

func (req *SellerCouponWriteCreateRequest) SetBindType(bindType uint8)

func (*SellerCouponWriteCreateRequest) SetBoundStatus

func (req *SellerCouponWriteCreateRequest) SetBoundStatus(boundStatus uint)

func (*SellerCouponWriteCreateRequest) SetDays

func (req *SellerCouponWriteCreateRequest) SetDays(days uint)

func (*SellerCouponWriteCreateRequest) SetDiscount

func (req *SellerCouponWriteCreateRequest) SetDiscount(discount uint)

func (*SellerCouponWriteCreateRequest) SetDisplay

func (req *SellerCouponWriteCreateRequest) SetDisplay(display uint8)

func (*SellerCouponWriteCreateRequest) SetEndTime

func (req *SellerCouponWriteCreateRequest) SetEndTime(endTime uint64)

func (*SellerCouponWriteCreateRequest) SetGrantType

func (req *SellerCouponWriteCreateRequest) SetGrantType(grantType uint8)

func (*SellerCouponWriteCreateRequest) SetImgUrl

func (req *SellerCouponWriteCreateRequest) SetImgUrl(imgUrl string)

func (*SellerCouponWriteCreateRequest) SetIp

func (req *SellerCouponWriteCreateRequest) SetIp(ip string)

func (*SellerCouponWriteCreateRequest) SetItemId

func (req *SellerCouponWriteCreateRequest) SetItemId(itemId uint64)

func (*SellerCouponWriteCreateRequest) SetJdNum

func (req *SellerCouponWriteCreateRequest) SetJdNum(jdNum uint)

func (*SellerCouponWriteCreateRequest) SetMember

func (req *SellerCouponWriteCreateRequest) SetMember(member uint)

func (*SellerCouponWriteCreateRequest) SetName

func (req *SellerCouponWriteCreateRequest) SetName(name string)

func (*SellerCouponWriteCreateRequest) SetNum

func (req *SellerCouponWriteCreateRequest) SetNum(num uint64)

func (*SellerCouponWriteCreateRequest) SetNumPerSending added in v1.0.3

func (req *SellerCouponWriteCreateRequest) SetNumPerSending(numPerSending string)

func (*SellerCouponWriteCreateRequest) SetPaidMembers

func (req *SellerCouponWriteCreateRequest) SetPaidMembers(paidMembers string)

func (*SellerCouponWriteCreateRequest) SetPassword

func (req *SellerCouponWriteCreateRequest) SetPassword(password string)

func (*SellerCouponWriteCreateRequest) SetPlatform

func (req *SellerCouponWriteCreateRequest) SetPlatform(platform string)

func (*SellerCouponWriteCreateRequest) SetPlatformType

func (req *SellerCouponWriteCreateRequest) SetPlatformType(platformType int8)

func (*SellerCouponWriteCreateRequest) SetPort

func (req *SellerCouponWriteCreateRequest) SetPort(port string)

func (*SellerCouponWriteCreateRequest) SetQuota

func (req *SellerCouponWriteCreateRequest) SetQuota(quota uint)

func (*SellerCouponWriteCreateRequest) SetShareType

func (req *SellerCouponWriteCreateRequest) SetShareType(shareType uint8)

func (*SellerCouponWriteCreateRequest) SetSkuId

func (req *SellerCouponWriteCreateRequest) SetSkuId(skuId []uint64)

func (*SellerCouponWriteCreateRequest) SetTakeBeginTime

func (req *SellerCouponWriteCreateRequest) SetTakeBeginTime(takeBeginTime uint64)

func (*SellerCouponWriteCreateRequest) SetTakeEndTime

func (req *SellerCouponWriteCreateRequest) SetTakeEndTime(takeEndTime uint64)

func (*SellerCouponWriteCreateRequest) SetTakeNum

func (req *SellerCouponWriteCreateRequest) SetTakeNum(takeNum uint)

func (*SellerCouponWriteCreateRequest) SetTakeRule

func (req *SellerCouponWriteCreateRequest) SetTakeRule(takeRule uint8)

func (*SellerCouponWriteCreateRequest) SetType

func (req *SellerCouponWriteCreateRequest) SetType(cType uint8)

func (*SellerCouponWriteCreateRequest) SetUserClass

func (req *SellerCouponWriteCreateRequest) SetUserClass(userClass int)

func (*SellerCouponWriteCreateRequest) SetValidityType

func (req *SellerCouponWriteCreateRequest) SetValidityType(validityType uint8)

type SellerCouponWriteLockRequest

type SellerCouponWriteLockRequest struct {
	Request *sdk.Request
}

func NewSellerCouponWriteLockRequest

func NewSellerCouponWriteLockRequest() (req *SellerCouponWriteLockRequest)

create new request

func (*SellerCouponWriteLockRequest) GetCouponId

func (req *SellerCouponWriteLockRequest) GetCouponId() uint64

func (*SellerCouponWriteLockRequest) GetOperateTime

func (req *SellerCouponWriteLockRequest) GetOperateTime() string

func (*SellerCouponWriteLockRequest) GetPort

func (req *SellerCouponWriteLockRequest) GetPort() string

func (*SellerCouponWriteLockRequest) GetPurpose

func (req *SellerCouponWriteLockRequest) GetPurpose() string

func (*SellerCouponWriteLockRequest) GetRequestId

func (req *SellerCouponWriteLockRequest) GetRequestId() string

func (*SellerCouponWriteLockRequest) GetTime

func (req *SellerCouponWriteLockRequest) GetTime() uint64

func (*SellerCouponWriteLockRequest) SetCouponId

func (req *SellerCouponWriteLockRequest) SetCouponId(couponId uint64)

func (*SellerCouponWriteLockRequest) SetOperateTime

func (req *SellerCouponWriteLockRequest) SetOperateTime(operateTime string)

func (*SellerCouponWriteLockRequest) SetPort

func (req *SellerCouponWriteLockRequest) SetPort(port string)

func (*SellerCouponWriteLockRequest) SetPurpose

func (req *SellerCouponWriteLockRequest) SetPurpose(purpose string)

func (*SellerCouponWriteLockRequest) SetRequestId

func (req *SellerCouponWriteLockRequest) SetRequestId(requestId string)

func (*SellerCouponWriteLockRequest) SetTime

func (req *SellerCouponWriteLockRequest) SetTime(cTime uint64)

type SellerCouponWritePushRequest

type SellerCouponWritePushRequest struct {
	Request *sdk.Request
}

func NewSellerCouponWritePushRequest

func NewSellerCouponWritePushRequest() (req *SellerCouponWritePushRequest)

create new request

func (*SellerCouponWritePushRequest) GetCouponId

func (req *SellerCouponWritePushRequest) GetCouponId() uint64

func (*SellerCouponWritePushRequest) GetDistrTime

func (req *SellerCouponWritePushRequest) GetDistrTime() string

func (*SellerCouponWritePushRequest) GetPin

func (req *SellerCouponWritePushRequest) GetPin() string

func (*SellerCouponWritePushRequest) GetPort

func (req *SellerCouponWritePushRequest) GetPort() string

func (*SellerCouponWritePushRequest) GetRequestId

func (req *SellerCouponWritePushRequest) GetRequestId() string

func (*SellerCouponWritePushRequest) GetUuid

func (req *SellerCouponWritePushRequest) GetUuid() string

func (*SellerCouponWritePushRequest) SetCouponId

func (req *SellerCouponWritePushRequest) SetCouponId(couponId uint64)

func (*SellerCouponWritePushRequest) SetDistrTime

func (req *SellerCouponWritePushRequest) SetDistrTime(distrTime string)

func (*SellerCouponWritePushRequest) SetPin

func (req *SellerCouponWritePushRequest) SetPin(pin string)

func (*SellerCouponWritePushRequest) SetPort

func (req *SellerCouponWritePushRequest) SetPort(port string)

func (*SellerCouponWritePushRequest) SetRequestId

func (req *SellerCouponWritePushRequest) SetRequestId(requestId string)

func (*SellerCouponWritePushRequest) SetUuid

func (req *SellerCouponWritePushRequest) SetUuid(uuid string)

type SellerPromoCouponCreateClientInfo

type SellerPromoCouponCreateClientInfo struct {
	AppName          string                                       `json:"appName"`
	BusinessIdentity string                                       `json:"businessIdentity"`
	AppId            string                                       `json:"appId,omitempty"`
	UserAgent        string                                       `json:"userAgent,omitempty"`
	Uuid             string                                       `json:"uuid,omitempty"`
	Ip               string                                       `json:"ip,omitempty"`
	Site             string                                       `json:"site,omitempty"`
	Language         string                                       `json:"language,omitempty"`
	Extension        *SellerPromoCouponCreateClientInfoExtentsion `json:"extension,omitempty"`
}

type SellerPromoCouponCreateClientInfoExtentsion

type SellerPromoCouponCreateClientInfoExtentsion struct {
	Value1 string `json:"value1"`
}

type SellerPromoCouponCreateParam

type SellerPromoCouponCreateParam struct {
	WareChoseType     uint8                                 `json:"wareChoseType"`               // 选择商品类型;1:店铺券,2:商品券
	ValidityType      uint8                                 `json:"validityType"`                // 有效期类型 5、绝对时间,1、相对时间
	TakeRule          uint8                                 `json:"takeRule"`                    // 领券规则 0不限制 1活动期间每人限领1张 2每人每天限令1张 3活动期间每人限领几张
	Type              uint8                                 `json:"type"`                        // 优惠券类型 0:无门槛券(京券);1:东券
	EndTime           string                                `json:"endTime,omitempty"`           // 有效期结束时间,validityType=5时必填
	MainQuota         uint                                  `json:"mainQuota,omitempty"`         // 优惠限额,style=1时,必填
	Style             uint8                                 `json:"style"`                       // 优惠方式 1:满减券; 3:满折券
	Name              string                                `json:"name"`                        // 优惠券名称
	TakeEndTime       string                                `json:"takeEndTime"`                 // 领券结束时间
	BeginTime         string                                `json:"beginTime,omitempty"`         // 有效期开始时间,validityType=5时必填
	Display           uint8                                 `json:"display"`                     // 是否公开 1:不公开(隐藏);3:公开(显示)
	ActivityLink      string                                `json:"activityLink,omitempty"`      // 活动链接
	OfficialType      uint8                                 `json:"officialType,omitempty"`      // 官方渠道下的1:互动营销;2:咚咚群聊;3:有价优惠券;4:cps联盟渠道 5:直播专享券
	MainDiscount      uint                                  `json:"mainDiscount,omitempty"`      // 优惠券面额,style=1时,必填
	TakeNum           uint                                  `json:"takeNum,omitempty"`           // 领取数量
	Num               uint64                                `json:"num,omitempty"`               // 优惠券数量
	TakeBeginTime     string                                `json:"takeBeginTime"`               // 领券开始时间
	Days              uint                                  `json:"days,omitempty"`              // 有效期(领券后N天),validityType=1时必填
	High              uint                                  `json:"high,omitempty"`              // 有效期类型 5、绝对时间,1、最高折扣 style=1时 high默认值等于discount;style=3时,high需要用法设置,并且大于最高折扣力度
	Spus              []SellerPromoCouponCreateParamSpu     `json:"spus,omitempty"`              // 参与活动spu集合
	ShareType         uint8                                 `json:"shareType"`                   // 是否可赠送(分享):1:可赠送;2:不可赠送
	PromoteChannel    uint8                                 `json:"promoteChannel"`              // 全网渠道:1 ;官方渠道:2
	Stairs            []SellerPromoCouponCreateParamStair   `json:"stairs,omitempty"`            // 折扣阶梯,规则:style=3时 非空;并且满足折扣递减、满额递增
	Skus              []SellerPromoCouponCreateParamSku     `json:"skus,omitempty"`              // skuId集合
	BusiPlatformParam *SellerPromoCouponCreateParamPlatform `json:"busiPlatformParam,omitempty"` // 渠道
	MemberParam       *SellerPromoCouponCreateParamMember   `json:"memberParam,omitempty"`       // 人群
	BusiCode          string                                `json:"busiCode"`                    // 场景code
}

type SellerPromoCouponCreateParamMember

type SellerPromoCouponCreateParamMember struct {
	UserClass uint `json:"userClass,omitempty"` // 会员类别
	UserLevel uint `json:"userLevel,omitempty"` // 普通会员等级
}

type SellerPromoCouponCreateParamPlatform

type SellerPromoCouponCreateParamPlatform struct {
	SelectType        uint8  `json:"selectType"`         // 0全部1限选,对应
	Channel           int8   `json:"channel,omitempty"`  // 推广渠道:QQ平台、1号店、开普勒渠道
	ChannelSelectType uint8  `json:"channelSelectType"`  // 广平台下渠道选择方式 0全部 1限选,如 0:QQ平台或开普勒渠道下所有渠道
	Platform          string `json:"platform,omitempty"` // 推广平台,多个之间用逗号隔开
}

type SellerPromoCouponCreateParamSku

type SellerPromoCouponCreateParamSku struct {
	SkuId uint64 `json:"skuId"`
}

type SellerPromoCouponCreateParamSpu

type SellerPromoCouponCreateParamSpu struct {
	SkuId uint64 `json:"skuId"`
}

type SellerPromoCouponCreateParamStair

type SellerPromoCouponCreateParamStair struct {
	Quota    uint    `json:"quota"`    // 阶梯限额,阶梯序号递增,限额递增
	Discount float64 `json:"discount"` // 阶梯折扣1、折扣券8折,discount 0.8 * 2、阶梯序号递增,折扣递减
}

type SellerPromoCouponCreateRequest

type SellerPromoCouponCreateRequest struct {
	Request *sdk.Request
}

func NewSellerPromoCouponCreateRequest

func NewSellerPromoCouponCreateRequest() (req *SellerPromoCouponCreateRequest)

create new request

func (*SellerPromoCouponCreateRequest) GetClientInfo

func (*SellerPromoCouponCreateRequest) GetParam

func (*SellerPromoCouponCreateRequest) SetClientInfo

func (req *SellerPromoCouponCreateRequest) SetClientInfo(clientInfo *SellerPromoCouponCreateClientInfo)

func (*SellerPromoCouponCreateRequest) SetParam

Jump to

Keyboard shortcuts

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