Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.4 KB

File metadata and controls

212 lines (115 loc) · 5.4 KB

PricebookModel

Properties

Name Type Description Notes
DiscountApplied Pointer to bool [optional]
EndTime Pointer to time.Time [optional]
Id Pointer to int32 [optional]
Name Pointer to string [optional]
OriginalValue Pointer to float32 [optional]
StartTime Pointer to time.Time [optional]
Value Pointer to float32 [optional]

Methods

NewPricebookModel

func NewPricebookModel() *PricebookModel

NewPricebookModel instantiates a new PricebookModel 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

NewPricebookModelWithDefaults

func NewPricebookModelWithDefaults() *PricebookModel

NewPricebookModelWithDefaults instantiates a new PricebookModel 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

GetDiscountApplied

func (o *PricebookModel) GetDiscountApplied() bool

GetDiscountApplied returns the DiscountApplied field if non-nil, zero value otherwise.

GetDiscountAppliedOk

func (o *PricebookModel) GetDiscountAppliedOk() (*bool, bool)

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

SetDiscountApplied

func (o *PricebookModel) SetDiscountApplied(v bool)

SetDiscountApplied sets DiscountApplied field to given value.

HasDiscountApplied

func (o *PricebookModel) HasDiscountApplied() bool

HasDiscountApplied returns a boolean if a field has been set.

GetEndTime

func (o *PricebookModel) GetEndTime() time.Time

GetEndTime returns the EndTime field if non-nil, zero value otherwise.

GetEndTimeOk

func (o *PricebookModel) GetEndTimeOk() (*time.Time, bool)

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

SetEndTime

func (o *PricebookModel) SetEndTime(v time.Time)

SetEndTime sets EndTime field to given value.

HasEndTime

func (o *PricebookModel) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

GetId

func (o *PricebookModel) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PricebookModel) GetIdOk() (*int32, bool)

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

SetId

func (o *PricebookModel) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *PricebookModel) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *PricebookModel) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PricebookModel) GetNameOk() (*string, bool)

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

SetName

func (o *PricebookModel) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PricebookModel) HasName() bool

HasName returns a boolean if a field has been set.

GetOriginalValue

func (o *PricebookModel) GetOriginalValue() float32

GetOriginalValue returns the OriginalValue field if non-nil, zero value otherwise.

GetOriginalValueOk

func (o *PricebookModel) GetOriginalValueOk() (*float32, bool)

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

SetOriginalValue

func (o *PricebookModel) SetOriginalValue(v float32)

SetOriginalValue sets OriginalValue field to given value.

HasOriginalValue

func (o *PricebookModel) HasOriginalValue() bool

HasOriginalValue returns a boolean if a field has been set.

GetStartTime

func (o *PricebookModel) GetStartTime() time.Time

GetStartTime returns the StartTime field if non-nil, zero value otherwise.

GetStartTimeOk

func (o *PricebookModel) GetStartTimeOk() (*time.Time, bool)

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

SetStartTime

func (o *PricebookModel) SetStartTime(v time.Time)

SetStartTime sets StartTime field to given value.

HasStartTime

func (o *PricebookModel) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

GetValue

func (o *PricebookModel) GetValue() float32

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

GetValueOk

func (o *PricebookModel) GetValueOk() (*float32, 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 *PricebookModel) SetValue(v float32)

SetValue sets Value field to given value.

HasValue

func (o *PricebookModel) HasValue() bool

HasValue returns a boolean if a field has been set.

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