Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.59 KB

File metadata and controls

108 lines (59 loc) · 2.59 KB

Payment

Properties

Name Type Description Notes
Date Pointer to time.Time When the Payment was made. [optional] [readonly]
Id Pointer to int32 The unique ID of the Payment. [optional] [readonly]
Usd Pointer to int32 The amount, in US dollars, of the Payment. [optional] [readonly]

Methods

NewPayment

func NewPayment() *Payment

NewPayment instantiates a new Payment 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

NewPaymentWithDefaults

func NewPaymentWithDefaults() *Payment

NewPaymentWithDefaults instantiates a new Payment 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

GetDate

func (o *Payment) GetDate() time.Time

GetDate returns the Date field if non-nil, zero value otherwise.

GetDateOk

func (o *Payment) GetDateOk() (*time.Time, bool)

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

SetDate

func (o *Payment) SetDate(v time.Time)

SetDate sets Date field to given value.

HasDate

func (o *Payment) HasDate() bool

HasDate returns a boolean if a field has been set.

GetId

func (o *Payment) GetId() int32

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

GetIdOk

func (o *Payment) 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 *Payment) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *Payment) HasId() bool

HasId returns a boolean if a field has been set.

GetUsd

func (o *Payment) GetUsd() int32

GetUsd returns the Usd field if non-nil, zero value otherwise.

GetUsdOk

func (o *Payment) GetUsdOk() (*int32, bool)

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

SetUsd

func (o *Payment) SetUsd(v int32)

SetUsd sets Usd field to given value.

HasUsd

func (o *Payment) HasUsd() bool

HasUsd returns a boolean if a field has been set.

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