Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.07 KB

PaymentMethod.md

File metadata and controls

119 lines (64 loc) · 3.07 KB

PaymentMethod

Properties

Name Type Description Notes
Id string
Type PaymentMethodType
Card Pointer to PaymentMethodCard [optional]
CreatedAt time.Time

Methods

NewPaymentMethod

func NewPaymentMethod(id string, type_ PaymentMethodType, createdAt time.Time, ) *PaymentMethod

NewPaymentMethod instantiates a new PaymentMethod 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

NewPaymentMethodWithDefaults

func NewPaymentMethodWithDefaults() *PaymentMethod

NewPaymentMethodWithDefaults instantiates a new PaymentMethod 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

GetId

func (o *PaymentMethod) GetId() string

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

GetIdOk

func (o *PaymentMethod) GetIdOk() (*string, 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 *PaymentMethod) SetId(v string)

SetId sets Id field to given value.

GetType

func (o *PaymentMethod) GetType() PaymentMethodType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *PaymentMethod) GetTypeOk() (*PaymentMethodType, bool)

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

SetType

func (o *PaymentMethod) SetType(v PaymentMethodType)

SetType sets Type field to given value.

GetCard

func (o *PaymentMethod) GetCard() PaymentMethodCard

GetCard returns the Card field if non-nil, zero value otherwise.

GetCardOk

func (o *PaymentMethod) GetCardOk() (*PaymentMethodCard, bool)

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

SetCard

func (o *PaymentMethod) SetCard(v PaymentMethodCard)

SetCard sets Card field to given value.

HasCard

func (o *PaymentMethod) HasCard() bool

HasCard returns a boolean if a field has been set.

GetCreatedAt

func (o *PaymentMethod) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *PaymentMethod) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

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