package domain

type AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku struct {
	/*
	   通用限购信息，-1为不限制，默认为不限制     */
	LimitInfo *AlibabaWdkMarketingItemdiscountQueryitemsLimitInfo `json:"limit_info,omitempty" `

	/*
	   淘宝item和shop的对应关系， k-itemId, v-shopId     */
	ItemShopRelation *string `json:"item_shop_relation,omitempty" `

	/*
	   <优惠明细,分为单位>优惠类型为[减价],则代表直降金额[如700,表示商品直降7元];优惠券类型为[一口价],则代表一口价[如700,表示商品一口价为7元];优惠券类型为[打折],则代表折扣[如700,表示打7折]     */
	Value *int64 `json:"value,omitempty" `

	/*
	   商品名称     */
	SkuName *string `json:"sku_name,omitempty" `

	/*
	   商品的skuCode     */
	SkuCode *string `json:"sku_code,omitempty" `

	/*
	   积分值     */
	ConditionNum *int64 `json:"condition_num,omitempty" `

	/*
	   积分类型     */
	ConditionType *int64 `json:"condition_type,omitempty" `
}

func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetLimitInfo(v AlibabaWdkMarketingItemdiscountQueryitemsLimitInfo) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.LimitInfo = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetItemShopRelation(v string) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.ItemShopRelation = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetValue(v int64) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.Value = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetSkuName(v string) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.SkuName = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetSkuCode(v string) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.SkuCode = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetConditionNum(v int64) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.ConditionNum = &v
	return s
}
func (s *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku) SetConditionType(v int64) *AlibabaWdkMarketingItemdiscountQueryitemsItemDiscountSku {
	s.ConditionType = &v
	return s
}
