Name | Type | Description | Notes |
---|---|---|---|
Card | Pointer to Card | [optional] | |
Default | Pointer to bool | [optional] | |
Id | Pointer to string | [optional] | |
Type | string | ||
UsBankAccount | Pointer to USBankAccount | [optional] |
func NewPaymentMethod(type_ string, ) *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
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
func (o *PaymentMethod) GetCard() Card
GetCard returns the Card field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetCardOk() (*Card, 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.
func (o *PaymentMethod) SetCard(v Card)
SetCard sets Card field to given value.
func (o *PaymentMethod) HasCard() bool
HasCard returns a boolean if a field has been set.
func (o *PaymentMethod) GetDefault() bool
GetDefault returns the Default field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethod) SetDefault(v bool)
SetDefault sets Default field to given value.
func (o *PaymentMethod) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (o *PaymentMethod) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetId(v string)
SetId sets Id field to given value.
func (o *PaymentMethod) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PaymentMethod) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetTypeOk() (*string, 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.
func (o *PaymentMethod) SetType(v string)
SetType sets Type field to given value.
func (o *PaymentMethod) GetUsBankAccount() USBankAccount
GetUsBankAccount returns the UsBankAccount field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetUsBankAccountOk() (*USBankAccount, bool)
GetUsBankAccountOk returns a tuple with the UsBankAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethod) SetUsBankAccount(v USBankAccount)
SetUsBankAccount sets UsBankAccount field to given value.
func (o *PaymentMethod) HasUsBankAccount() bool
HasUsBankAccount returns a boolean if a field has been set.