Documentation ¶
Index ¶
- type PromoCouponCheckDiscountAuthRequest
- func (req *PromoCouponCheckDiscountAuthRequest) GetAppId() string
- func (req *PromoCouponCheckDiscountAuthRequest) GetAppName() string
- func (req *PromoCouponCheckDiscountAuthRequest) GetIp() string
- func (req *PromoCouponCheckDiscountAuthRequest) GetUuid() string
- func (req *PromoCouponCheckDiscountAuthRequest) SetAppId(appId string)
- func (req *PromoCouponCheckDiscountAuthRequest) SetAppName(appName string)
- func (req *PromoCouponCheckDiscountAuthRequest) SetIp(ip string)
- func (req *PromoCouponCheckDiscountAuthRequest) SetUuid(uuid string)
- type SellerCouponReadGetCouponByIdRequest
- func (req *SellerCouponReadGetCouponByIdRequest) GetCouponId() uint64
- func (req *SellerCouponReadGetCouponByIdRequest) GetIp() string
- func (req *SellerCouponReadGetCouponByIdRequest) GetPort() string
- func (req *SellerCouponReadGetCouponByIdRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponReadGetCouponByIdRequest) SetIp(ip string)
- func (req *SellerCouponReadGetCouponByIdRequest) SetPort(port string)
- type SellerCouponReadGetCouponCountRequest
- func (req *SellerCouponReadGetCouponCountRequest) GetBindType() uint8
- func (req *SellerCouponReadGetCouponCountRequest) GetClosed() string
- func (req *SellerCouponReadGetCouponCountRequest) GetCouponId() uint64
- func (req *SellerCouponReadGetCouponCountRequest) GetCreateMonth() string
- func (req *SellerCouponReadGetCouponCountRequest) GetCreatorType() string
- func (req *SellerCouponReadGetCouponCountRequest) GetGrantType() uint8
- func (req *SellerCouponReadGetCouponCountRequest) GetGrantWay() uint8
- func (req *SellerCouponReadGetCouponCountRequest) GetIp() string
- func (req *SellerCouponReadGetCouponCountRequest) GetName() string
- func (req *SellerCouponReadGetCouponCountRequest) GetPort() string
- func (req *SellerCouponReadGetCouponCountRequest) GetType() string
- func (req *SellerCouponReadGetCouponCountRequest) SetBindType(bindType uint8)
- func (req *SellerCouponReadGetCouponCountRequest) SetClosed(closed string)
- func (req *SellerCouponReadGetCouponCountRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponReadGetCouponCountRequest) SetCreateMonth(createMonth string)
- func (req *SellerCouponReadGetCouponCountRequest) SetCreatorType(creatorType string)
- func (req *SellerCouponReadGetCouponCountRequest) SetGrantType(grantType uint8)
- func (req *SellerCouponReadGetCouponCountRequest) SetGrantWay(grantWay uint8)
- func (req *SellerCouponReadGetCouponCountRequest) SetIp(ip string)
- func (req *SellerCouponReadGetCouponCountRequest) SetName(name string)
- func (req *SellerCouponReadGetCouponCountRequest) SetPort(port string)
- func (req *SellerCouponReadGetCouponCountRequest) SetType(cType string)
- type SellerCouponReadGetCouponListRequest
- func (req *SellerCouponReadGetCouponListRequest) GetBindType() uint
- func (req *SellerCouponReadGetCouponListRequest) GetClosed() string
- func (req *SellerCouponReadGetCouponListRequest) GetCouponId() uint64
- func (req *SellerCouponReadGetCouponListRequest) GetCreateMonth() string
- func (req *SellerCouponReadGetCouponListRequest) GetCreatorType() string
- func (req *SellerCouponReadGetCouponListRequest) GetGrantType() uint
- func (req *SellerCouponReadGetCouponListRequest) GetGrantWay() uint
- func (req *SellerCouponReadGetCouponListRequest) GetIp() string
- func (req *SellerCouponReadGetCouponListRequest) GetName() string
- func (req *SellerCouponReadGetCouponListRequest) GetPage() uint
- func (req *SellerCouponReadGetCouponListRequest) GetPageSize() uint
- func (req *SellerCouponReadGetCouponListRequest) GetPort() string
- func (req *SellerCouponReadGetCouponListRequest) GetType() string
- func (req *SellerCouponReadGetCouponListRequest) SetBindType(bindType uint)
- func (req *SellerCouponReadGetCouponListRequest) SetClosed(closed string)
- func (req *SellerCouponReadGetCouponListRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponReadGetCouponListRequest) SetCreateMonth(createMonth string)
- func (req *SellerCouponReadGetCouponListRequest) SetCreatorType(creatorType string)
- func (req *SellerCouponReadGetCouponListRequest) SetGrantType(grantType uint)
- func (req *SellerCouponReadGetCouponListRequest) SetGrantWay(grantWay uint)
- func (req *SellerCouponReadGetCouponListRequest) SetIp(ip string)
- func (req *SellerCouponReadGetCouponListRequest) SetName(name string)
- func (req *SellerCouponReadGetCouponListRequest) SetPage(page uint)
- func (req *SellerCouponReadGetCouponListRequest) SetPageSize(pageSize uint)
- func (req *SellerCouponReadGetCouponListRequest) SetPort(port string)
- func (req *SellerCouponReadGetCouponListRequest) SetType(cType string)
- type SellerCouponSkuListRequest
- func (req *SellerCouponSkuListRequest) GetAppKey() string
- func (req *SellerCouponSkuListRequest) GetBindType() uint8
- func (req *SellerCouponSkuListRequest) GetCouponId() uint64
- func (req *SellerCouponSkuListRequest) GetIp() string
- func (req *SellerCouponSkuListRequest) GetPage() int
- func (req *SellerCouponSkuListRequest) GetPageSize() int
- func (req *SellerCouponSkuListRequest) GetPort() string
- func (req *SellerCouponSkuListRequest) GetSearchStatus() int
- func (req *SellerCouponSkuListRequest) GetSkuId() uint64
- func (req *SellerCouponSkuListRequest) GetWareId() uint64
- func (req *SellerCouponSkuListRequest) SetAppKey(appKey string)
- func (req *SellerCouponSkuListRequest) SetBindType(bindType uint8)
- func (req *SellerCouponSkuListRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponSkuListRequest) SetIp(ip string)
- func (req *SellerCouponSkuListRequest) SetPage(page int)
- func (req *SellerCouponSkuListRequest) SetPageSize(pageSize int)
- func (req *SellerCouponSkuListRequest) SetPort(port string)
- func (req *SellerCouponSkuListRequest) SetSearchStatus(searchStatus int)
- func (req *SellerCouponSkuListRequest) SetSkuId(skuId uint64)
- func (req *SellerCouponSkuListRequest) SetWareId(wareId uint64)
- type SellerCouponWriteCloseRequest
- func (req *SellerCouponWriteCloseRequest) GetCouponId() uint64
- func (req *SellerCouponWriteCloseRequest) GetIp() string
- func (req *SellerCouponWriteCloseRequest) GetPort() string
- func (req *SellerCouponWriteCloseRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponWriteCloseRequest) SetIp(ip string)
- func (req *SellerCouponWriteCloseRequest) SetPort(port string)
- type SellerCouponWriteCreateRequest
- func (req *SellerCouponWriteCreateRequest) GetActivityLink() string
- func (req *SellerCouponWriteCreateRequest) GetBatchKey() string
- func (req *SellerCouponWriteCreateRequest) GetBeginTime() uint64
- func (req *SellerCouponWriteCreateRequest) GetBindType() uint8
- func (req *SellerCouponWriteCreateRequest) GetBoundStatus() uint
- func (req *SellerCouponWriteCreateRequest) GetDays() uint
- func (req *SellerCouponWriteCreateRequest) GetDiscount() uint
- func (req *SellerCouponWriteCreateRequest) GetDisplay() uint8
- func (req *SellerCouponWriteCreateRequest) GetEndTime() uint64
- func (req *SellerCouponWriteCreateRequest) GetGrantType() uint8
- func (req *SellerCouponWriteCreateRequest) GetImgUrl() string
- func (req *SellerCouponWriteCreateRequest) GetIp() string
- func (req *SellerCouponWriteCreateRequest) GetItemId() uint64
- func (req *SellerCouponWriteCreateRequest) GetJdNum() uint
- func (req *SellerCouponWriteCreateRequest) GetMember() uint
- func (req *SellerCouponWriteCreateRequest) GetName() string
- func (req *SellerCouponWriteCreateRequest) GetNum() uint64
- func (req *SellerCouponWriteCreateRequest) GetNumPerSending() string
- func (req *SellerCouponWriteCreateRequest) GetPaidMembers() string
- func (req *SellerCouponWriteCreateRequest) GetPassword() string
- func (req *SellerCouponWriteCreateRequest) GetPlatform() string
- func (req *SellerCouponWriteCreateRequest) GetPlatformType() int8
- func (req *SellerCouponWriteCreateRequest) GetPort() string
- func (req *SellerCouponWriteCreateRequest) GetQuota() uint
- func (req *SellerCouponWriteCreateRequest) GetShareType() uint8
- func (req *SellerCouponWriteCreateRequest) GetSkuId() []uint64
- func (req *SellerCouponWriteCreateRequest) GetTakeBeginTime() uint64
- func (req *SellerCouponWriteCreateRequest) GetTakeEndTime() uint64
- func (req *SellerCouponWriteCreateRequest) GetTakeNum() uint
- func (req *SellerCouponWriteCreateRequest) GetTakeRule() uint8
- func (req *SellerCouponWriteCreateRequest) GetType() uint8
- func (req *SellerCouponWriteCreateRequest) GetUserClass() int
- func (req *SellerCouponWriteCreateRequest) GetValidityType() uint8
- func (req *SellerCouponWriteCreateRequest) SetActivityLink(activityLink string)
- func (req *SellerCouponWriteCreateRequest) SetBatchKey(batchKey string)
- func (req *SellerCouponWriteCreateRequest) SetBeginTime(beginTime uint64)
- func (req *SellerCouponWriteCreateRequest) SetBindType(bindType uint8)
- func (req *SellerCouponWriteCreateRequest) SetBoundStatus(boundStatus uint)
- func (req *SellerCouponWriteCreateRequest) SetDays(days uint)
- func (req *SellerCouponWriteCreateRequest) SetDiscount(discount uint)
- func (req *SellerCouponWriteCreateRequest) SetDisplay(display uint8)
- func (req *SellerCouponWriteCreateRequest) SetEndTime(endTime uint64)
- func (req *SellerCouponWriteCreateRequest) SetGrantType(grantType uint8)
- func (req *SellerCouponWriteCreateRequest) SetImgUrl(imgUrl string)
- func (req *SellerCouponWriteCreateRequest) SetIp(ip string)
- func (req *SellerCouponWriteCreateRequest) SetItemId(itemId uint64)
- func (req *SellerCouponWriteCreateRequest) SetJdNum(jdNum uint)
- func (req *SellerCouponWriteCreateRequest) SetMember(member uint)
- func (req *SellerCouponWriteCreateRequest) SetName(name string)
- func (req *SellerCouponWriteCreateRequest) SetNum(num uint64)
- func (req *SellerCouponWriteCreateRequest) SetNumPerSending(numPerSending string)
- func (req *SellerCouponWriteCreateRequest) SetPaidMembers(paidMembers string)
- func (req *SellerCouponWriteCreateRequest) SetPassword(password string)
- func (req *SellerCouponWriteCreateRequest) SetPlatform(platform string)
- func (req *SellerCouponWriteCreateRequest) SetPlatformType(platformType int8)
- func (req *SellerCouponWriteCreateRequest) SetPort(port string)
- func (req *SellerCouponWriteCreateRequest) SetQuota(quota uint)
- func (req *SellerCouponWriteCreateRequest) SetShareType(shareType uint8)
- func (req *SellerCouponWriteCreateRequest) SetSkuId(skuId []uint64)
- func (req *SellerCouponWriteCreateRequest) SetTakeBeginTime(takeBeginTime uint64)
- func (req *SellerCouponWriteCreateRequest) SetTakeEndTime(takeEndTime uint64)
- func (req *SellerCouponWriteCreateRequest) SetTakeNum(takeNum uint)
- func (req *SellerCouponWriteCreateRequest) SetTakeRule(takeRule uint8)
- func (req *SellerCouponWriteCreateRequest) SetType(cType uint8)
- func (req *SellerCouponWriteCreateRequest) SetUserClass(userClass int)
- func (req *SellerCouponWriteCreateRequest) SetValidityType(validityType uint8)
- type SellerCouponWriteLockRequest
- func (req *SellerCouponWriteLockRequest) GetCouponId() uint64
- func (req *SellerCouponWriteLockRequest) GetOperateTime() string
- func (req *SellerCouponWriteLockRequest) GetPort() string
- func (req *SellerCouponWriteLockRequest) GetPurpose() string
- func (req *SellerCouponWriteLockRequest) GetRequestId() string
- func (req *SellerCouponWriteLockRequest) GetTime() uint64
- func (req *SellerCouponWriteLockRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponWriteLockRequest) SetOperateTime(operateTime string)
- func (req *SellerCouponWriteLockRequest) SetPort(port string)
- func (req *SellerCouponWriteLockRequest) SetPurpose(purpose string)
- func (req *SellerCouponWriteLockRequest) SetRequestId(requestId string)
- func (req *SellerCouponWriteLockRequest) SetTime(cTime uint64)
- type SellerCouponWritePushRequest
- func (req *SellerCouponWritePushRequest) GetCouponId() uint64
- func (req *SellerCouponWritePushRequest) GetDistrTime() string
- func (req *SellerCouponWritePushRequest) GetPin() string
- func (req *SellerCouponWritePushRequest) GetPort() string
- func (req *SellerCouponWritePushRequest) GetRequestId() string
- func (req *SellerCouponWritePushRequest) GetUuid() string
- func (req *SellerCouponWritePushRequest) SetCouponId(couponId uint64)
- func (req *SellerCouponWritePushRequest) SetDistrTime(distrTime string)
- func (req *SellerCouponWritePushRequest) SetPin(pin string)
- func (req *SellerCouponWritePushRequest) SetPort(port string)
- func (req *SellerCouponWritePushRequest) SetRequestId(requestId string)
- func (req *SellerCouponWritePushRequest) SetUuid(uuid string)
- type SellerPromoCouponCreateClientInfo
- type SellerPromoCouponCreateClientInfoExtentsion
- type SellerPromoCouponCreateParam
- type SellerPromoCouponCreateParamMember
- type SellerPromoCouponCreateParamPlatform
- type SellerPromoCouponCreateParamSku
- type SellerPromoCouponCreateParamSpu
- type SellerPromoCouponCreateParamStair
- type SellerPromoCouponCreateRequest
- func (req *SellerPromoCouponCreateRequest) GetClientInfo() *SellerPromoCouponCreateClientInfo
- func (req *SellerPromoCouponCreateRequest) GetParam() *SellerPromoCouponCreateParam
- func (req *SellerPromoCouponCreateRequest) SetClientInfo(clientInfo *SellerPromoCouponCreateClientInfo)
- func (req *SellerPromoCouponCreateRequest) SetParam(param *SellerPromoCouponCreateParam)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromoCouponCheckDiscountAuthRequest ¶
func NewPromoCouponCheckDiscountAuthRequest ¶
func NewPromoCouponCheckDiscountAuthRequest() (req *PromoCouponCheckDiscountAuthRequest)
create new request
func (*PromoCouponCheckDiscountAuthRequest) GetAppId ¶
func (req *PromoCouponCheckDiscountAuthRequest) GetAppId() string
func (*PromoCouponCheckDiscountAuthRequest) GetAppName ¶
func (req *PromoCouponCheckDiscountAuthRequest) GetAppName() string
func (*PromoCouponCheckDiscountAuthRequest) GetIp ¶
func (req *PromoCouponCheckDiscountAuthRequest) GetIp() string
func (*PromoCouponCheckDiscountAuthRequest) GetUuid ¶
func (req *PromoCouponCheckDiscountAuthRequest) GetUuid() string
func (*PromoCouponCheckDiscountAuthRequest) SetAppId ¶
func (req *PromoCouponCheckDiscountAuthRequest) SetAppId(appId string)
func (*PromoCouponCheckDiscountAuthRequest) SetAppName ¶
func (req *PromoCouponCheckDiscountAuthRequest) SetAppName(appName string)
func (*PromoCouponCheckDiscountAuthRequest) SetIp ¶
func (req *PromoCouponCheckDiscountAuthRequest) SetIp(ip string)
func (*PromoCouponCheckDiscountAuthRequest) SetUuid ¶
func (req *PromoCouponCheckDiscountAuthRequest) SetUuid(uuid string)
type SellerCouponReadGetCouponByIdRequest ¶
func NewSellerCouponReadGetCouponByIdRequest ¶
func NewSellerCouponReadGetCouponByIdRequest() (req *SellerCouponReadGetCouponByIdRequest)
create new request
func (*SellerCouponReadGetCouponByIdRequest) GetCouponId ¶
func (req *SellerCouponReadGetCouponByIdRequest) GetCouponId() uint64
func (*SellerCouponReadGetCouponByIdRequest) GetIp ¶
func (req *SellerCouponReadGetCouponByIdRequest) GetIp() string
func (*SellerCouponReadGetCouponByIdRequest) GetPort ¶
func (req *SellerCouponReadGetCouponByIdRequest) GetPort() string
func (*SellerCouponReadGetCouponByIdRequest) SetCouponId ¶
func (req *SellerCouponReadGetCouponByIdRequest) SetCouponId(couponId uint64)
func (*SellerCouponReadGetCouponByIdRequest) SetIp ¶
func (req *SellerCouponReadGetCouponByIdRequest) SetIp(ip string)
func (*SellerCouponReadGetCouponByIdRequest) SetPort ¶
func (req *SellerCouponReadGetCouponByIdRequest) SetPort(port string)
type SellerCouponReadGetCouponCountRequest ¶
func NewSellerCouponReadGetCouponCountRequest ¶
func NewSellerCouponReadGetCouponCountRequest() (req *SellerCouponReadGetCouponCountRequest)
create new request
func (*SellerCouponReadGetCouponCountRequest) GetBindType ¶
func (req *SellerCouponReadGetCouponCountRequest) GetBindType() uint8
func (*SellerCouponReadGetCouponCountRequest) GetClosed ¶
func (req *SellerCouponReadGetCouponCountRequest) GetClosed() string
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 (req *SellerCouponReadGetCouponCountRequest) GetIp() string
func (*SellerCouponReadGetCouponCountRequest) GetName ¶
func (req *SellerCouponReadGetCouponCountRequest) GetName() string
func (*SellerCouponReadGetCouponCountRequest) GetPort ¶
func (req *SellerCouponReadGetCouponCountRequest) GetPort() string
func (*SellerCouponReadGetCouponCountRequest) GetType ¶
func (req *SellerCouponReadGetCouponCountRequest) GetType() string
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 (req *SellerCouponReadGetCouponCountRequest) SetIp(ip string)
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 ¶
func NewSellerCouponReadGetCouponListRequest ¶
func NewSellerCouponReadGetCouponListRequest() (req *SellerCouponReadGetCouponListRequest)
create new request
func (*SellerCouponReadGetCouponListRequest) GetBindType ¶
func (req *SellerCouponReadGetCouponListRequest) GetBindType() uint
func (*SellerCouponReadGetCouponListRequest) GetClosed ¶
func (req *SellerCouponReadGetCouponListRequest) GetClosed() string
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 (req *SellerCouponReadGetCouponListRequest) GetIp() string
func (*SellerCouponReadGetCouponListRequest) GetName ¶
func (req *SellerCouponReadGetCouponListRequest) GetName() string
func (*SellerCouponReadGetCouponListRequest) GetPage ¶
func (req *SellerCouponReadGetCouponListRequest) GetPage() uint
func (*SellerCouponReadGetCouponListRequest) GetPageSize ¶
func (req *SellerCouponReadGetCouponListRequest) GetPageSize() uint
func (*SellerCouponReadGetCouponListRequest) GetPort ¶
func (req *SellerCouponReadGetCouponListRequest) GetPort() string
func (*SellerCouponReadGetCouponListRequest) GetType ¶
func (req *SellerCouponReadGetCouponListRequest) GetType() string
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 (req *SellerCouponReadGetCouponListRequest) SetIp(ip string)
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 ¶
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 ¶
func NewSellerCouponWriteCloseRequest ¶
func NewSellerCouponWriteCloseRequest() (req *SellerCouponWriteCloseRequest)
create new request
func (*SellerCouponWriteCloseRequest) GetCouponId ¶
func (req *SellerCouponWriteCloseRequest) GetCouponId() uint64
func (*SellerCouponWriteCloseRequest) GetIp ¶
func (req *SellerCouponWriteCloseRequest) GetIp() string
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 ¶
func NewSellerCouponWriteCreateRequest ¶
func NewSellerCouponWriteCreateRequest() (req *SellerCouponWriteCreateRequest)
create new request
func (*SellerCouponWriteCreateRequest) GetActivityLink ¶
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 (req *SellerCouponWriteCreateRequest) GetIp() string
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 (*SellerCouponWriteCreateRequest) SetActivityLink ¶
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 ¶
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 ¶
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集合 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 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 SellerPromoCouponCreateRequest ¶
func NewSellerPromoCouponCreateRequest ¶
func NewSellerPromoCouponCreateRequest() (req *SellerPromoCouponCreateRequest)
create new request
func (*SellerPromoCouponCreateRequest) GetClientInfo ¶
func (req *SellerPromoCouponCreateRequest) GetClientInfo() *SellerPromoCouponCreateClientInfo
func (*SellerPromoCouponCreateRequest) GetParam ¶
func (req *SellerPromoCouponCreateRequest) GetParam() *SellerPromoCouponCreateParam
func (*SellerPromoCouponCreateRequest) SetClientInfo ¶
func (req *SellerPromoCouponCreateRequest) SetClientInfo(clientInfo *SellerPromoCouponCreateClientInfo)
func (*SellerPromoCouponCreateRequest) SetParam ¶
func (req *SellerPromoCouponCreateRequest) SetParam(param *SellerPromoCouponCreateParam)
Click to show internal directories.
Click to hide internal directories.