Name | Type | Description | Notes |
---|---|---|---|
Brand | string | Card brand | |
Last4 | string | Last 4 digits of the card | |
Country | Pointer to Country | [optional] | |
ExpiresAt | string | Last day of the expiration year and month |
func NewPaymentMethodCard(brand string, last4 string, expiresAt string, ) *PaymentMethodCard
NewPaymentMethodCard instantiates a new PaymentMethodCard 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 NewPaymentMethodCardWithDefaults() *PaymentMethodCard
NewPaymentMethodCardWithDefaults instantiates a new PaymentMethodCard 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 *PaymentMethodCard) GetBrand() string
GetBrand returns the Brand field if non-nil, zero value otherwise.
func (o *PaymentMethodCard) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodCard) SetBrand(v string)
SetBrand sets Brand field to given value.
func (o *PaymentMethodCard) GetLast4() string
GetLast4 returns the Last4 field if non-nil, zero value otherwise.
func (o *PaymentMethodCard) GetLast4Ok() (*string, bool)
GetLast4Ok returns a tuple with the Last4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodCard) SetLast4(v string)
SetLast4 sets Last4 field to given value.
func (o *PaymentMethodCard) GetCountry() Country
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *PaymentMethodCard) GetCountryOk() (*Country, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodCard) SetCountry(v Country)
SetCountry sets Country field to given value.
func (o *PaymentMethodCard) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *PaymentMethodCard) GetExpiresAt() string
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *PaymentMethodCard) GetExpiresAtOk() (*string, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodCard) SetExpiresAt(v string)
SetExpiresAt sets ExpiresAt field to given value.