package domain

type AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule struct {
	/*
	   第N件折扣率【600=6折】     */
	CountAtDiscountRate *int64 `json:"count_at_discount_rate,omitempty" `

	/*
	   第N件减钱【分】     */
	CountAtDecreaseMoney *int64 `json:"count_at_decrease_money,omitempty" `

	/*
	   第N件一口价【分】     */
	CountAtFixPrice *int64 `json:"count_at_fix_price,omitempty" `

	/*
	   是否第N建一口价     */
	IsCountAtFixPrice *bool `json:"is_count_at_fix_price,omitempty" `

	/*
	   是否第N件减钱     */
	IsCountAtDecreaseMoney *bool `json:"is_count_at_decrease_money,omitempty" `

	/*
	   是否第N件打折     */
	IsCountAtDiscountRate *bool `json:"is_count_at_discount_rate,omitempty" `
}

func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetCountAtDiscountRate(v int64) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.CountAtDiscountRate = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetCountAtDecreaseMoney(v int64) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.CountAtDecreaseMoney = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetCountAtFixPrice(v int64) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.CountAtFixPrice = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetIsCountAtFixPrice(v bool) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.IsCountAtFixPrice = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetIsCountAtDecreaseMoney(v bool) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.IsCountAtDecreaseMoney = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule) SetIsCountAtDiscountRate(v bool) *AlibabaWdkMarketingItempoolActivityCreateCountAtDiscountRule {
	s.IsCountAtDiscountRate = &v
	return s
}
