Skip to content

Latest commit

 

History

History
169 lines (90 loc) · 5.23 KB

RejectCouponEffectProps.md

File metadata and controls

169 lines (90 loc) · 5.23 KB

RejectCouponEffectProps

Properties

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]

Methods

GetValue

func (o *RejectCouponEffectProps) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

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.

HasValue

func (o *RejectCouponEffectProps) HasValue() bool

HasValue returns a boolean if a field has been set.

SetValue

func (o *RejectCouponEffectProps) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

GetRejectionReason

func (o *RejectCouponEffectProps) GetRejectionReason() string

GetRejectionReason returns the RejectionReason field if non-nil, zero value otherwise.

GetRejectionReasonOk

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.

HasRejectionReason

func (o *RejectCouponEffectProps) HasRejectionReason() bool

HasRejectionReason returns a boolean if a field has been set.

SetRejectionReason

func (o *RejectCouponEffectProps) SetRejectionReason(v string)

SetRejectionReason gets a reference to the given string and assigns it to the RejectionReason field.

GetConditionIndex

func (o *RejectCouponEffectProps) GetConditionIndex() int32

GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.

GetConditionIndexOk

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.

HasConditionIndex

func (o *RejectCouponEffectProps) HasConditionIndex() bool

HasConditionIndex returns a boolean if a field has been set.

SetConditionIndex

func (o *RejectCouponEffectProps) SetConditionIndex(v int32)

SetConditionIndex gets a reference to the given int32 and assigns it to the ConditionIndex field.

GetEffectIndex

func (o *RejectCouponEffectProps) GetEffectIndex() int32

GetEffectIndex returns the EffectIndex field if non-nil, zero value otherwise.

GetEffectIndexOk

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.

HasEffectIndex

func (o *RejectCouponEffectProps) HasEffectIndex() bool

HasEffectIndex returns a boolean if a field has been set.

SetEffectIndex

func (o *RejectCouponEffectProps) SetEffectIndex(v int32)

SetEffectIndex gets a reference to the given int32 and assigns it to the EffectIndex field.

GetDetails

func (o *RejectCouponEffectProps) GetDetails() string

GetDetails returns the Details field if non-nil, zero value otherwise.

GetDetailsOk

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.

HasDetails

func (o *RejectCouponEffectProps) HasDetails() bool

HasDetails returns a boolean if a field has been set.

SetDetails

func (o *RejectCouponEffectProps) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

GetCampaignExclusionReason

func (o *RejectCouponEffectProps) GetCampaignExclusionReason() string

GetCampaignExclusionReason returns the CampaignExclusionReason field if non-nil, zero value otherwise.

GetCampaignExclusionReasonOk

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.

HasCampaignExclusionReason

func (o *RejectCouponEffectProps) HasCampaignExclusionReason() bool

HasCampaignExclusionReason returns a boolean if a field has been set.

SetCampaignExclusionReason

func (o *RejectCouponEffectProps) SetCampaignExclusionReason(v string)

SetCampaignExclusionReason gets a reference to the given string and assigns it to the CampaignExclusionReason field.

[Back to Model list] [Back to API list] [Back to README]