Name | Type | Description | Notes |
---|---|---|---|
CampaignId | Pointer to int32 | ||
CouponId | Pointer to int32 | ||
Reason | Pointer to string |
func (o *CouponRejectionReason) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *CouponRejectionReason) GetCampaignIdOk() (int32, bool)
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponRejectionReason) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *CouponRejectionReason) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *CouponRejectionReason) GetCouponId() int32
GetCouponId returns the CouponId field if non-nil, zero value otherwise.
func (o *CouponRejectionReason) GetCouponIdOk() (int32, bool)
GetCouponIdOk returns a tuple with the CouponId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponRejectionReason) HasCouponId() bool
HasCouponId returns a boolean if a field has been set.
func (o *CouponRejectionReason) SetCouponId(v int32)
SetCouponId gets a reference to the given int32 and assigns it to the CouponId field.
func (o *CouponRejectionReason) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *CouponRejectionReason) GetReasonOk() (string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponRejectionReason) HasReason() bool
HasReason returns a boolean if a field has been set.
func (o *CouponRejectionReason) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.