Skip to content

Latest commit

 

History

History
91 lines (48 loc) · 2.37 KB

CouponRejectionReason.md

File metadata and controls

91 lines (48 loc) · 2.37 KB

CouponRejectionReason

Properties

Name Type Description Notes
CampaignId Pointer to int32
CouponId Pointer to int32
Reason Pointer to string

Methods

GetCampaignId

func (o *CouponRejectionReason) GetCampaignId() int32

GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.

GetCampaignIdOk

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.

HasCampaignId

func (o *CouponRejectionReason) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

SetCampaignId

func (o *CouponRejectionReason) SetCampaignId(v int32)

SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.

GetCouponId

func (o *CouponRejectionReason) GetCouponId() int32

GetCouponId returns the CouponId field if non-nil, zero value otherwise.

GetCouponIdOk

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.

HasCouponId

func (o *CouponRejectionReason) HasCouponId() bool

HasCouponId returns a boolean if a field has been set.

SetCouponId

func (o *CouponRejectionReason) SetCouponId(v int32)

SetCouponId gets a reference to the given int32 and assigns it to the CouponId field.

GetReason

func (o *CouponRejectionReason) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

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.

HasReason

func (o *CouponRejectionReason) HasReason() bool

HasReason returns a boolean if a field has been set.

SetReason

func (o *CouponRejectionReason) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

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