45 lines
1.4 KiB
Go
45 lines
1.4 KiB
Go
package domain
|
||
|
||
type AlibabaFliggyCpsCouponOfferBuyUserRequest struct {
|
||
/*
|
||
推广者淘宝用户ID */
|
||
PromoteUserId *int64 `json:"promote_user_id,omitempty" `
|
||
|
||
/*
|
||
手机号码 */
|
||
Mobile *string `json:"mobile,omitempty" `
|
||
|
||
/*
|
||
推广者计划ID,由对接小二提供 */
|
||
PlanId *int64 `json:"plan_id,omitempty" `
|
||
|
||
/*
|
||
自定义字符串,小于50个字符串,可用来区分同渠道的不同资源位 */
|
||
SecondPromoteUserId *string `json:"second_promote_user_id,omitempty" `
|
||
|
||
/*
|
||
渠道标识符,如自己渠道的拼音,由对接小二提供 */
|
||
ChannelCode *string `json:"channel_code,omitempty" `
|
||
}
|
||
|
||
func (s *AlibabaFliggyCpsCouponOfferBuyUserRequest) SetPromoteUserId(v int64) *AlibabaFliggyCpsCouponOfferBuyUserRequest {
|
||
s.PromoteUserId = &v
|
||
return s
|
||
}
|
||
func (s *AlibabaFliggyCpsCouponOfferBuyUserRequest) SetMobile(v string) *AlibabaFliggyCpsCouponOfferBuyUserRequest {
|
||
s.Mobile = &v
|
||
return s
|
||
}
|
||
func (s *AlibabaFliggyCpsCouponOfferBuyUserRequest) SetPlanId(v int64) *AlibabaFliggyCpsCouponOfferBuyUserRequest {
|
||
s.PlanId = &v
|
||
return s
|
||
}
|
||
func (s *AlibabaFliggyCpsCouponOfferBuyUserRequest) SetSecondPromoteUserId(v string) *AlibabaFliggyCpsCouponOfferBuyUserRequest {
|
||
s.SecondPromoteUserId = &v
|
||
return s
|
||
}
|
||
func (s *AlibabaFliggyCpsCouponOfferBuyUserRequest) SetChannelCode(v string) *AlibabaFliggyCpsCouponOfferBuyUserRequest {
|
||
s.ChannelCode = &v
|
||
return s
|
||
}
|