Name | Type | Description | Notes |
---|---|---|---|
Card | Pointer to NullableTokenCard | [optional] | |
Checkout | Pointer to NullableTokenCheckout | [optional] |
func NewToken() *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 *Token) GetCard() TokenCard
GetCard returns the Card field if non-nil, zero value otherwise.
func (o *Token) GetCardOk() (*TokenCard, 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 *Token) SetCard(v TokenCard)
SetCard sets Card field to given value.
func (o *Token) HasCard() bool
HasCard returns a boolean if a field has been set.
func (o *Token) SetCardNil(b bool)
SetCardNil sets the value for Card to be an explicit nil
func (o *Token) UnsetCard()
UnsetCard ensures that no value is present for Card, not even an explicit nil
func (o *Token) GetCheckout() TokenCheckout
GetCheckout returns the Checkout field if non-nil, zero value otherwise.
func (o *Token) GetCheckoutOk() (*TokenCheckout, bool)
GetCheckoutOk returns a tuple with the Checkout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetCheckout(v TokenCheckout)
SetCheckout sets Checkout field to given value.
func (o *Token) HasCheckout() bool
HasCheckout returns a boolean if a field has been set.
func (o *Token) SetCheckoutNil(b bool)
SetCheckoutNil sets the value for Checkout to be an explicit nil
func (o *Token) UnsetCheckout()
UnsetCheckout ensures that no value is present for Checkout, not even an explicit nil