Name | Type | Description | Notes |
---|---|---|---|
Value | Pointer to string | The coupon code that was rejected. | |
RejectionReason | Pointer to string | The reason why this coupon was rejected. | |
ConditionIndex | Pointer to int32 | The index of the condition that caused the rejection of the coupon. | [optional] |
EffectIndex | Pointer to int32 | The index of the effect that caused the rejection of the coupon. | [optional] |
Details | Pointer to string | More details about the failure. | [optional] |
CampaignExclusionReason | Pointer to string | The reason why the campaign was not applied. | [optional] |
func (o *RejectCouponEffectProps) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetValueOk() (string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (o *RejectCouponEffectProps) GetRejectionReason() string
GetRejectionReason returns the RejectionReason field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetRejectionReasonOk() (string, bool)
GetRejectionReasonOk returns a tuple with the RejectionReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasRejectionReason() bool
HasRejectionReason returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetRejectionReason(v string)
SetRejectionReason gets a reference to the given string and assigns it to the RejectionReason field.
func (o *RejectCouponEffectProps) GetConditionIndex() int32
GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetConditionIndexOk() (int32, bool)
GetConditionIndexOk returns a tuple with the ConditionIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasConditionIndex() bool
HasConditionIndex returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetConditionIndex(v int32)
SetConditionIndex gets a reference to the given int32 and assigns it to the ConditionIndex field.
func (o *RejectCouponEffectProps) GetEffectIndex() int32
GetEffectIndex returns the EffectIndex field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetEffectIndexOk() (int32, bool)
GetEffectIndexOk returns a tuple with the EffectIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasEffectIndex() bool
HasEffectIndex returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetEffectIndex(v int32)
SetEffectIndex gets a reference to the given int32 and assigns it to the EffectIndex field.
func (o *RejectCouponEffectProps) GetDetails() string
GetDetails returns the Details field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetDetailsOk() (string, bool)
GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (o *RejectCouponEffectProps) GetCampaignExclusionReason() string
GetCampaignExclusionReason returns the CampaignExclusionReason field if non-nil, zero value otherwise.
func (o *RejectCouponEffectProps) GetCampaignExclusionReasonOk() (string, bool)
GetCampaignExclusionReasonOk returns a tuple with the CampaignExclusionReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RejectCouponEffectProps) HasCampaignExclusionReason() bool
HasCampaignExclusionReason returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) SetCampaignExclusionReason(v string)
SetCampaignExclusionReason gets a reference to the given string and assigns it to the CampaignExclusionReason field.