Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 6.73 KB

Promotion.md

File metadata and controls

238 lines (129 loc) · 6.73 KB

Promotion

Properties

Name Type Description Notes
CreditMonthlyCap Pointer to string The amount available to spend per month. [optional]
CreditRemaining Pointer to string The total amount of credit left for this promotion. [optional]
Description Pointer to string A detailed description of this promotion. [optional]
ExpireDt Pointer to string When this promotion's credits expire. [optional]
ImageUrl Pointer to string The location of an image for this promotion. [optional]
ServiceType Pointer to string The service to which this promotion applies. [optional]
Summary Pointer to string Short details of this promotion. [optional]
ThisMonthCreditRemaining Pointer to string The amount of credit left for this month for this promotion. [optional]

Methods

NewPromotion

func NewPromotion() *Promotion

NewPromotion instantiates a new Promotion 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

NewPromotionWithDefaults

func NewPromotionWithDefaults() *Promotion

NewPromotionWithDefaults instantiates a new Promotion 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

GetCreditMonthlyCap

func (o *Promotion) GetCreditMonthlyCap() string

GetCreditMonthlyCap returns the CreditMonthlyCap field if non-nil, zero value otherwise.

GetCreditMonthlyCapOk

func (o *Promotion) GetCreditMonthlyCapOk() (*string, bool)

GetCreditMonthlyCapOk returns a tuple with the CreditMonthlyCap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreditMonthlyCap

func (o *Promotion) SetCreditMonthlyCap(v string)

SetCreditMonthlyCap sets CreditMonthlyCap field to given value.

HasCreditMonthlyCap

func (o *Promotion) HasCreditMonthlyCap() bool

HasCreditMonthlyCap returns a boolean if a field has been set.

GetCreditRemaining

func (o *Promotion) GetCreditRemaining() string

GetCreditRemaining returns the CreditRemaining field if non-nil, zero value otherwise.

GetCreditRemainingOk

func (o *Promotion) GetCreditRemainingOk() (*string, bool)

GetCreditRemainingOk returns a tuple with the CreditRemaining field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreditRemaining

func (o *Promotion) SetCreditRemaining(v string)

SetCreditRemaining sets CreditRemaining field to given value.

HasCreditRemaining

func (o *Promotion) HasCreditRemaining() bool

HasCreditRemaining returns a boolean if a field has been set.

GetDescription

func (o *Promotion) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Promotion) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *Promotion) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Promotion) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExpireDt

func (o *Promotion) GetExpireDt() string

GetExpireDt returns the ExpireDt field if non-nil, zero value otherwise.

GetExpireDtOk

func (o *Promotion) GetExpireDtOk() (*string, bool)

GetExpireDtOk returns a tuple with the ExpireDt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpireDt

func (o *Promotion) SetExpireDt(v string)

SetExpireDt sets ExpireDt field to given value.

HasExpireDt

func (o *Promotion) HasExpireDt() bool

HasExpireDt returns a boolean if a field has been set.

GetImageUrl

func (o *Promotion) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

GetImageUrlOk

func (o *Promotion) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImageUrl

func (o *Promotion) SetImageUrl(v string)

SetImageUrl sets ImageUrl field to given value.

HasImageUrl

func (o *Promotion) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

GetServiceType

func (o *Promotion) GetServiceType() string

GetServiceType returns the ServiceType field if non-nil, zero value otherwise.

GetServiceTypeOk

func (o *Promotion) GetServiceTypeOk() (*string, bool)

GetServiceTypeOk returns a tuple with the ServiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetServiceType

func (o *Promotion) SetServiceType(v string)

SetServiceType sets ServiceType field to given value.

HasServiceType

func (o *Promotion) HasServiceType() bool

HasServiceType returns a boolean if a field has been set.

GetSummary

func (o *Promotion) GetSummary() string

GetSummary returns the Summary field if non-nil, zero value otherwise.

GetSummaryOk

func (o *Promotion) GetSummaryOk() (*string, bool)

GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSummary

func (o *Promotion) SetSummary(v string)

SetSummary sets Summary field to given value.

HasSummary

func (o *Promotion) HasSummary() bool

HasSummary returns a boolean if a field has been set.

GetThisMonthCreditRemaining

func (o *Promotion) GetThisMonthCreditRemaining() string

GetThisMonthCreditRemaining returns the ThisMonthCreditRemaining field if non-nil, zero value otherwise.

GetThisMonthCreditRemainingOk

func (o *Promotion) GetThisMonthCreditRemainingOk() (*string, bool)

GetThisMonthCreditRemainingOk returns a tuple with the ThisMonthCreditRemaining field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetThisMonthCreditRemaining

func (o *Promotion) SetThisMonthCreditRemaining(v string)

SetThisMonthCreditRemaining sets ThisMonthCreditRemaining field to given value.

HasThisMonthCreditRemaining

func (o *Promotion) HasThisMonthCreditRemaining() bool

HasThisMonthCreditRemaining returns a boolean if a field has been set.

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