third-platform-sdk/sdk/fliggysdk/defaultability/domain/AlibabaFliggyCpsCouponOfferBuyUserRequest.go
2024-08-05 17:19:30 +08:00

45 lines
1.4 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}