Name | Type | Description | Notes |
---|---|---|---|
CardNumber | string | Your credit card number. No spaces or hyphens (`-`) allowed. | |
Cvv | string | CVV (Card Verification Value) of the credit card, typically found on the back of the card. | |
ExpiryMonth | int32 | A value from 1-12 representing the expiration month of your credit card. - 1 = January - 2 = February - 3 = March - Etc. | |
ExpiryYear | int32 | A four-digit integer representing the expiration year of your credit card. The combination of `expiry_month` and `expiry_year` must result in a month/year combination of the current month or in the future. An expiration date set in the past is invalid. |
func NewPostCreditCardRequest(cardNumber string, cvv string, expiryMonth int32, expiryYear int32, ) *PostCreditCardRequest
NewPostCreditCardRequest instantiates a new PostCreditCardRequest 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 NewPostCreditCardRequestWithDefaults() *PostCreditCardRequest
NewPostCreditCardRequestWithDefaults instantiates a new PostCreditCardRequest 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 *PostCreditCardRequest) GetCardNumber() string
GetCardNumber returns the CardNumber field if non-nil, zero value otherwise.
func (o *PostCreditCardRequest) GetCardNumberOk() (*string, bool)
GetCardNumberOk returns a tuple with the CardNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCreditCardRequest) SetCardNumber(v string)
SetCardNumber sets CardNumber field to given value.
func (o *PostCreditCardRequest) GetCvv() string
GetCvv returns the Cvv field if non-nil, zero value otherwise.
func (o *PostCreditCardRequest) GetCvvOk() (*string, bool)
GetCvvOk returns a tuple with the Cvv field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCreditCardRequest) SetCvv(v string)
SetCvv sets Cvv field to given value.
func (o *PostCreditCardRequest) GetExpiryMonth() int32
GetExpiryMonth returns the ExpiryMonth field if non-nil, zero value otherwise.
func (o *PostCreditCardRequest) 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 *PostCreditCardRequest) SetExpiryMonth(v int32)
SetExpiryMonth sets ExpiryMonth field to given value.
func (o *PostCreditCardRequest) GetExpiryYear() int32
GetExpiryYear returns the ExpiryYear field if non-nil, zero value otherwise.
func (o *PostCreditCardRequest) 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 *PostCreditCardRequest) SetExpiryYear(v int32)
SetExpiryYear sets ExpiryYear field to given value.