| 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] |
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
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
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) SetValue(v string)
SetValue sets Value field to given value.
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) SetRejectionReason(v string)
SetRejectionReason sets RejectionReason field to given value.
func (o *RejectCouponEffectProps) GetConditionIndex() int64
GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.
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.
func (o *RejectCouponEffectProps) SetConditionIndex(v int64)
SetConditionIndex sets ConditionIndex field to given value.
func (o *RejectCouponEffectProps) HasConditionIndex() bool
HasConditionIndex returns a boolean if a field has been set.
func (o *RejectCouponEffectProps) GetEffectIndex() int64
GetEffectIndex returns the EffectIndex field if non-nil, zero value otherwise.
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.
func (o *RejectCouponEffectProps) SetEffectIndex(v int64)
SetEffectIndex sets EffectIndex field to given value.
func (o *RejectCouponEffectProps) HasEffectIndex() bool
HasEffectIndex returns a boolean if a field has been set.
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) SetDetails(v string)
SetDetails sets Details field to given value.
func (o *RejectCouponEffectProps) HasDetails() bool
HasDetails returns a boolean if a field has been set.
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) SetCampaignExclusionReason(v string)
SetCampaignExclusionReason sets CampaignExclusionReason field to given value.
func (o *RejectCouponEffectProps) HasCampaignExclusionReason() bool
HasCampaignExclusionReason returns a boolean if a field has been set.