Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.77 KB

File metadata and controls

134 lines (73 loc) · 3.77 KB

HotelPriceByDate

Properties

Name Type Description Notes
Price Pointer to float32 Nightly price for this date in the response currency. [optional]
Currency Pointer to string ISO 4217 currency code for the price. [optional]
CheckInDate Pointer to string Check-in date for this calendar entry. [optional]
CheckOutDate Pointer to string Check-out date for this calendar entry. [optional]

Methods

NewHotelPriceByDate

func NewHotelPriceByDate() *HotelPriceByDate

NewHotelPriceByDate instantiates a new HotelPriceByDate 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

NewHotelPriceByDateWithDefaults

func NewHotelPriceByDateWithDefaults() *HotelPriceByDate

NewHotelPriceByDateWithDefaults instantiates a new HotelPriceByDate 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

GetPrice

func (o *HotelPriceByDate) GetPrice() float32

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *HotelPriceByDate) GetPriceOk() (*float32, bool)

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

SetPrice

func (o *HotelPriceByDate) SetPrice(v float32)

SetPrice sets Price field to given value.

HasPrice

func (o *HotelPriceByDate) HasPrice() bool

HasPrice returns a boolean if a field has been set.

GetCurrency

func (o *HotelPriceByDate) GetCurrency() string

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *HotelPriceByDate) GetCurrencyOk() (*string, bool)

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

SetCurrency

func (o *HotelPriceByDate) SetCurrency(v string)

SetCurrency sets Currency field to given value.

HasCurrency

func (o *HotelPriceByDate) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

GetCheckInDate

func (o *HotelPriceByDate) GetCheckInDate() string

GetCheckInDate returns the CheckInDate field if non-nil, zero value otherwise.

GetCheckInDateOk

func (o *HotelPriceByDate) GetCheckInDateOk() (*string, bool)

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

SetCheckInDate

func (o *HotelPriceByDate) SetCheckInDate(v string)

SetCheckInDate sets CheckInDate field to given value.

HasCheckInDate

func (o *HotelPriceByDate) HasCheckInDate() bool

HasCheckInDate returns a boolean if a field has been set.

GetCheckOutDate

func (o *HotelPriceByDate) GetCheckOutDate() string

GetCheckOutDate returns the CheckOutDate field if non-nil, zero value otherwise.

GetCheckOutDateOk

func (o *HotelPriceByDate) GetCheckOutDateOk() (*string, bool)

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

SetCheckOutDate

func (o *HotelPriceByDate) SetCheckOutDate(v string)

SetCheckOutDate sets CheckOutDate field to given value.

HasCheckOutDate

func (o *HotelPriceByDate) HasCheckOutDate() bool

HasCheckOutDate returns a boolean if a field has been set.

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