Name | Type | Description | Notes |
---|---|---|---|
Type | PaymentMethodType | ||
Card | Pointer to CardData | [optional] | |
Token | Pointer to string | [optional] | |
BluesnapVaultedShopperToken | Pointer to BluesnapVaultedShopperToken | [optional] | |
MockerShopperToken | Pointer to MockerShopperToken | [optional] | |
SpreedlyToken | Pointer to SpreedlyToken | [optional] | |
CardPAR | Pointer to string | [optional] |
func NewPaymentMethodModel(type_ PaymentMethodType, ) *PaymentMethodModel
NewPaymentMethodModel instantiates a new PaymentMethodModel 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 NewPaymentMethodModelWithDefaults() *PaymentMethodModel
NewPaymentMethodModelWithDefaults instantiates a new PaymentMethodModel 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 *PaymentMethodModel) GetType() PaymentMethodType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetTypeOk() (*PaymentMethodType, 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 *PaymentMethodModel) SetType(v PaymentMethodType)
SetType sets Type field to given value.
func (o *PaymentMethodModel) GetCard() CardData
GetCard returns the Card field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetCardOk() (*CardData, 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 *PaymentMethodModel) SetCard(v CardData)
SetCard sets Card field to given value.
func (o *PaymentMethodModel) HasCard() bool
HasCard returns a boolean if a field has been set.
func (o *PaymentMethodModel) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodModel) SetToken(v string)
SetToken sets Token field to given value.
func (o *PaymentMethodModel) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *PaymentMethodModel) GetBluesnapVaultedShopperToken() BluesnapVaultedShopperToken
GetBluesnapVaultedShopperToken returns the BluesnapVaultedShopperToken field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetBluesnapVaultedShopperTokenOk() (*BluesnapVaultedShopperToken, bool)
GetBluesnapVaultedShopperTokenOk returns a tuple with the BluesnapVaultedShopperToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodModel) SetBluesnapVaultedShopperToken(v BluesnapVaultedShopperToken)
SetBluesnapVaultedShopperToken sets BluesnapVaultedShopperToken field to given value.
func (o *PaymentMethodModel) HasBluesnapVaultedShopperToken() bool
HasBluesnapVaultedShopperToken returns a boolean if a field has been set.
func (o *PaymentMethodModel) GetMockerShopperToken() MockerShopperToken
GetMockerShopperToken returns the MockerShopperToken field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetMockerShopperTokenOk() (*MockerShopperToken, bool)
GetMockerShopperTokenOk returns a tuple with the MockerShopperToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodModel) SetMockerShopperToken(v MockerShopperToken)
SetMockerShopperToken sets MockerShopperToken field to given value.
func (o *PaymentMethodModel) HasMockerShopperToken() bool
HasMockerShopperToken returns a boolean if a field has been set.
func (o *PaymentMethodModel) GetSpreedlyToken() SpreedlyToken
GetSpreedlyToken returns the SpreedlyToken field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetSpreedlyTokenOk() (*SpreedlyToken, bool)
GetSpreedlyTokenOk returns a tuple with the SpreedlyToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodModel) SetSpreedlyToken(v SpreedlyToken)
SetSpreedlyToken sets SpreedlyToken field to given value.
func (o *PaymentMethodModel) HasSpreedlyToken() bool
HasSpreedlyToken returns a boolean if a field has been set.
func (o *PaymentMethodModel) GetCardPAR() string
GetCardPAR returns the CardPAR field if non-nil, zero value otherwise.
func (o *PaymentMethodModel) GetCardPAROk() (*string, bool)
GetCardPAROk returns a tuple with the CardPAR field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentMethodModel) SetCardPAR(v string)
SetCardPAR sets CardPAR field to given value.
func (o *PaymentMethodModel) HasCardPAR() bool
HasCardPAR returns a boolean if a field has been set.