Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
CreatedAt | time.Time | ||
ExpiryMonth | int32 | ||
ExpiryYear | int32 | ||
LastDigit | string | ||
IsExpired | bool | ||
Brand | string |
func NewCreditCard(id string, createdAt time.Time, expiryMonth int32, expiryYear int32, lastDigit string, isExpired bool, brand string, ) *CreditCard
NewCreditCard instantiates a new CreditCard 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 NewCreditCardWithDefaults() *CreditCard
NewCreditCardWithDefaults instantiates a new CreditCard 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 *CreditCard) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CreditCard) 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 *CreditCard) SetId(v string)
SetId sets Id field to given value.
func (o *CreditCard) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *CreditCard) 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.
func (o *CreditCard) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *CreditCard) GetExpiryMonth() int32
GetExpiryMonth returns the ExpiryMonth field if non-nil, zero value otherwise.
func (o *CreditCard) GetExpiryMonthOk() (*int32, bool)
GetExpiryMonthOk returns a tuple with the ExpiryMonth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetExpiryMonth(v int32)
SetExpiryMonth sets ExpiryMonth field to given value.
func (o *CreditCard) GetExpiryYear() int32
GetExpiryYear returns the ExpiryYear field if non-nil, zero value otherwise.
func (o *CreditCard) GetExpiryYearOk() (*int32, bool)
GetExpiryYearOk returns a tuple with the ExpiryYear field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetExpiryYear(v int32)
SetExpiryYear sets ExpiryYear field to given value.
func (o *CreditCard) GetLastDigit() string
GetLastDigit returns the LastDigit field if non-nil, zero value otherwise.
func (o *CreditCard) GetLastDigitOk() (*string, bool)
GetLastDigitOk returns a tuple with the LastDigit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetLastDigit(v string)
SetLastDigit sets LastDigit field to given value.
func (o *CreditCard) GetIsExpired() bool
GetIsExpired returns the IsExpired field if non-nil, zero value otherwise.
func (o *CreditCard) GetIsExpiredOk() (*bool, bool)
GetIsExpiredOk returns a tuple with the IsExpired field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetIsExpired(v bool)
SetIsExpired sets IsExpired field to given value.
func (o *CreditCard) GetBrand() string
GetBrand returns the Brand field if non-nil, zero value otherwise.
func (o *CreditCard) 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 *CreditCard) SetBrand(v string)
SetBrand sets Brand field to given value.