Skip to content

Latest commit

 

History

History
176 lines (95 loc) · 5.51 KB

File metadata and controls

176 lines (95 loc) · 5.51 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 int64 The index of the condition that caused the rejection of the coupon. [optional]
EffectIndex Pointer to int64 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

NewRejectCouponEffectProps

func NewRejectCouponEffectProps(value string, rejectionReason string, ) *RejectCouponEffectProps

NewRejectCouponEffectProps instantiates a new RejectCouponEffectProps object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewRejectCouponEffectPropsWithDefaults

func NewRejectCouponEffectPropsWithDefaults() *RejectCouponEffectProps

NewRejectCouponEffectPropsWithDefaults instantiates a new RejectCouponEffectProps object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

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.

SetValue

func (o *RejectCouponEffectProps) SetValue(v string)

SetValue sets Value field to given value.

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.

SetRejectionReason

func (o *RejectCouponEffectProps) SetRejectionReason(v string)

SetRejectionReason sets RejectionReason field to given value.

GetConditionIndex

func (o *RejectCouponEffectProps) GetConditionIndex() int64

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

GetConditionIndexOk

func (o *RejectCouponEffectProps) GetConditionIndexOk() (*int64, 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.

SetConditionIndex

func (o *RejectCouponEffectProps) SetConditionIndex(v int64)

SetConditionIndex sets ConditionIndex field to given value.

HasConditionIndex

func (o *RejectCouponEffectProps) HasConditionIndex() bool

HasConditionIndex returns a boolean if a field has been set.

GetEffectIndex

func (o *RejectCouponEffectProps) GetEffectIndex() int64

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

GetEffectIndexOk

func (o *RejectCouponEffectProps) GetEffectIndexOk() (*int64, 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.

SetEffectIndex

func (o *RejectCouponEffectProps) SetEffectIndex(v int64)

SetEffectIndex sets EffectIndex field to given value.

HasEffectIndex

func (o *RejectCouponEffectProps) HasEffectIndex() bool

HasEffectIndex returns a boolean if a field has been set.

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.

SetDetails

func (o *RejectCouponEffectProps) SetDetails(v string)

SetDetails sets Details field to given value.

HasDetails

func (o *RejectCouponEffectProps) HasDetails() bool

HasDetails returns a boolean if a field has been set.

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.

SetCampaignExclusionReason

func (o *RejectCouponEffectProps) SetCampaignExclusionReason(v string)

SetCampaignExclusionReason sets CampaignExclusionReason field to given value.

HasCampaignExclusionReason

func (o *RejectCouponEffectProps) HasCampaignExclusionReason() bool

HasCampaignExclusionReason returns a boolean if a field has been set.

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