Name | Type | Description | Notes |
---|---|---|---|
CardType | Pointer to string | The type of credit card. | [optional] [readonly] |
Expiry | Pointer to string | The expiration month and year of the credit card. | [optional] [readonly] |
LastFour | Pointer to string | The last four digits of the credit card number. | [optional] [readonly] |
func NewCreditCard() *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) GetCardType() string
GetCardType returns the CardType field if non-nil, zero value otherwise.
func (o *CreditCard) GetCardTypeOk() (*string, bool)
GetCardTypeOk returns a tuple with the CardType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetCardType(v string)
SetCardType sets CardType field to given value.
func (o *CreditCard) HasCardType() bool
HasCardType returns a boolean if a field has been set.
func (o *CreditCard) GetExpiry() string
GetExpiry returns the Expiry field if non-nil, zero value otherwise.
func (o *CreditCard) GetExpiryOk() (*string, bool)
GetExpiryOk returns a tuple with the Expiry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetExpiry(v string)
SetExpiry sets Expiry field to given value.
func (o *CreditCard) HasExpiry() bool
HasExpiry returns a boolean if a field has been set.
func (o *CreditCard) GetLastFour() string
GetLastFour returns the LastFour field if non-nil, zero value otherwise.
func (o *CreditCard) GetLastFourOk() (*string, bool)
GetLastFourOk returns a tuple with the LastFour field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreditCard) SetLastFour(v string)
SetLastFour sets LastFour field to given value.
func (o *CreditCard) HasLastFour() bool
HasLastFour returns a boolean if a field has been set.