Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiAddCreditsRequest
- type ApiCreateCreditCardRequest
- type ApiDestroyCreditCardRequest
- type ApiListCreditCardsRequest
- func (r ApiListCreditCardsRequest) Execute() (*PaginatedPaymentMethodResponseList, *http.Response, error)
- func (r ApiListCreditCardsRequest) Fields(fields string) ApiListCreditCardsRequest
- func (r ApiListCreditCardsRequest) Ordering(ordering string) ApiListCreditCardsRequest
- func (r ApiListCreditCardsRequest) Page(page int64) ApiListCreditCardsRequest
- func (r ApiListCreditCardsRequest) PageSize(pageSize int64) ApiListCreditCardsRequest
- func (r ApiListCreditCardsRequest) Search(search string) ApiListCreditCardsRequest
- type ApiListPaymentHistoryRequest
- func (r ApiListPaymentHistoryRequest) Execute() (*PaginatedPaymentHistoryList, *http.Response, error)
- func (r ApiListPaymentHistoryRequest) Fields(fields string) ApiListPaymentHistoryRequest
- func (r ApiListPaymentHistoryRequest) Ordering(ordering string) ApiListPaymentHistoryRequest
- func (r ApiListPaymentHistoryRequest) Page(page int64) ApiListPaymentHistoryRequest
- func (r ApiListPaymentHistoryRequest) PageSize(pageSize int64) ApiListPaymentHistoryRequest
- func (r ApiListPaymentHistoryRequest) Search(search string) ApiListPaymentHistoryRequest
- type ApiPartialUpdateCreditCardRequest
- type ApiRetrieveCreditCardRequest
- type BasicAuth
- type BillingPaymentsAPIService
- func (a *BillingPaymentsAPIService) AddCredits(ctx context.Context) ApiAddCreditsRequest
- func (a *BillingPaymentsAPIService) AddCreditsExecute(r ApiAddCreditsRequest) (*CreditResponse, *http.Response, error)
- func (a *BillingPaymentsAPIService) CreateCreditCard(ctx context.Context) ApiCreateCreditCardRequest
- func (a *BillingPaymentsAPIService) CreateCreditCardExecute(r ApiCreateCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
- func (a *BillingPaymentsAPIService) DestroyCreditCard(ctx context.Context, id string) ApiDestroyCreditCardRequest
- func (a *BillingPaymentsAPIService) DestroyCreditCardExecute(r ApiDestroyCreditCardRequest) (*DeleteResponse, *http.Response, error)
- func (a *BillingPaymentsAPIService) ListCreditCards(ctx context.Context) ApiListCreditCardsRequest
- func (a *BillingPaymentsAPIService) ListCreditCardsExecute(r ApiListCreditCardsRequest) (*PaginatedPaymentMethodResponseList, *http.Response, error)
- func (a *BillingPaymentsAPIService) ListPaymentHistory(ctx context.Context) ApiListPaymentHistoryRequest
- func (a *BillingPaymentsAPIService) ListPaymentHistoryExecute(r ApiListPaymentHistoryRequest) (*PaginatedPaymentHistoryList, *http.Response, error)
- func (a *BillingPaymentsAPIService) PartialUpdateCreditCard(ctx context.Context, id string) ApiPartialUpdateCreditCardRequest
- func (a *BillingPaymentsAPIService) PartialUpdateCreditCardExecute(r ApiPartialUpdateCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
- func (a *BillingPaymentsAPIService) RetrieveCreditCard(ctx context.Context, id string) ApiRetrieveCreditCardRequest
- func (a *BillingPaymentsAPIService) RetrieveCreditCardExecute(r ApiRetrieveCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
- type Configuration
- type Credit
- func (o *Credit) GetAmount() float64
- func (o *Credit) GetAmountOk() (*float64, bool)
- func (o *Credit) GetClientId() string
- func (o *Credit) GetClientIdOk() (*string, bool)
- func (o *Credit) GetCreated() string
- func (o *Credit) GetCreatedOk() (*string, bool)
- func (o *Credit) GetCurrency() string
- func (o *Credit) GetCurrencyOk() (*string, bool)
- func (o *Credit) GetCustomerStripeId() string
- func (o *Credit) GetCustomerStripeIdOk() (*string, bool)
- func (o *Credit) GetDescription() string
- func (o *Credit) GetDescriptionOk() (*string, bool)
- func (o *Credit) GetEntryType() string
- func (o *Credit) GetEntryTypeOk() (*string, bool)
- func (o *Credit) GetExpirationDate() string
- func (o *Credit) GetExpirationDateOk() (*string, bool)
- func (o Credit) MarshalJSON() ([]byte, error)
- func (o *Credit) SetAmount(v float64)
- func (o *Credit) SetClientId(v string)
- func (o *Credit) SetCreated(v string)
- func (o *Credit) SetCurrency(v string)
- func (o *Credit) SetCustomerStripeId(v string)
- func (o *Credit) SetDescription(v string)
- func (o *Credit) SetEntryType(v string)
- func (o *Credit) SetExpirationDate(v string)
- func (o Credit) ToMap() (map[string]interface{}, error)
- func (o *Credit) UnmarshalJSON(data []byte) (err error)
- type CreditRequest
- func (o *CreditRequest) GetAmount() float64
- func (o *CreditRequest) GetAmountOk() (*float64, bool)
- func (o CreditRequest) MarshalJSON() ([]byte, error)
- func (o *CreditRequest) SetAmount(v float64)
- func (o CreditRequest) ToMap() (map[string]interface{}, error)
- func (o *CreditRequest) UnmarshalJSON(data []byte) (err error)
- type CreditResponse
- func (o *CreditResponse) GetData() Credit
- func (o *CreditResponse) GetDataOk() (*Credit, bool)
- func (o *CreditResponse) GetState() string
- func (o *CreditResponse) GetStateOk() (*string, bool)
- func (o *CreditResponse) HasState() bool
- func (o CreditResponse) MarshalJSON() ([]byte, error)
- func (o *CreditResponse) SetData(v Credit)
- func (o *CreditResponse) SetState(v string)
- func (o CreditResponse) ToMap() (map[string]interface{}, error)
- func (o *CreditResponse) UnmarshalJSON(data []byte) (err error)
- type DeleteResponse
- type GenericOpenAPIError
- type JSONAPIErrorObject
- func (o *JSONAPIErrorObject) GetCode() string
- func (o *JSONAPIErrorObject) GetCodeOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetDetail() string
- func (o *JSONAPIErrorObject) GetDetailOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}
- func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)
- func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource
- func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)
- func (o *JSONAPIErrorObject) GetStatus() string
- func (o *JSONAPIErrorObject) GetStatusOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetTitle() string
- func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)
- func (o *JSONAPIErrorObject) HasCode() bool
- func (o *JSONAPIErrorObject) HasDetail() bool
- func (o *JSONAPIErrorObject) HasMeta() bool
- func (o *JSONAPIErrorObject) HasSource() bool
- func (o *JSONAPIErrorObject) HasStatus() bool
- func (o *JSONAPIErrorObject) HasTitle() bool
- func (o JSONAPIErrorObject) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorObject) SetCode(v string)
- func (o *JSONAPIErrorObject) SetDetail(v string)
- func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})
- func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)
- func (o *JSONAPIErrorObject) SetStatus(v string)
- func (o *JSONAPIErrorObject) SetTitle(v string)
- func (o JSONAPIErrorObject) ToMap() (map[string]interface{}, error)
- type JSONAPIErrorResponse
- func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject
- func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)
- func (o JSONAPIErrorResponse) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)
- func (o JSONAPIErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *JSONAPIErrorResponse) UnmarshalJSON(data []byte) (err error)
- type JSONAPIErrorSource
- func (o *JSONAPIErrorSource) GetHeader() string
- func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)
- func (o *JSONAPIErrorSource) GetParameter() string
- func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)
- func (o *JSONAPIErrorSource) GetPointer() string
- func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)
- func (o *JSONAPIErrorSource) HasHeader() bool
- func (o *JSONAPIErrorSource) HasParameter() bool
- func (o *JSONAPIErrorSource) HasPointer() bool
- func (o JSONAPIErrorSource) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorSource) SetHeader(v string)
- func (o *JSONAPIErrorSource) SetParameter(v string)
- func (o *JSONAPIErrorSource) SetPointer(v string)
- func (o JSONAPIErrorSource) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableCredit
- type NullableCreditRequest
- func (v NullableCreditRequest) Get() *CreditRequest
- func (v NullableCreditRequest) IsSet() bool
- func (v NullableCreditRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreditRequest) Set(val *CreditRequest)
- func (v *NullableCreditRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreditRequest) Unset()
- type NullableCreditResponse
- func (v NullableCreditResponse) Get() *CreditResponse
- func (v NullableCreditResponse) IsSet() bool
- func (v NullableCreditResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreditResponse) Set(val *CreditResponse)
- func (v *NullableCreditResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreditResponse) Unset()
- type NullableDeleteResponse
- func (v NullableDeleteResponse) Get() *DeleteResponse
- func (v NullableDeleteResponse) IsSet() bool
- func (v NullableDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteResponse) Set(val *DeleteResponse)
- func (v *NullableDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJSONAPIErrorObject
- func (v NullableJSONAPIErrorObject) Get() *JSONAPIErrorObject
- func (v NullableJSONAPIErrorObject) IsSet() bool
- func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorObject) Set(val *JSONAPIErrorObject)
- func (v *NullableJSONAPIErrorObject) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorObject) Unset()
- type NullableJSONAPIErrorResponse
- func (v NullableJSONAPIErrorResponse) Get() *JSONAPIErrorResponse
- func (v NullableJSONAPIErrorResponse) IsSet() bool
- func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorResponse) Set(val *JSONAPIErrorResponse)
- func (v *NullableJSONAPIErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorResponse) Unset()
- type NullableJSONAPIErrorSource
- func (v NullableJSONAPIErrorSource) Get() *JSONAPIErrorSource
- func (v NullableJSONAPIErrorSource) IsSet() bool
- func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorSource) Set(val *JSONAPIErrorSource)
- func (v *NullableJSONAPIErrorSource) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorSource) Unset()
- type NullablePaginatedPaymentHistoryList
- func (v NullablePaginatedPaymentHistoryList) Get() *PaginatedPaymentHistoryList
- func (v NullablePaginatedPaymentHistoryList) IsSet() bool
- func (v NullablePaginatedPaymentHistoryList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedPaymentHistoryList) Set(val *PaginatedPaymentHistoryList)
- func (v *NullablePaginatedPaymentHistoryList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedPaymentHistoryList) Unset()
- type NullablePaginatedPaymentMethodResponseList
- func (v NullablePaginatedPaymentMethodResponseList) Get() *PaginatedPaymentMethodResponseList
- func (v NullablePaginatedPaymentMethodResponseList) IsSet() bool
- func (v NullablePaginatedPaymentMethodResponseList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedPaymentMethodResponseList) Set(val *PaginatedPaymentMethodResponseList)
- func (v *NullablePaginatedPaymentMethodResponseList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedPaymentMethodResponseList) Unset()
- type NullablePatchedPartialUpdateRequest
- func (v NullablePatchedPartialUpdateRequest) Get() *PatchedPartialUpdateRequest
- func (v NullablePatchedPartialUpdateRequest) IsSet() bool
- func (v NullablePatchedPartialUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedPartialUpdateRequest) Set(val *PatchedPartialUpdateRequest)
- func (v *NullablePatchedPartialUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedPartialUpdateRequest) Unset()
- type NullablePaymentHistory
- func (v NullablePaymentHistory) Get() *PaymentHistory
- func (v NullablePaymentHistory) IsSet() bool
- func (v NullablePaymentHistory) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentHistory) Set(val *PaymentHistory)
- func (v *NullablePaymentHistory) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentHistory) Unset()
- type NullablePaymentMethod
- func (v NullablePaymentMethod) Get() *PaymentMethod
- func (v NullablePaymentMethod) IsSet() bool
- func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethod) Set(val *PaymentMethod)
- func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethod) Unset()
- type NullablePaymentMethodRequest
- func (v NullablePaymentMethodRequest) Get() *PaymentMethodRequest
- func (v NullablePaymentMethodRequest) IsSet() bool
- func (v NullablePaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodRequest) Set(val *PaymentMethodRequest)
- func (v *NullablePaymentMethodRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodRequest) Unset()
- type NullablePaymentMethodResponse
- func (v NullablePaymentMethodResponse) Get() *PaymentMethodResponse
- func (v NullablePaymentMethodResponse) IsSet() bool
- func (v NullablePaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodResponse) Set(val *PaymentMethodResponse)
- func (v *NullablePaymentMethodResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodResponse) Unset()
- type NullableString
- type NullableTime
- type PaginatedPaymentHistoryList
- func (o *PaginatedPaymentHistoryList) GetCount() int64
- func (o *PaginatedPaymentHistoryList) GetCountOk() (*int64, bool)
- func (o *PaginatedPaymentHistoryList) GetNext() string
- func (o *PaginatedPaymentHistoryList) GetNextOk() (*string, bool)
- func (o *PaginatedPaymentHistoryList) GetPage() int64
- func (o *PaginatedPaymentHistoryList) GetPageOk() (*int64, bool)
- func (o *PaginatedPaymentHistoryList) GetPageSize() int64
- func (o *PaginatedPaymentHistoryList) GetPageSizeOk() (*int64, bool)
- func (o *PaginatedPaymentHistoryList) GetPrevious() string
- func (o *PaginatedPaymentHistoryList) GetPreviousOk() (*string, bool)
- func (o *PaginatedPaymentHistoryList) GetResults() []PaymentHistory
- func (o *PaginatedPaymentHistoryList) GetResultsOk() ([]PaymentHistory, bool)
- func (o *PaginatedPaymentHistoryList) GetTotalPages() int64
- func (o *PaginatedPaymentHistoryList) GetTotalPagesOk() (*int64, bool)
- func (o *PaginatedPaymentHistoryList) HasCount() bool
- func (o *PaginatedPaymentHistoryList) HasNext() bool
- func (o *PaginatedPaymentHistoryList) HasPage() bool
- func (o *PaginatedPaymentHistoryList) HasPageSize() bool
- func (o *PaginatedPaymentHistoryList) HasPrevious() bool
- func (o *PaginatedPaymentHistoryList) HasResults() bool
- func (o *PaginatedPaymentHistoryList) HasTotalPages() bool
- func (o PaginatedPaymentHistoryList) MarshalJSON() ([]byte, error)
- func (o *PaginatedPaymentHistoryList) SetCount(v int64)
- func (o *PaginatedPaymentHistoryList) SetNext(v string)
- func (o *PaginatedPaymentHistoryList) SetNextNil()
- func (o *PaginatedPaymentHistoryList) SetPage(v int64)
- func (o *PaginatedPaymentHistoryList) SetPageSize(v int64)
- func (o *PaginatedPaymentHistoryList) SetPrevious(v string)
- func (o *PaginatedPaymentHistoryList) SetPreviousNil()
- func (o *PaginatedPaymentHistoryList) SetResults(v []PaymentHistory)
- func (o *PaginatedPaymentHistoryList) SetTotalPages(v int64)
- func (o PaginatedPaymentHistoryList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedPaymentHistoryList) UnsetNext()
- func (o *PaginatedPaymentHistoryList) UnsetPrevious()
- type PaginatedPaymentMethodResponseList
- func (o *PaginatedPaymentMethodResponseList) GetCount() int64
- func (o *PaginatedPaymentMethodResponseList) GetCountOk() (*int64, bool)
- func (o *PaginatedPaymentMethodResponseList) GetNext() string
- func (o *PaginatedPaymentMethodResponseList) GetNextOk() (*string, bool)
- func (o *PaginatedPaymentMethodResponseList) GetPage() int64
- func (o *PaginatedPaymentMethodResponseList) GetPageOk() (*int64, bool)
- func (o *PaginatedPaymentMethodResponseList) GetPageSize() int64
- func (o *PaginatedPaymentMethodResponseList) GetPageSizeOk() (*int64, bool)
- func (o *PaginatedPaymentMethodResponseList) GetPrevious() string
- func (o *PaginatedPaymentMethodResponseList) GetPreviousOk() (*string, bool)
- func (o *PaginatedPaymentMethodResponseList) GetResults() []PaymentMethodResponse
- func (o *PaginatedPaymentMethodResponseList) GetResultsOk() ([]PaymentMethodResponse, bool)
- func (o *PaginatedPaymentMethodResponseList) GetTotalPages() int64
- func (o *PaginatedPaymentMethodResponseList) GetTotalPagesOk() (*int64, bool)
- func (o *PaginatedPaymentMethodResponseList) HasCount() bool
- func (o *PaginatedPaymentMethodResponseList) HasNext() bool
- func (o *PaginatedPaymentMethodResponseList) HasPage() bool
- func (o *PaginatedPaymentMethodResponseList) HasPageSize() bool
- func (o *PaginatedPaymentMethodResponseList) HasPrevious() bool
- func (o *PaginatedPaymentMethodResponseList) HasResults() bool
- func (o *PaginatedPaymentMethodResponseList) HasTotalPages() bool
- func (o PaginatedPaymentMethodResponseList) MarshalJSON() ([]byte, error)
- func (o *PaginatedPaymentMethodResponseList) SetCount(v int64)
- func (o *PaginatedPaymentMethodResponseList) SetNext(v string)
- func (o *PaginatedPaymentMethodResponseList) SetNextNil()
- func (o *PaginatedPaymentMethodResponseList) SetPage(v int64)
- func (o *PaginatedPaymentMethodResponseList) SetPageSize(v int64)
- func (o *PaginatedPaymentMethodResponseList) SetPrevious(v string)
- func (o *PaginatedPaymentMethodResponseList) SetPreviousNil()
- func (o *PaginatedPaymentMethodResponseList) SetResults(v []PaymentMethodResponse)
- func (o *PaginatedPaymentMethodResponseList) SetTotalPages(v int64)
- func (o PaginatedPaymentMethodResponseList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedPaymentMethodResponseList) UnsetNext()
- func (o *PaginatedPaymentMethodResponseList) UnsetPrevious()
- type PatchedPartialUpdateRequest
- func (o *PatchedPartialUpdateRequest) GetIsDefault() bool
- func (o *PatchedPartialUpdateRequest) GetIsDefaultOk() (*bool, bool)
- func (o *PatchedPartialUpdateRequest) HasIsDefault() bool
- func (o PatchedPartialUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedPartialUpdateRequest) SetIsDefault(v bool)
- func (o PatchedPartialUpdateRequest) ToMap() (map[string]interface{}, error)
- type PaymentHistory
- func (o *PaymentHistory) GetAmountWithCurrency() string
- func (o *PaymentHistory) GetAmountWithCurrencyOk() (*string, bool)
- func (o *PaymentHistory) GetCardBrand() string
- func (o *PaymentHistory) GetCardBrandOk() (*string, bool)
- func (o *PaymentHistory) GetInvoiceNumber() string
- func (o *PaymentHistory) GetInvoiceNumberOk() (*string, bool)
- func (o *PaymentHistory) GetInvoiceUrl() string
- func (o *PaymentHistory) GetInvoiceUrlOk() (*string, bool)
- func (o *PaymentHistory) GetPaymentDue() string
- func (o *PaymentHistory) GetPaymentDueOk() (*string, bool)
- func (o *PaymentHistory) GetPaymentMethodDetails() string
- func (o *PaymentHistory) GetPaymentMethodDetailsOk() (*string, bool)
- func (o *PaymentHistory) GetStatus() string
- func (o *PaymentHistory) GetStatusOk() (*string, bool)
- func (o PaymentHistory) MarshalJSON() ([]byte, error)
- func (o *PaymentHistory) SetAmountWithCurrency(v string)
- func (o *PaymentHistory) SetCardBrand(v string)
- func (o *PaymentHistory) SetInvoiceNumber(v string)
- func (o *PaymentHistory) SetInvoiceUrl(v string)
- func (o *PaymentHistory) SetPaymentDue(v string)
- func (o *PaymentHistory) SetPaymentMethodDetails(v string)
- func (o *PaymentHistory) SetStatus(v string)
- func (o PaymentHistory) ToMap() (map[string]interface{}, error)
- func (o *PaymentHistory) UnmarshalJSON(data []byte) (err error)
- type PaymentMethod
- func (o *PaymentMethod) GetCardAddressLine1() string
- func (o *PaymentMethod) GetCardAddressLine1Ok() (*string, bool)
- func (o *PaymentMethod) GetCardAddressLine2() string
- func (o *PaymentMethod) GetCardAddressLine2Ok() (*string, bool)
- func (o *PaymentMethod) GetCardAddressZip() string
- func (o *PaymentMethod) GetCardAddressZipOk() (*string, bool)
- func (o *PaymentMethod) GetCardBrand() string
- func (o *PaymentMethod) GetCardBrandOk() (*string, bool)
- func (o *PaymentMethod) GetCardCountry() string
- func (o *PaymentMethod) GetCardCountryOk() (*string, bool)
- func (o *PaymentMethod) GetCardExpirationMonth() int64
- func (o *PaymentMethod) GetCardExpirationMonthOk() (*int64, bool)
- func (o *PaymentMethod) GetCardExpirationYear() int64
- func (o *PaymentMethod) GetCardExpirationYearOk() (*int64, bool)
- func (o *PaymentMethod) GetCardHolder() string
- func (o *PaymentMethod) GetCardHolderOk() (*string, bool)
- func (o *PaymentMethod) GetCardId() string
- func (o *PaymentMethod) GetCardIdOk() (*string, bool)
- func (o *PaymentMethod) GetCardLast4Digits() string
- func (o *PaymentMethod) GetCardLast4DigitsOk() (*string, bool)
- func (o *PaymentMethod) GetCreatedAt() time.Time
- func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)
- func (o *PaymentMethod) GetId() int64
- func (o *PaymentMethod) GetIdOk() (*int64, bool)
- func (o *PaymentMethod) GetIsDefault() bool
- func (o *PaymentMethod) GetIsDefaultOk() (*bool, bool)
- func (o *PaymentMethod) HasCardAddressLine1() bool
- func (o *PaymentMethod) HasCardAddressLine2() bool
- func (o *PaymentMethod) HasIsDefault() bool
- func (o PaymentMethod) MarshalJSON() ([]byte, error)
- func (o *PaymentMethod) SetCardAddressLine1(v string)
- func (o *PaymentMethod) SetCardAddressLine2(v string)
- func (o *PaymentMethod) SetCardAddressZip(v string)
- func (o *PaymentMethod) SetCardBrand(v string)
- func (o *PaymentMethod) SetCardCountry(v string)
- func (o *PaymentMethod) SetCardExpirationMonth(v int64)
- func (o *PaymentMethod) SetCardExpirationYear(v int64)
- func (o *PaymentMethod) SetCardHolder(v string)
- func (o *PaymentMethod) SetCardId(v string)
- func (o *PaymentMethod) SetCardLast4Digits(v string)
- func (o *PaymentMethod) SetCreatedAt(v time.Time)
- func (o *PaymentMethod) SetId(v int64)
- func (o *PaymentMethod) SetIsDefault(v bool)
- func (o PaymentMethod) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodRequest
- func (o *PaymentMethodRequest) GetCardAddressLine1() string
- func (o *PaymentMethodRequest) GetCardAddressLine1Ok() (*string, bool)
- func (o *PaymentMethodRequest) GetCardAddressLine2() string
- func (o *PaymentMethodRequest) GetCardAddressLine2Ok() (*string, bool)
- func (o *PaymentMethodRequest) GetCardAddressZip() string
- func (o *PaymentMethodRequest) GetCardAddressZipOk() (*string, bool)
- func (o *PaymentMethodRequest) GetCardBrand() string
- func (o *PaymentMethodRequest) GetCardBrandOk() (*string, bool)
- func (o *PaymentMethodRequest) GetCardCountry() string
- func (o *PaymentMethodRequest) GetCardCountryOk() (*string, bool)
- func (o *PaymentMethodRequest) GetCardExpirationMonth() int64
- func (o *PaymentMethodRequest) GetCardExpirationMonthOk() (*int64, bool)
- func (o *PaymentMethodRequest) GetCardExpirationYear() int64
- func (o *PaymentMethodRequest) GetCardExpirationYearOk() (*int64, bool)
- func (o *PaymentMethodRequest) GetCardHolder() string
- func (o *PaymentMethodRequest) GetCardHolderOk() (*string, bool)
- func (o *PaymentMethodRequest) GetCardId() string
- func (o *PaymentMethodRequest) GetCardIdOk() (*string, bool)
- func (o *PaymentMethodRequest) GetCardLast4Digits() string
- func (o *PaymentMethodRequest) GetCardLast4DigitsOk() (*string, bool)
- func (o *PaymentMethodRequest) GetIsDefault() bool
- func (o *PaymentMethodRequest) GetIsDefaultOk() (*bool, bool)
- func (o *PaymentMethodRequest) GetStripeToken() string
- func (o *PaymentMethodRequest) GetStripeTokenOk() (*string, bool)
- func (o *PaymentMethodRequest) HasCardAddressLine1() bool
- func (o *PaymentMethodRequest) HasCardAddressLine2() bool
- func (o *PaymentMethodRequest) HasIsDefault() bool
- func (o PaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodRequest) SetCardAddressLine1(v string)
- func (o *PaymentMethodRequest) SetCardAddressLine2(v string)
- func (o *PaymentMethodRequest) SetCardAddressZip(v string)
- func (o *PaymentMethodRequest) SetCardBrand(v string)
- func (o *PaymentMethodRequest) SetCardCountry(v string)
- func (o *PaymentMethodRequest) SetCardExpirationMonth(v int64)
- func (o *PaymentMethodRequest) SetCardExpirationYear(v int64)
- func (o *PaymentMethodRequest) SetCardHolder(v string)
- func (o *PaymentMethodRequest) SetCardId(v string)
- func (o *PaymentMethodRequest) SetCardLast4Digits(v string)
- func (o *PaymentMethodRequest) SetIsDefault(v bool)
- func (o *PaymentMethodRequest) SetStripeToken(v string)
- func (o PaymentMethodRequest) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodRequest) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodResponse
- func (o *PaymentMethodResponse) GetData() PaymentMethod
- func (o *PaymentMethodResponse) GetDataOk() (*PaymentMethod, bool)
- func (o *PaymentMethodResponse) GetState() string
- func (o *PaymentMethodResponse) GetStateOk() (*string, bool)
- func (o *PaymentMethodResponse) HasState() bool
- func (o PaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodResponse) SetData(v PaymentMethod)
- func (o *PaymentMethodResponse) SetState(v string)
- func (o PaymentMethodResponse) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
BillingPaymentsAPI *BillingPaymentsAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the payments-api API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiAddCreditsRequest ¶
type ApiAddCreditsRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiAddCreditsRequest) CreditRequest ¶
func (r ApiAddCreditsRequest) CreditRequest(creditRequest CreditRequest) ApiAddCreditsRequest
func (ApiAddCreditsRequest) Execute ¶
func (r ApiAddCreditsRequest) Execute() (*CreditResponse, *http.Response, error)
type ApiCreateCreditCardRequest ¶
type ApiCreateCreditCardRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiCreateCreditCardRequest) Execute ¶
func (r ApiCreateCreditCardRequest) Execute() (*PaymentMethodResponse, *http.Response, error)
func (ApiCreateCreditCardRequest) PaymentMethodRequest ¶
func (r ApiCreateCreditCardRequest) PaymentMethodRequest(paymentMethodRequest PaymentMethodRequest) ApiCreateCreditCardRequest
type ApiDestroyCreditCardRequest ¶
type ApiDestroyCreditCardRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiDestroyCreditCardRequest) Execute ¶
func (r ApiDestroyCreditCardRequest) Execute() (*DeleteResponse, *http.Response, error)
type ApiListCreditCardsRequest ¶
type ApiListCreditCardsRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiListCreditCardsRequest) Execute ¶
func (r ApiListCreditCardsRequest) Execute() (*PaginatedPaymentMethodResponseList, *http.Response, error)
func (ApiListCreditCardsRequest) Fields ¶
func (r ApiListCreditCardsRequest) Fields(fields string) ApiListCreditCardsRequest
Comma-separated list of field names to include in the response.
func (ApiListCreditCardsRequest) Ordering ¶
func (r ApiListCreditCardsRequest) Ordering(ordering string) ApiListCreditCardsRequest
Which field to use when ordering the results. (Valid fields: id, card_holder, card_brand, card_expiration_month, card_expiration_year, card_last_4_digits, card_address_zip, card_country, card_address_line1, card_address_line2, stripe_token, card_id, is_default)
func (ApiListCreditCardsRequest) Page ¶
func (r ApiListCreditCardsRequest) Page(page int64) ApiListCreditCardsRequest
A page number within the paginated result set.
func (ApiListCreditCardsRequest) PageSize ¶
func (r ApiListCreditCardsRequest) PageSize(pageSize int64) ApiListCreditCardsRequest
A numeric value that indicates the number of items per page.
func (ApiListCreditCardsRequest) Search ¶
func (r ApiListCreditCardsRequest) Search(search string) ApiListCreditCardsRequest
A search term.
type ApiListPaymentHistoryRequest ¶
type ApiListPaymentHistoryRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiListPaymentHistoryRequest) Execute ¶
func (r ApiListPaymentHistoryRequest) Execute() (*PaginatedPaymentHistoryList, *http.Response, error)
func (ApiListPaymentHistoryRequest) Fields ¶
func (r ApiListPaymentHistoryRequest) Fields(fields string) ApiListPaymentHistoryRequest
Comma-separated list of field names to include in the response.
func (ApiListPaymentHistoryRequest) Ordering ¶
func (r ApiListPaymentHistoryRequest) Ordering(ordering string) ApiListPaymentHistoryRequest
Which field to use when ordering the results.
func (ApiListPaymentHistoryRequest) Page ¶
func (r ApiListPaymentHistoryRequest) Page(page int64) ApiListPaymentHistoryRequest
A page number within the paginated result set.
func (ApiListPaymentHistoryRequest) PageSize ¶
func (r ApiListPaymentHistoryRequest) PageSize(pageSize int64) ApiListPaymentHistoryRequest
Number of results to return per page.
func (ApiListPaymentHistoryRequest) Search ¶
func (r ApiListPaymentHistoryRequest) Search(search string) ApiListPaymentHistoryRequest
A search term.
type ApiPartialUpdateCreditCardRequest ¶
type ApiPartialUpdateCreditCardRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiPartialUpdateCreditCardRequest) Execute ¶
func (r ApiPartialUpdateCreditCardRequest) Execute() (*PaymentMethodResponse, *http.Response, error)
func (ApiPartialUpdateCreditCardRequest) PatchedPartialUpdateRequest ¶
func (r ApiPartialUpdateCreditCardRequest) PatchedPartialUpdateRequest(patchedPartialUpdateRequest PatchedPartialUpdateRequest) ApiPartialUpdateCreditCardRequest
type ApiRetrieveCreditCardRequest ¶
type ApiRetrieveCreditCardRequest struct {
ApiService *BillingPaymentsAPIService
// contains filtered or unexported fields
}
func (ApiRetrieveCreditCardRequest) Execute ¶
func (r ApiRetrieveCreditCardRequest) Execute() (*PaymentMethodResponse, *http.Response, error)
func (ApiRetrieveCreditCardRequest) Fields ¶
func (r ApiRetrieveCreditCardRequest) Fields(fields string) ApiRetrieveCreditCardRequest
Comma-separated list of field names to include in the response.
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BillingPaymentsAPIService ¶
type BillingPaymentsAPIService service
BillingPaymentsAPIService BillingPaymentsAPI service
func (*BillingPaymentsAPIService) AddCredits ¶
func (a *BillingPaymentsAPIService) AddCredits(ctx context.Context) ApiAddCreditsRequest
AddCredits Add credits using the default credit card
Add credit into the default credit card in US Dollars.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAddCreditsRequest
func (*BillingPaymentsAPIService) AddCreditsExecute ¶
func (a *BillingPaymentsAPIService) AddCreditsExecute(r ApiAddCreditsRequest) (*CreditResponse, *http.Response, error)
Execute executes the request
@return CreditResponse
func (*BillingPaymentsAPIService) CreateCreditCard ¶
func (a *BillingPaymentsAPIService) CreateCreditCard(ctx context.Context) ApiCreateCreditCardRequest
CreateCreditCard Create a new credit card
Create a new credit card for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCreditCardRequest
func (*BillingPaymentsAPIService) CreateCreditCardExecute ¶
func (a *BillingPaymentsAPIService) CreateCreditCardExecute(r ApiCreateCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
Execute executes the request
@return PaymentMethodResponse
func (*BillingPaymentsAPIService) DestroyCreditCard ¶
func (a *BillingPaymentsAPIService) DestroyCreditCard(ctx context.Context, id string) ApiDestroyCreditCardRequest
DestroyCreditCard Destroy a credit card
Destruction of a specific credit card in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDestroyCreditCardRequest
func (*BillingPaymentsAPIService) DestroyCreditCardExecute ¶
func (a *BillingPaymentsAPIService) DestroyCreditCardExecute(r ApiDestroyCreditCardRequest) (*DeleteResponse, *http.Response, error)
Execute executes the request
@return DeleteResponse
func (*BillingPaymentsAPIService) ListCreditCards ¶
func (a *BillingPaymentsAPIService) ListCreditCards(ctx context.Context) ApiListCreditCardsRequest
ListCreditCards List of the credit cards
List all credit cards owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCreditCardsRequest
func (*BillingPaymentsAPIService) ListCreditCardsExecute ¶
func (a *BillingPaymentsAPIService) ListCreditCardsExecute(r ApiListCreditCardsRequest) (*PaginatedPaymentMethodResponseList, *http.Response, error)
Execute executes the request
@return PaginatedPaymentMethodResponseList
func (*BillingPaymentsAPIService) ListPaymentHistory ¶
func (a *BillingPaymentsAPIService) ListPaymentHistory(ctx context.Context) ApiListPaymentHistoryRequest
ListPaymentHistory List of the payment history
List all details of the payment history.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPaymentHistoryRequest
func (*BillingPaymentsAPIService) ListPaymentHistoryExecute ¶
func (a *BillingPaymentsAPIService) ListPaymentHistoryExecute(r ApiListPaymentHistoryRequest) (*PaginatedPaymentHistoryList, *http.Response, error)
Execute executes the request
@return PaginatedPaymentHistoryList
func (*BillingPaymentsAPIService) PartialUpdateCreditCard ¶
func (a *BillingPaymentsAPIService) PartialUpdateCreditCard(ctx context.Context, id string) ApiPartialUpdateCreditCardRequest
PartialUpdateCreditCard Partially update a credit card
Update the field 'is_default' to enable of an existing credit card.Only the field 'is_default' is editable for an existing card.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiPartialUpdateCreditCardRequest
func (*BillingPaymentsAPIService) PartialUpdateCreditCardExecute ¶
func (a *BillingPaymentsAPIService) PartialUpdateCreditCardExecute(r ApiPartialUpdateCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
Execute executes the request
@return PaymentMethodResponse
func (*BillingPaymentsAPIService) RetrieveCreditCard ¶
func (a *BillingPaymentsAPIService) RetrieveCreditCard(ctx context.Context, id string) ApiRetrieveCreditCardRequest
RetrieveCreditCard Retrieve details from a credit card
Retrieve details from a specific credit card in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiRetrieveCreditCardRequest
func (*BillingPaymentsAPIService) RetrieveCreditCardExecute ¶
func (a *BillingPaymentsAPIService) RetrieveCreditCardExecute(r ApiRetrieveCreditCardRequest) (*PaymentMethodResponse, *http.Response, error)
Execute executes the request
@return PaymentMethodResponse
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Credit ¶
type Credit struct {
Amount float64 `json:"amount"`
ClientId string `json:"client_id"`
Currency string `json:"currency"`
EntryType string `json:"entry_type"`
ExpirationDate string `json:"expiration_date"`
Created string `json:"created"`
CustomerStripeId string `json:"customer_stripe_id"`
Description string `json:"description"`
}
Credit struct for Credit
func NewCredit ¶
func NewCredit(amount float64, clientId string, currency string, entryType string, expirationDate string, created string, customerStripeId string, description string) *Credit
NewCredit instantiates a new Credit 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 NewCreditWithDefaults ¶
func NewCreditWithDefaults() *Credit
NewCreditWithDefaults instantiates a new Credit 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 (*Credit) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Credit) GetClientId ¶
GetClientId returns the ClientId field value
func (*Credit) GetClientIdOk ¶
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*Credit) GetCreated ¶
GetCreated returns the Created field value
func (*Credit) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Credit) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Credit) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Credit) GetCustomerStripeId ¶
GetCustomerStripeId returns the CustomerStripeId field value
func (*Credit) GetCustomerStripeIdOk ¶
GetCustomerStripeIdOk returns a tuple with the CustomerStripeId field value and a boolean to check if the value has been set.
func (*Credit) GetDescription ¶
GetDescription returns the Description field value
func (*Credit) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Credit) GetEntryType ¶
GetEntryType returns the EntryType field value
func (*Credit) GetEntryTypeOk ¶
GetEntryTypeOk returns a tuple with the EntryType field value and a boolean to check if the value has been set.
func (*Credit) GetExpirationDate ¶
GetExpirationDate returns the ExpirationDate field value
func (*Credit) GetExpirationDateOk ¶
GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.
func (Credit) MarshalJSON ¶
func (*Credit) SetCustomerStripeId ¶
SetCustomerStripeId sets field value
func (*Credit) SetDescription ¶
SetDescription sets field value
func (*Credit) SetExpirationDate ¶
SetExpirationDate sets field value
func (*Credit) UnmarshalJSON ¶
type CreditRequest ¶
type CreditRequest struct {
Amount float64 `json:"amount"`
}
CreditRequest struct for CreditRequest
func NewCreditRequest ¶
func NewCreditRequest(amount float64) *CreditRequest
NewCreditRequest instantiates a new CreditRequest 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 NewCreditRequestWithDefaults ¶
func NewCreditRequestWithDefaults() *CreditRequest
NewCreditRequestWithDefaults instantiates a new CreditRequest 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 (*CreditRequest) GetAmount ¶
func (o *CreditRequest) GetAmount() float64
GetAmount returns the Amount field value
func (*CreditRequest) GetAmountOk ¶
func (o *CreditRequest) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (CreditRequest) MarshalJSON ¶
func (o CreditRequest) MarshalJSON() ([]byte, error)
func (*CreditRequest) SetAmount ¶
func (o *CreditRequest) SetAmount(v float64)
SetAmount sets field value
func (CreditRequest) ToMap ¶
func (o CreditRequest) ToMap() (map[string]interface{}, error)
func (*CreditRequest) UnmarshalJSON ¶
func (o *CreditRequest) UnmarshalJSON(data []byte) (err error)
type CreditResponse ¶
CreditResponse struct for CreditResponse
func NewCreditResponse ¶
func NewCreditResponse(data Credit) *CreditResponse
NewCreditResponse instantiates a new CreditResponse 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 NewCreditResponseWithDefaults ¶
func NewCreditResponseWithDefaults() *CreditResponse
NewCreditResponseWithDefaults instantiates a new CreditResponse 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 (*CreditResponse) GetData ¶
func (o *CreditResponse) GetData() Credit
GetData returns the Data field value
func (*CreditResponse) GetDataOk ¶
func (o *CreditResponse) GetDataOk() (*Credit, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*CreditResponse) GetState ¶
func (o *CreditResponse) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*CreditResponse) GetStateOk ¶
func (o *CreditResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreditResponse) HasState ¶
func (o *CreditResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (CreditResponse) MarshalJSON ¶
func (o CreditResponse) MarshalJSON() ([]byte, error)
func (*CreditResponse) SetData ¶
func (o *CreditResponse) SetData(v Credit)
SetData sets field value
func (*CreditResponse) SetState ¶
func (o *CreditResponse) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (CreditResponse) ToMap ¶
func (o CreditResponse) ToMap() (map[string]interface{}, error)
func (*CreditResponse) UnmarshalJSON ¶
func (o *CreditResponse) UnmarshalJSON(data []byte) (err error)
type DeleteResponse ¶
type DeleteResponse struct {
State *string `json:"state,omitempty"`
}
DeleteResponse struct for DeleteResponse
func NewDeleteResponse ¶
func NewDeleteResponse() *DeleteResponse
NewDeleteResponse instantiates a new DeleteResponse 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 NewDeleteResponseWithDefaults ¶
func NewDeleteResponseWithDefaults() *DeleteResponse
NewDeleteResponseWithDefaults instantiates a new DeleteResponse 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 (*DeleteResponse) GetState ¶
func (o *DeleteResponse) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*DeleteResponse) GetStateOk ¶
func (o *DeleteResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteResponse) HasState ¶
func (o *DeleteResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (DeleteResponse) MarshalJSON ¶
func (o DeleteResponse) MarshalJSON() ([]byte, error)
func (*DeleteResponse) SetState ¶
func (o *DeleteResponse) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (DeleteResponse) ToMap ¶
func (o DeleteResponse) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type JSONAPIErrorObject ¶
type JSONAPIErrorObject struct {
// The HTTP status code applicable to this problem
Status *string `json:"status,omitempty"`
// An application-specific error code
Code *string `json:"code,omitempty"`
// A short, human-readable summary of the problem
Title *string `json:"title,omitempty"`
// A human-readable explanation specific to this occurrence of the problem
Detail *string `json:"detail,omitempty"`
// References to the primary source of the error
Source *JSONAPIErrorSource `json:"source,omitempty"`
// Non-standard meta-information about the error
Meta map[string]interface{} `json:"meta,omitempty"`
}
JSONAPIErrorObject Serializer for a single JSON:API error object.
func NewJSONAPIErrorObject ¶
func NewJSONAPIErrorObject() *JSONAPIErrorObject
NewJSONAPIErrorObject instantiates a new JSONAPIErrorObject 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 NewJSONAPIErrorObjectWithDefaults ¶
func NewJSONAPIErrorObjectWithDefaults() *JSONAPIErrorObject
NewJSONAPIErrorObjectWithDefaults instantiates a new JSONAPIErrorObject 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 (*JSONAPIErrorObject) GetCode ¶
func (o *JSONAPIErrorObject) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetCodeOk ¶
func (o *JSONAPIErrorObject) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetDetail ¶
func (o *JSONAPIErrorObject) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetDetailOk ¶
func (o *JSONAPIErrorObject) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetMeta ¶
func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}
GetMeta returns the Meta field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetMetaOk ¶
func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetSource ¶
func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource
GetSource returns the Source field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetSourceOk ¶
func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetStatus ¶
func (o *JSONAPIErrorObject) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetStatusOk ¶
func (o *JSONAPIErrorObject) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetTitle ¶
func (o *JSONAPIErrorObject) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetTitleOk ¶
func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) HasCode ¶
func (o *JSONAPIErrorObject) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasDetail ¶
func (o *JSONAPIErrorObject) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasMeta ¶
func (o *JSONAPIErrorObject) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasSource ¶
func (o *JSONAPIErrorObject) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasStatus ¶
func (o *JSONAPIErrorObject) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasTitle ¶
func (o *JSONAPIErrorObject) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (JSONAPIErrorObject) MarshalJSON ¶
func (o JSONAPIErrorObject) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorObject) SetCode ¶
func (o *JSONAPIErrorObject) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*JSONAPIErrorObject) SetDetail ¶
func (o *JSONAPIErrorObject) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*JSONAPIErrorObject) SetMeta ¶
func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})
SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.
func (*JSONAPIErrorObject) SetSource ¶
func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)
SetSource gets a reference to the given JSONAPIErrorSource and assigns it to the Source field.
func (*JSONAPIErrorObject) SetStatus ¶
func (o *JSONAPIErrorObject) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*JSONAPIErrorObject) SetTitle ¶
func (o *JSONAPIErrorObject) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (JSONAPIErrorObject) ToMap ¶
func (o JSONAPIErrorObject) ToMap() (map[string]interface{}, error)
type JSONAPIErrorResponse ¶
type JSONAPIErrorResponse struct {
// Array of error objects
Errors []JSONAPIErrorObject `json:"errors"`
}
JSONAPIErrorResponse Serializer for a JSON:API error response.
func NewJSONAPIErrorResponse ¶
func NewJSONAPIErrorResponse(errors []JSONAPIErrorObject) *JSONAPIErrorResponse
NewJSONAPIErrorResponse instantiates a new JSONAPIErrorResponse 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 NewJSONAPIErrorResponseWithDefaults ¶
func NewJSONAPIErrorResponseWithDefaults() *JSONAPIErrorResponse
NewJSONAPIErrorResponseWithDefaults instantiates a new JSONAPIErrorResponse 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 (*JSONAPIErrorResponse) GetErrors ¶
func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject
GetErrors returns the Errors field value
func (*JSONAPIErrorResponse) GetErrorsOk ¶
func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (JSONAPIErrorResponse) MarshalJSON ¶
func (o JSONAPIErrorResponse) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorResponse) SetErrors ¶
func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)
SetErrors sets field value
func (JSONAPIErrorResponse) ToMap ¶
func (o JSONAPIErrorResponse) ToMap() (map[string]interface{}, error)
func (*JSONAPIErrorResponse) UnmarshalJSON ¶
func (o *JSONAPIErrorResponse) UnmarshalJSON(data []byte) (err error)
type JSONAPIErrorSource ¶
type JSONAPIErrorSource struct {
// JSON Pointer to the value in the request document that caused the error
Pointer *string `json:"pointer,omitempty"`
// URI query parameter that caused the error
Parameter *string `json:"parameter,omitempty"`
// Request header name that caused the error
Header *string `json:"header,omitempty"`
}
JSONAPIErrorSource Serializer for the 'source' object in a JSON:API error.
func NewJSONAPIErrorSource ¶
func NewJSONAPIErrorSource() *JSONAPIErrorSource
NewJSONAPIErrorSource instantiates a new JSONAPIErrorSource 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 NewJSONAPIErrorSourceWithDefaults ¶
func NewJSONAPIErrorSourceWithDefaults() *JSONAPIErrorSource
NewJSONAPIErrorSourceWithDefaults instantiates a new JSONAPIErrorSource 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 (*JSONAPIErrorSource) GetHeader ¶
func (o *JSONAPIErrorSource) GetHeader() string
GetHeader returns the Header field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetHeaderOk ¶
func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) GetParameter ¶
func (o *JSONAPIErrorSource) GetParameter() string
GetParameter returns the Parameter field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetParameterOk ¶
func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)
GetParameterOk returns a tuple with the Parameter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) GetPointer ¶
func (o *JSONAPIErrorSource) GetPointer() string
GetPointer returns the Pointer field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetPointerOk ¶
func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)
GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) HasHeader ¶
func (o *JSONAPIErrorSource) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*JSONAPIErrorSource) HasParameter ¶
func (o *JSONAPIErrorSource) HasParameter() bool
HasParameter returns a boolean if a field has been set.
func (*JSONAPIErrorSource) HasPointer ¶
func (o *JSONAPIErrorSource) HasPointer() bool
HasPointer returns a boolean if a field has been set.
func (JSONAPIErrorSource) MarshalJSON ¶
func (o JSONAPIErrorSource) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorSource) SetHeader ¶
func (o *JSONAPIErrorSource) SetHeader(v string)
SetHeader gets a reference to the given string and assigns it to the Header field.
func (*JSONAPIErrorSource) SetParameter ¶
func (o *JSONAPIErrorSource) SetParameter(v string)
SetParameter gets a reference to the given string and assigns it to the Parameter field.
func (*JSONAPIErrorSource) SetPointer ¶
func (o *JSONAPIErrorSource) SetPointer(v string)
SetPointer gets a reference to the given string and assigns it to the Pointer field.
func (JSONAPIErrorSource) ToMap ¶
func (o JSONAPIErrorSource) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCredit ¶
type NullableCredit struct {
// contains filtered or unexported fields
}
func NewNullableCredit ¶
func NewNullableCredit(val *Credit) *NullableCredit
func (NullableCredit) Get ¶
func (v NullableCredit) Get() *Credit
func (NullableCredit) IsSet ¶
func (v NullableCredit) IsSet() bool
func (NullableCredit) MarshalJSON ¶
func (v NullableCredit) MarshalJSON() ([]byte, error)
func (*NullableCredit) Set ¶
func (v *NullableCredit) Set(val *Credit)
func (*NullableCredit) UnmarshalJSON ¶
func (v *NullableCredit) UnmarshalJSON(src []byte) error
func (*NullableCredit) Unset ¶
func (v *NullableCredit) Unset()
type NullableCreditRequest ¶
type NullableCreditRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreditRequest ¶
func NewNullableCreditRequest(val *CreditRequest) *NullableCreditRequest
func (NullableCreditRequest) Get ¶
func (v NullableCreditRequest) Get() *CreditRequest
func (NullableCreditRequest) IsSet ¶
func (v NullableCreditRequest) IsSet() bool
func (NullableCreditRequest) MarshalJSON ¶
func (v NullableCreditRequest) MarshalJSON() ([]byte, error)
func (*NullableCreditRequest) Set ¶
func (v *NullableCreditRequest) Set(val *CreditRequest)
func (*NullableCreditRequest) UnmarshalJSON ¶
func (v *NullableCreditRequest) UnmarshalJSON(src []byte) error
func (*NullableCreditRequest) Unset ¶
func (v *NullableCreditRequest) Unset()
type NullableCreditResponse ¶
type NullableCreditResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreditResponse ¶
func NewNullableCreditResponse(val *CreditResponse) *NullableCreditResponse
func (NullableCreditResponse) Get ¶
func (v NullableCreditResponse) Get() *CreditResponse
func (NullableCreditResponse) IsSet ¶
func (v NullableCreditResponse) IsSet() bool
func (NullableCreditResponse) MarshalJSON ¶
func (v NullableCreditResponse) MarshalJSON() ([]byte, error)
func (*NullableCreditResponse) Set ¶
func (v *NullableCreditResponse) Set(val *CreditResponse)
func (*NullableCreditResponse) UnmarshalJSON ¶
func (v *NullableCreditResponse) UnmarshalJSON(src []byte) error
func (*NullableCreditResponse) Unset ¶
func (v *NullableCreditResponse) Unset()
type NullableDeleteResponse ¶
type NullableDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteResponse ¶
func NewNullableDeleteResponse(val *DeleteResponse) *NullableDeleteResponse
func (NullableDeleteResponse) Get ¶
func (v NullableDeleteResponse) Get() *DeleteResponse
func (NullableDeleteResponse) IsSet ¶
func (v NullableDeleteResponse) IsSet() bool
func (NullableDeleteResponse) MarshalJSON ¶
func (v NullableDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteResponse) Set ¶
func (v *NullableDeleteResponse) Set(val *DeleteResponse)
func (*NullableDeleteResponse) UnmarshalJSON ¶
func (v *NullableDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteResponse) Unset ¶
func (v *NullableDeleteResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJSONAPIErrorObject ¶
type NullableJSONAPIErrorObject struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorObject ¶
func NewNullableJSONAPIErrorObject(val *JSONAPIErrorObject) *NullableJSONAPIErrorObject
func (NullableJSONAPIErrorObject) Get ¶
func (v NullableJSONAPIErrorObject) Get() *JSONAPIErrorObject
func (NullableJSONAPIErrorObject) IsSet ¶
func (v NullableJSONAPIErrorObject) IsSet() bool
func (NullableJSONAPIErrorObject) MarshalJSON ¶
func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorObject) Set ¶
func (v *NullableJSONAPIErrorObject) Set(val *JSONAPIErrorObject)
func (*NullableJSONAPIErrorObject) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorObject) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorObject) Unset ¶
func (v *NullableJSONAPIErrorObject) Unset()
type NullableJSONAPIErrorResponse ¶
type NullableJSONAPIErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorResponse ¶
func NewNullableJSONAPIErrorResponse(val *JSONAPIErrorResponse) *NullableJSONAPIErrorResponse
func (NullableJSONAPIErrorResponse) Get ¶
func (v NullableJSONAPIErrorResponse) Get() *JSONAPIErrorResponse
func (NullableJSONAPIErrorResponse) IsSet ¶
func (v NullableJSONAPIErrorResponse) IsSet() bool
func (NullableJSONAPIErrorResponse) MarshalJSON ¶
func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorResponse) Set ¶
func (v *NullableJSONAPIErrorResponse) Set(val *JSONAPIErrorResponse)
func (*NullableJSONAPIErrorResponse) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorResponse) Unset ¶
func (v *NullableJSONAPIErrorResponse) Unset()
type NullableJSONAPIErrorSource ¶
type NullableJSONAPIErrorSource struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorSource ¶
func NewNullableJSONAPIErrorSource(val *JSONAPIErrorSource) *NullableJSONAPIErrorSource
func (NullableJSONAPIErrorSource) Get ¶
func (v NullableJSONAPIErrorSource) Get() *JSONAPIErrorSource
func (NullableJSONAPIErrorSource) IsSet ¶
func (v NullableJSONAPIErrorSource) IsSet() bool
func (NullableJSONAPIErrorSource) MarshalJSON ¶
func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorSource) Set ¶
func (v *NullableJSONAPIErrorSource) Set(val *JSONAPIErrorSource)
func (*NullableJSONAPIErrorSource) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorSource) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorSource) Unset ¶
func (v *NullableJSONAPIErrorSource) Unset()
type NullablePaginatedPaymentHistoryList ¶
type NullablePaginatedPaymentHistoryList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedPaymentHistoryList ¶
func NewNullablePaginatedPaymentHistoryList(val *PaginatedPaymentHistoryList) *NullablePaginatedPaymentHistoryList
func (NullablePaginatedPaymentHistoryList) Get ¶
func (v NullablePaginatedPaymentHistoryList) Get() *PaginatedPaymentHistoryList
func (NullablePaginatedPaymentHistoryList) IsSet ¶
func (v NullablePaginatedPaymentHistoryList) IsSet() bool
func (NullablePaginatedPaymentHistoryList) MarshalJSON ¶
func (v NullablePaginatedPaymentHistoryList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedPaymentHistoryList) Set ¶
func (v *NullablePaginatedPaymentHistoryList) Set(val *PaginatedPaymentHistoryList)
func (*NullablePaginatedPaymentHistoryList) UnmarshalJSON ¶
func (v *NullablePaginatedPaymentHistoryList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedPaymentHistoryList) Unset ¶
func (v *NullablePaginatedPaymentHistoryList) Unset()
type NullablePaginatedPaymentMethodResponseList ¶
type NullablePaginatedPaymentMethodResponseList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedPaymentMethodResponseList ¶
func NewNullablePaginatedPaymentMethodResponseList(val *PaginatedPaymentMethodResponseList) *NullablePaginatedPaymentMethodResponseList
func (NullablePaginatedPaymentMethodResponseList) IsSet ¶
func (v NullablePaginatedPaymentMethodResponseList) IsSet() bool
func (NullablePaginatedPaymentMethodResponseList) MarshalJSON ¶
func (v NullablePaginatedPaymentMethodResponseList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedPaymentMethodResponseList) Set ¶
func (v *NullablePaginatedPaymentMethodResponseList) Set(val *PaginatedPaymentMethodResponseList)
func (*NullablePaginatedPaymentMethodResponseList) UnmarshalJSON ¶
func (v *NullablePaginatedPaymentMethodResponseList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedPaymentMethodResponseList) Unset ¶
func (v *NullablePaginatedPaymentMethodResponseList) Unset()
type NullablePatchedPartialUpdateRequest ¶
type NullablePatchedPartialUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedPartialUpdateRequest ¶
func NewNullablePatchedPartialUpdateRequest(val *PatchedPartialUpdateRequest) *NullablePatchedPartialUpdateRequest
func (NullablePatchedPartialUpdateRequest) Get ¶
func (v NullablePatchedPartialUpdateRequest) Get() *PatchedPartialUpdateRequest
func (NullablePatchedPartialUpdateRequest) IsSet ¶
func (v NullablePatchedPartialUpdateRequest) IsSet() bool
func (NullablePatchedPartialUpdateRequest) MarshalJSON ¶
func (v NullablePatchedPartialUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedPartialUpdateRequest) Set ¶
func (v *NullablePatchedPartialUpdateRequest) Set(val *PatchedPartialUpdateRequest)
func (*NullablePatchedPartialUpdateRequest) UnmarshalJSON ¶
func (v *NullablePatchedPartialUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedPartialUpdateRequest) Unset ¶
func (v *NullablePatchedPartialUpdateRequest) Unset()
type NullablePaymentHistory ¶
type NullablePaymentHistory struct {
// contains filtered or unexported fields
}
func NewNullablePaymentHistory ¶
func NewNullablePaymentHistory(val *PaymentHistory) *NullablePaymentHistory
func (NullablePaymentHistory) Get ¶
func (v NullablePaymentHistory) Get() *PaymentHistory
func (NullablePaymentHistory) IsSet ¶
func (v NullablePaymentHistory) IsSet() bool
func (NullablePaymentHistory) MarshalJSON ¶
func (v NullablePaymentHistory) MarshalJSON() ([]byte, error)
func (*NullablePaymentHistory) Set ¶
func (v *NullablePaymentHistory) Set(val *PaymentHistory)
func (*NullablePaymentHistory) UnmarshalJSON ¶
func (v *NullablePaymentHistory) UnmarshalJSON(src []byte) error
func (*NullablePaymentHistory) Unset ¶
func (v *NullablePaymentHistory) Unset()
type NullablePaymentMethod ¶
type NullablePaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethod ¶
func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod
func (NullablePaymentMethod) Get ¶
func (v NullablePaymentMethod) Get() *PaymentMethod
func (NullablePaymentMethod) IsSet ¶
func (v NullablePaymentMethod) IsSet() bool
func (NullablePaymentMethod) MarshalJSON ¶
func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethod) Set ¶
func (v *NullablePaymentMethod) Set(val *PaymentMethod)
func (*NullablePaymentMethod) UnmarshalJSON ¶
func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethod) Unset ¶
func (v *NullablePaymentMethod) Unset()
type NullablePaymentMethodRequest ¶
type NullablePaymentMethodRequest struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodRequest ¶
func NewNullablePaymentMethodRequest(val *PaymentMethodRequest) *NullablePaymentMethodRequest
func (NullablePaymentMethodRequest) Get ¶
func (v NullablePaymentMethodRequest) Get() *PaymentMethodRequest
func (NullablePaymentMethodRequest) IsSet ¶
func (v NullablePaymentMethodRequest) IsSet() bool
func (NullablePaymentMethodRequest) MarshalJSON ¶
func (v NullablePaymentMethodRequest) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodRequest) Set ¶
func (v *NullablePaymentMethodRequest) Set(val *PaymentMethodRequest)
func (*NullablePaymentMethodRequest) UnmarshalJSON ¶
func (v *NullablePaymentMethodRequest) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodRequest) Unset ¶
func (v *NullablePaymentMethodRequest) Unset()
type NullablePaymentMethodResponse ¶
type NullablePaymentMethodResponse struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodResponse ¶
func NewNullablePaymentMethodResponse(val *PaymentMethodResponse) *NullablePaymentMethodResponse
func (NullablePaymentMethodResponse) Get ¶
func (v NullablePaymentMethodResponse) Get() *PaymentMethodResponse
func (NullablePaymentMethodResponse) IsSet ¶
func (v NullablePaymentMethodResponse) IsSet() bool
func (NullablePaymentMethodResponse) MarshalJSON ¶
func (v NullablePaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodResponse) Set ¶
func (v *NullablePaymentMethodResponse) Set(val *PaymentMethodResponse)
func (*NullablePaymentMethodResponse) UnmarshalJSON ¶
func (v *NullablePaymentMethodResponse) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodResponse) Unset ¶
func (v *NullablePaymentMethodResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PaginatedPaymentHistoryList ¶
type PaginatedPaymentHistoryList struct {
// Total number of items
Count *int64 `json:"count,omitempty"`
// Total number of pages
TotalPages *int64 `json:"total_pages,omitempty"`
// Current page number
Page *int64 `json:"page,omitempty"`
// Number of items per page
PageSize *int64 `json:"page_size,omitempty"`
// URL to the next page of results
Next NullableString `json:"next,omitempty"`
// URL to the previous page of results
Previous NullableString `json:"previous,omitempty"`
Results []PaymentHistory `json:"results,omitempty"`
}
PaginatedPaymentHistoryList struct for PaginatedPaymentHistoryList
func NewPaginatedPaymentHistoryList ¶
func NewPaginatedPaymentHistoryList() *PaginatedPaymentHistoryList
NewPaginatedPaymentHistoryList instantiates a new PaginatedPaymentHistoryList 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 NewPaginatedPaymentHistoryListWithDefaults ¶
func NewPaginatedPaymentHistoryListWithDefaults() *PaginatedPaymentHistoryList
NewPaginatedPaymentHistoryListWithDefaults instantiates a new PaginatedPaymentHistoryList 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 (*PaginatedPaymentHistoryList) GetCount ¶
func (o *PaginatedPaymentHistoryList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedPaymentHistoryList) GetCountOk ¶
func (o *PaginatedPaymentHistoryList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentHistoryList) GetNext ¶
func (o *PaginatedPaymentHistoryList) GetNext() string
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedPaymentHistoryList) GetNextOk ¶
func (o *PaginatedPaymentHistoryList) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedPaymentHistoryList) GetPage ¶
func (o *PaginatedPaymentHistoryList) GetPage() int64
GetPage returns the Page field value if set, zero value otherwise.
func (*PaginatedPaymentHistoryList) GetPageOk ¶
func (o *PaginatedPaymentHistoryList) GetPageOk() (*int64, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentHistoryList) GetPageSize ¶
func (o *PaginatedPaymentHistoryList) GetPageSize() int64
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*PaginatedPaymentHistoryList) GetPageSizeOk ¶
func (o *PaginatedPaymentHistoryList) GetPageSizeOk() (*int64, bool)
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentHistoryList) GetPrevious ¶
func (o *PaginatedPaymentHistoryList) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedPaymentHistoryList) GetPreviousOk ¶
func (o *PaginatedPaymentHistoryList) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedPaymentHistoryList) GetResults ¶
func (o *PaginatedPaymentHistoryList) GetResults() []PaymentHistory
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedPaymentHistoryList) GetResultsOk ¶
func (o *PaginatedPaymentHistoryList) GetResultsOk() ([]PaymentHistory, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentHistoryList) GetTotalPages ¶
func (o *PaginatedPaymentHistoryList) GetTotalPages() int64
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*PaginatedPaymentHistoryList) GetTotalPagesOk ¶
func (o *PaginatedPaymentHistoryList) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentHistoryList) HasCount ¶
func (o *PaginatedPaymentHistoryList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasNext ¶
func (o *PaginatedPaymentHistoryList) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasPage ¶
func (o *PaginatedPaymentHistoryList) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasPageSize ¶
func (o *PaginatedPaymentHistoryList) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasPrevious ¶
func (o *PaginatedPaymentHistoryList) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasResults ¶
func (o *PaginatedPaymentHistoryList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*PaginatedPaymentHistoryList) HasTotalPages ¶
func (o *PaginatedPaymentHistoryList) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (PaginatedPaymentHistoryList) MarshalJSON ¶
func (o PaginatedPaymentHistoryList) MarshalJSON() ([]byte, error)
func (*PaginatedPaymentHistoryList) SetCount ¶
func (o *PaginatedPaymentHistoryList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedPaymentHistoryList) SetNext ¶
func (o *PaginatedPaymentHistoryList) SetNext(v string)
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*PaginatedPaymentHistoryList) SetNextNil ¶
func (o *PaginatedPaymentHistoryList) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*PaginatedPaymentHistoryList) SetPage ¶
func (o *PaginatedPaymentHistoryList) SetPage(v int64)
SetPage gets a reference to the given int64 and assigns it to the Page field.
func (*PaginatedPaymentHistoryList) SetPageSize ¶
func (o *PaginatedPaymentHistoryList) SetPageSize(v int64)
SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.
func (*PaginatedPaymentHistoryList) SetPrevious ¶
func (o *PaginatedPaymentHistoryList) SetPrevious(v string)
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*PaginatedPaymentHistoryList) SetPreviousNil ¶
func (o *PaginatedPaymentHistoryList) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (*PaginatedPaymentHistoryList) SetResults ¶
func (o *PaginatedPaymentHistoryList) SetResults(v []PaymentHistory)
SetResults gets a reference to the given []PaymentHistory and assigns it to the Results field.
func (*PaginatedPaymentHistoryList) SetTotalPages ¶
func (o *PaginatedPaymentHistoryList) SetTotalPages(v int64)
SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.
func (PaginatedPaymentHistoryList) ToMap ¶
func (o PaginatedPaymentHistoryList) ToMap() (map[string]interface{}, error)
func (*PaginatedPaymentHistoryList) UnsetNext ¶
func (o *PaginatedPaymentHistoryList) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*PaginatedPaymentHistoryList) UnsetPrevious ¶
func (o *PaginatedPaymentHistoryList) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
type PaginatedPaymentMethodResponseList ¶
type PaginatedPaymentMethodResponseList struct {
// Total number of items
Count *int64 `json:"count,omitempty"`
// Total number of pages
TotalPages *int64 `json:"total_pages,omitempty"`
// Current page number
Page *int64 `json:"page,omitempty"`
// Number of items per page
PageSize *int64 `json:"page_size,omitempty"`
// URL to the next page of results
Next NullableString `json:"next,omitempty"`
// URL to the previous page of results
Previous NullableString `json:"previous,omitempty"`
Results []PaymentMethodResponse `json:"results,omitempty"`
}
PaginatedPaymentMethodResponseList struct for PaginatedPaymentMethodResponseList
func NewPaginatedPaymentMethodResponseList ¶
func NewPaginatedPaymentMethodResponseList() *PaginatedPaymentMethodResponseList
NewPaginatedPaymentMethodResponseList instantiates a new PaginatedPaymentMethodResponseList 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 NewPaginatedPaymentMethodResponseListWithDefaults ¶
func NewPaginatedPaymentMethodResponseListWithDefaults() *PaginatedPaymentMethodResponseList
NewPaginatedPaymentMethodResponseListWithDefaults instantiates a new PaginatedPaymentMethodResponseList 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 (*PaginatedPaymentMethodResponseList) GetCount ¶
func (o *PaginatedPaymentMethodResponseList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedPaymentMethodResponseList) GetCountOk ¶
func (o *PaginatedPaymentMethodResponseList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentMethodResponseList) GetNext ¶
func (o *PaginatedPaymentMethodResponseList) GetNext() string
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedPaymentMethodResponseList) GetNextOk ¶
func (o *PaginatedPaymentMethodResponseList) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedPaymentMethodResponseList) GetPage ¶
func (o *PaginatedPaymentMethodResponseList) GetPage() int64
GetPage returns the Page field value if set, zero value otherwise.
func (*PaginatedPaymentMethodResponseList) GetPageOk ¶
func (o *PaginatedPaymentMethodResponseList) GetPageOk() (*int64, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentMethodResponseList) GetPageSize ¶
func (o *PaginatedPaymentMethodResponseList) GetPageSize() int64
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*PaginatedPaymentMethodResponseList) GetPageSizeOk ¶
func (o *PaginatedPaymentMethodResponseList) GetPageSizeOk() (*int64, bool)
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentMethodResponseList) GetPrevious ¶
func (o *PaginatedPaymentMethodResponseList) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedPaymentMethodResponseList) GetPreviousOk ¶
func (o *PaginatedPaymentMethodResponseList) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedPaymentMethodResponseList) GetResults ¶
func (o *PaginatedPaymentMethodResponseList) GetResults() []PaymentMethodResponse
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedPaymentMethodResponseList) GetResultsOk ¶
func (o *PaginatedPaymentMethodResponseList) GetResultsOk() ([]PaymentMethodResponse, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentMethodResponseList) GetTotalPages ¶
func (o *PaginatedPaymentMethodResponseList) GetTotalPages() int64
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*PaginatedPaymentMethodResponseList) GetTotalPagesOk ¶
func (o *PaginatedPaymentMethodResponseList) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedPaymentMethodResponseList) HasCount ¶
func (o *PaginatedPaymentMethodResponseList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasNext ¶
func (o *PaginatedPaymentMethodResponseList) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasPage ¶
func (o *PaginatedPaymentMethodResponseList) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasPageSize ¶
func (o *PaginatedPaymentMethodResponseList) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasPrevious ¶
func (o *PaginatedPaymentMethodResponseList) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasResults ¶
func (o *PaginatedPaymentMethodResponseList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*PaginatedPaymentMethodResponseList) HasTotalPages ¶
func (o *PaginatedPaymentMethodResponseList) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (PaginatedPaymentMethodResponseList) MarshalJSON ¶
func (o PaginatedPaymentMethodResponseList) MarshalJSON() ([]byte, error)
func (*PaginatedPaymentMethodResponseList) SetCount ¶
func (o *PaginatedPaymentMethodResponseList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedPaymentMethodResponseList) SetNext ¶
func (o *PaginatedPaymentMethodResponseList) SetNext(v string)
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*PaginatedPaymentMethodResponseList) SetNextNil ¶
func (o *PaginatedPaymentMethodResponseList) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*PaginatedPaymentMethodResponseList) SetPage ¶
func (o *PaginatedPaymentMethodResponseList) SetPage(v int64)
SetPage gets a reference to the given int64 and assigns it to the Page field.
func (*PaginatedPaymentMethodResponseList) SetPageSize ¶
func (o *PaginatedPaymentMethodResponseList) SetPageSize(v int64)
SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.
func (*PaginatedPaymentMethodResponseList) SetPrevious ¶
func (o *PaginatedPaymentMethodResponseList) SetPrevious(v string)
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*PaginatedPaymentMethodResponseList) SetPreviousNil ¶
func (o *PaginatedPaymentMethodResponseList) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (*PaginatedPaymentMethodResponseList) SetResults ¶
func (o *PaginatedPaymentMethodResponseList) SetResults(v []PaymentMethodResponse)
SetResults gets a reference to the given []PaymentMethodResponse and assigns it to the Results field.
func (*PaginatedPaymentMethodResponseList) SetTotalPages ¶
func (o *PaginatedPaymentMethodResponseList) SetTotalPages(v int64)
SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.
func (PaginatedPaymentMethodResponseList) ToMap ¶
func (o PaginatedPaymentMethodResponseList) ToMap() (map[string]interface{}, error)
func (*PaginatedPaymentMethodResponseList) UnsetNext ¶
func (o *PaginatedPaymentMethodResponseList) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*PaginatedPaymentMethodResponseList) UnsetPrevious ¶
func (o *PaginatedPaymentMethodResponseList) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
type PatchedPartialUpdateRequest ¶
type PatchedPartialUpdateRequest struct {
IsDefault *bool `json:"is_default,omitempty"`
}
PatchedPartialUpdateRequest struct for PatchedPartialUpdateRequest
func NewPatchedPartialUpdateRequest ¶
func NewPatchedPartialUpdateRequest() *PatchedPartialUpdateRequest
NewPatchedPartialUpdateRequest instantiates a new PatchedPartialUpdateRequest 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 NewPatchedPartialUpdateRequestWithDefaults ¶
func NewPatchedPartialUpdateRequestWithDefaults() *PatchedPartialUpdateRequest
NewPatchedPartialUpdateRequestWithDefaults instantiates a new PatchedPartialUpdateRequest 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 (*PatchedPartialUpdateRequest) GetIsDefault ¶
func (o *PatchedPartialUpdateRequest) GetIsDefault() bool
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*PatchedPartialUpdateRequest) GetIsDefaultOk ¶
func (o *PatchedPartialUpdateRequest) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedPartialUpdateRequest) HasIsDefault ¶
func (o *PatchedPartialUpdateRequest) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (PatchedPartialUpdateRequest) MarshalJSON ¶
func (o PatchedPartialUpdateRequest) MarshalJSON() ([]byte, error)
func (*PatchedPartialUpdateRequest) SetIsDefault ¶
func (o *PatchedPartialUpdateRequest) SetIsDefault(v bool)
SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.
func (PatchedPartialUpdateRequest) ToMap ¶
func (o PatchedPartialUpdateRequest) ToMap() (map[string]interface{}, error)
type PaymentHistory ¶
type PaymentHistory struct {
AmountWithCurrency string `json:"amount_with_currency"`
InvoiceNumber NullableString `json:"invoice_number"`
InvoiceUrl NullableString `json:"invoice_url"`
Status string `json:"status"`
PaymentDue string `json:"payment_due"`
CardBrand NullableString `json:"card_brand"`
PaymentMethodDetails NullableString `json:"payment_method_details"`
}
PaymentHistory struct for PaymentHistory
func NewPaymentHistory ¶
func NewPaymentHistory(amountWithCurrency string, invoiceNumber NullableString, invoiceUrl NullableString, status string, paymentDue string, cardBrand NullableString, paymentMethodDetails NullableString) *PaymentHistory
NewPaymentHistory instantiates a new PaymentHistory 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 NewPaymentHistoryWithDefaults ¶
func NewPaymentHistoryWithDefaults() *PaymentHistory
NewPaymentHistoryWithDefaults instantiates a new PaymentHistory 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 (*PaymentHistory) GetAmountWithCurrency ¶
func (o *PaymentHistory) GetAmountWithCurrency() string
GetAmountWithCurrency returns the AmountWithCurrency field value
func (*PaymentHistory) GetAmountWithCurrencyOk ¶
func (o *PaymentHistory) GetAmountWithCurrencyOk() (*string, bool)
GetAmountWithCurrencyOk returns a tuple with the AmountWithCurrency field value and a boolean to check if the value has been set.
func (*PaymentHistory) GetCardBrand ¶
func (o *PaymentHistory) GetCardBrand() string
GetCardBrand returns the CardBrand field value If the value is explicit nil, the zero value for string will be returned
func (*PaymentHistory) GetCardBrandOk ¶
func (o *PaymentHistory) GetCardBrandOk() (*string, bool)
GetCardBrandOk returns a tuple with the CardBrand field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentHistory) GetInvoiceNumber ¶
func (o *PaymentHistory) GetInvoiceNumber() string
GetInvoiceNumber returns the InvoiceNumber field value If the value is explicit nil, the zero value for string will be returned
func (*PaymentHistory) GetInvoiceNumberOk ¶
func (o *PaymentHistory) GetInvoiceNumberOk() (*string, bool)
GetInvoiceNumberOk returns a tuple with the InvoiceNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentHistory) GetInvoiceUrl ¶
func (o *PaymentHistory) GetInvoiceUrl() string
GetInvoiceUrl returns the InvoiceUrl field value If the value is explicit nil, the zero value for string will be returned
func (*PaymentHistory) GetInvoiceUrlOk ¶
func (o *PaymentHistory) GetInvoiceUrlOk() (*string, bool)
GetInvoiceUrlOk returns a tuple with the InvoiceUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentHistory) GetPaymentDue ¶
func (o *PaymentHistory) GetPaymentDue() string
GetPaymentDue returns the PaymentDue field value
func (*PaymentHistory) GetPaymentDueOk ¶
func (o *PaymentHistory) GetPaymentDueOk() (*string, bool)
GetPaymentDueOk returns a tuple with the PaymentDue field value and a boolean to check if the value has been set.
func (*PaymentHistory) GetPaymentMethodDetails ¶
func (o *PaymentHistory) GetPaymentMethodDetails() string
GetPaymentMethodDetails returns the PaymentMethodDetails field value If the value is explicit nil, the zero value for string will be returned
func (*PaymentHistory) GetPaymentMethodDetailsOk ¶
func (o *PaymentHistory) GetPaymentMethodDetailsOk() (*string, bool)
GetPaymentMethodDetailsOk returns a tuple with the PaymentMethodDetails field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentHistory) GetStatus ¶
func (o *PaymentHistory) GetStatus() string
GetStatus returns the Status field value
func (*PaymentHistory) GetStatusOk ¶
func (o *PaymentHistory) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (PaymentHistory) MarshalJSON ¶
func (o PaymentHistory) MarshalJSON() ([]byte, error)
func (*PaymentHistory) SetAmountWithCurrency ¶
func (o *PaymentHistory) SetAmountWithCurrency(v string)
SetAmountWithCurrency sets field value
func (*PaymentHistory) SetCardBrand ¶
func (o *PaymentHistory) SetCardBrand(v string)
SetCardBrand sets field value
func (*PaymentHistory) SetInvoiceNumber ¶
func (o *PaymentHistory) SetInvoiceNumber(v string)
SetInvoiceNumber sets field value
func (*PaymentHistory) SetInvoiceUrl ¶
func (o *PaymentHistory) SetInvoiceUrl(v string)
SetInvoiceUrl sets field value
func (*PaymentHistory) SetPaymentDue ¶
func (o *PaymentHistory) SetPaymentDue(v string)
SetPaymentDue sets field value
func (*PaymentHistory) SetPaymentMethodDetails ¶
func (o *PaymentHistory) SetPaymentMethodDetails(v string)
SetPaymentMethodDetails sets field value
func (*PaymentHistory) SetStatus ¶
func (o *PaymentHistory) SetStatus(v string)
SetStatus sets field value
func (PaymentHistory) ToMap ¶
func (o PaymentHistory) ToMap() (map[string]interface{}, error)
func (*PaymentHistory) UnmarshalJSON ¶
func (o *PaymentHistory) UnmarshalJSON(data []byte) (err error)
type PaymentMethod ¶
type PaymentMethod struct {
Id int64 `json:"id"`
CardHolder string `json:"card_holder"`
CardBrand string `json:"card_brand"`
CardExpirationMonth int64 `json:"card_expiration_month"`
CardExpirationYear int64 `json:"card_expiration_year"`
CardLast4Digits string `json:"card_last_4_digits"`
CardAddressZip string `json:"card_address_zip"`
CardCountry string `json:"card_country"`
CardAddressLine1 *string `json:"card_address_line1,omitempty"`
CardAddressLine2 *string `json:"card_address_line2,omitempty"`
CardId string `json:"card_id"`
IsDefault *bool `json:"is_default,omitempty"`
CreatedAt NullableTime `json:"created_at"`
}
PaymentMethod struct for PaymentMethod
func NewPaymentMethod ¶
func NewPaymentMethod(id int64, cardHolder string, cardBrand string, cardExpirationMonth int64, cardExpirationYear int64, cardLast4Digits string, cardAddressZip string, cardCountry string, cardId string, createdAt NullableTime) *PaymentMethod
NewPaymentMethod instantiates a new PaymentMethod 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 NewPaymentMethodWithDefaults ¶
func NewPaymentMethodWithDefaults() *PaymentMethod
NewPaymentMethodWithDefaults instantiates a new PaymentMethod 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 (*PaymentMethod) GetCardAddressLine1 ¶
func (o *PaymentMethod) GetCardAddressLine1() string
GetCardAddressLine1 returns the CardAddressLine1 field value if set, zero value otherwise.
func (*PaymentMethod) GetCardAddressLine1Ok ¶
func (o *PaymentMethod) GetCardAddressLine1Ok() (*string, bool)
GetCardAddressLine1Ok returns a tuple with the CardAddressLine1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardAddressLine2 ¶
func (o *PaymentMethod) GetCardAddressLine2() string
GetCardAddressLine2 returns the CardAddressLine2 field value if set, zero value otherwise.
func (*PaymentMethod) GetCardAddressLine2Ok ¶
func (o *PaymentMethod) GetCardAddressLine2Ok() (*string, bool)
GetCardAddressLine2Ok returns a tuple with the CardAddressLine2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardAddressZip ¶
func (o *PaymentMethod) GetCardAddressZip() string
GetCardAddressZip returns the CardAddressZip field value
func (*PaymentMethod) GetCardAddressZipOk ¶
func (o *PaymentMethod) GetCardAddressZipOk() (*string, bool)
GetCardAddressZipOk returns a tuple with the CardAddressZip field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardBrand ¶
func (o *PaymentMethod) GetCardBrand() string
GetCardBrand returns the CardBrand field value
func (*PaymentMethod) GetCardBrandOk ¶
func (o *PaymentMethod) GetCardBrandOk() (*string, bool)
GetCardBrandOk returns a tuple with the CardBrand field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardCountry ¶
func (o *PaymentMethod) GetCardCountry() string
GetCardCountry returns the CardCountry field value
func (*PaymentMethod) GetCardCountryOk ¶
func (o *PaymentMethod) GetCardCountryOk() (*string, bool)
GetCardCountryOk returns a tuple with the CardCountry field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardExpirationMonth ¶
func (o *PaymentMethod) GetCardExpirationMonth() int64
GetCardExpirationMonth returns the CardExpirationMonth field value
func (*PaymentMethod) GetCardExpirationMonthOk ¶
func (o *PaymentMethod) GetCardExpirationMonthOk() (*int64, bool)
GetCardExpirationMonthOk returns a tuple with the CardExpirationMonth field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardExpirationYear ¶
func (o *PaymentMethod) GetCardExpirationYear() int64
GetCardExpirationYear returns the CardExpirationYear field value
func (*PaymentMethod) GetCardExpirationYearOk ¶
func (o *PaymentMethod) GetCardExpirationYearOk() (*int64, bool)
GetCardExpirationYearOk returns a tuple with the CardExpirationYear field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardHolder ¶
func (o *PaymentMethod) GetCardHolder() string
GetCardHolder returns the CardHolder field value
func (*PaymentMethod) GetCardHolderOk ¶
func (o *PaymentMethod) GetCardHolderOk() (*string, bool)
GetCardHolderOk returns a tuple with the CardHolder field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardId ¶
func (o *PaymentMethod) GetCardId() string
GetCardId returns the CardId field value
func (*PaymentMethod) GetCardIdOk ¶
func (o *PaymentMethod) GetCardIdOk() (*string, bool)
GetCardIdOk returns a tuple with the CardId field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCardLast4Digits ¶
func (o *PaymentMethod) GetCardLast4Digits() string
GetCardLast4Digits returns the CardLast4Digits field value
func (*PaymentMethod) GetCardLast4DigitsOk ¶
func (o *PaymentMethod) GetCardLast4DigitsOk() (*string, bool)
GetCardLast4DigitsOk returns a tuple with the CardLast4Digits field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetCreatedAt ¶
func (o *PaymentMethod) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*PaymentMethod) GetCreatedAtOk ¶
func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentMethod) GetId ¶
func (o *PaymentMethod) GetId() int64
GetId returns the Id field value
func (*PaymentMethod) GetIdOk ¶
func (o *PaymentMethod) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetIsDefault ¶
func (o *PaymentMethod) GetIsDefault() bool
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*PaymentMethod) GetIsDefaultOk ¶
func (o *PaymentMethod) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethod) HasCardAddressLine1 ¶
func (o *PaymentMethod) HasCardAddressLine1() bool
HasCardAddressLine1 returns a boolean if a field has been set.
func (*PaymentMethod) HasCardAddressLine2 ¶
func (o *PaymentMethod) HasCardAddressLine2() bool
HasCardAddressLine2 returns a boolean if a field has been set.
func (*PaymentMethod) HasIsDefault ¶
func (o *PaymentMethod) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (PaymentMethod) MarshalJSON ¶
func (o PaymentMethod) MarshalJSON() ([]byte, error)
func (*PaymentMethod) SetCardAddressLine1 ¶
func (o *PaymentMethod) SetCardAddressLine1(v string)
SetCardAddressLine1 gets a reference to the given string and assigns it to the CardAddressLine1 field.
func (*PaymentMethod) SetCardAddressLine2 ¶
func (o *PaymentMethod) SetCardAddressLine2(v string)
SetCardAddressLine2 gets a reference to the given string and assigns it to the CardAddressLine2 field.
func (*PaymentMethod) SetCardAddressZip ¶
func (o *PaymentMethod) SetCardAddressZip(v string)
SetCardAddressZip sets field value
func (*PaymentMethod) SetCardBrand ¶
func (o *PaymentMethod) SetCardBrand(v string)
SetCardBrand sets field value
func (*PaymentMethod) SetCardCountry ¶
func (o *PaymentMethod) SetCardCountry(v string)
SetCardCountry sets field value
func (*PaymentMethod) SetCardExpirationMonth ¶
func (o *PaymentMethod) SetCardExpirationMonth(v int64)
SetCardExpirationMonth sets field value
func (*PaymentMethod) SetCardExpirationYear ¶
func (o *PaymentMethod) SetCardExpirationYear(v int64)
SetCardExpirationYear sets field value
func (*PaymentMethod) SetCardHolder ¶
func (o *PaymentMethod) SetCardHolder(v string)
SetCardHolder sets field value
func (*PaymentMethod) SetCardId ¶
func (o *PaymentMethod) SetCardId(v string)
SetCardId sets field value
func (*PaymentMethod) SetCardLast4Digits ¶
func (o *PaymentMethod) SetCardLast4Digits(v string)
SetCardLast4Digits sets field value
func (*PaymentMethod) SetCreatedAt ¶
func (o *PaymentMethod) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*PaymentMethod) SetIsDefault ¶
func (o *PaymentMethod) SetIsDefault(v bool)
SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.
func (PaymentMethod) ToMap ¶
func (o PaymentMethod) ToMap() (map[string]interface{}, error)
func (*PaymentMethod) UnmarshalJSON ¶
func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)
type PaymentMethodRequest ¶
type PaymentMethodRequest struct {
CardHolder string `json:"card_holder"`
CardBrand string `json:"card_brand"`
CardExpirationMonth int64 `json:"card_expiration_month"`
CardExpirationYear int64 `json:"card_expiration_year"`
CardLast4Digits string `json:"card_last_4_digits"`
CardAddressZip string `json:"card_address_zip"`
CardCountry string `json:"card_country"`
CardAddressLine1 *string `json:"card_address_line1,omitempty"`
CardAddressLine2 *string `json:"card_address_line2,omitempty"`
StripeToken string `json:"stripe_token"`
CardId string `json:"card_id"`
IsDefault *bool `json:"is_default,omitempty"`
}
PaymentMethodRequest struct for PaymentMethodRequest
func NewPaymentMethodRequest ¶
func NewPaymentMethodRequest(cardHolder string, cardBrand string, cardExpirationMonth int64, cardExpirationYear int64, cardLast4Digits string, cardAddressZip string, cardCountry string, stripeToken string, cardId string) *PaymentMethodRequest
NewPaymentMethodRequest instantiates a new PaymentMethodRequest 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 NewPaymentMethodRequestWithDefaults ¶
func NewPaymentMethodRequestWithDefaults() *PaymentMethodRequest
NewPaymentMethodRequestWithDefaults instantiates a new PaymentMethodRequest 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 (*PaymentMethodRequest) GetCardAddressLine1 ¶
func (o *PaymentMethodRequest) GetCardAddressLine1() string
GetCardAddressLine1 returns the CardAddressLine1 field value if set, zero value otherwise.
func (*PaymentMethodRequest) GetCardAddressLine1Ok ¶
func (o *PaymentMethodRequest) GetCardAddressLine1Ok() (*string, bool)
GetCardAddressLine1Ok returns a tuple with the CardAddressLine1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardAddressLine2 ¶
func (o *PaymentMethodRequest) GetCardAddressLine2() string
GetCardAddressLine2 returns the CardAddressLine2 field value if set, zero value otherwise.
func (*PaymentMethodRequest) GetCardAddressLine2Ok ¶
func (o *PaymentMethodRequest) GetCardAddressLine2Ok() (*string, bool)
GetCardAddressLine2Ok returns a tuple with the CardAddressLine2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardAddressZip ¶
func (o *PaymentMethodRequest) GetCardAddressZip() string
GetCardAddressZip returns the CardAddressZip field value
func (*PaymentMethodRequest) GetCardAddressZipOk ¶
func (o *PaymentMethodRequest) GetCardAddressZipOk() (*string, bool)
GetCardAddressZipOk returns a tuple with the CardAddressZip field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardBrand ¶
func (o *PaymentMethodRequest) GetCardBrand() string
GetCardBrand returns the CardBrand field value
func (*PaymentMethodRequest) GetCardBrandOk ¶
func (o *PaymentMethodRequest) GetCardBrandOk() (*string, bool)
GetCardBrandOk returns a tuple with the CardBrand field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardCountry ¶
func (o *PaymentMethodRequest) GetCardCountry() string
GetCardCountry returns the CardCountry field value
func (*PaymentMethodRequest) GetCardCountryOk ¶
func (o *PaymentMethodRequest) GetCardCountryOk() (*string, bool)
GetCardCountryOk returns a tuple with the CardCountry field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardExpirationMonth ¶
func (o *PaymentMethodRequest) GetCardExpirationMonth() int64
GetCardExpirationMonth returns the CardExpirationMonth field value
func (*PaymentMethodRequest) GetCardExpirationMonthOk ¶
func (o *PaymentMethodRequest) GetCardExpirationMonthOk() (*int64, bool)
GetCardExpirationMonthOk returns a tuple with the CardExpirationMonth field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardExpirationYear ¶
func (o *PaymentMethodRequest) GetCardExpirationYear() int64
GetCardExpirationYear returns the CardExpirationYear field value
func (*PaymentMethodRequest) GetCardExpirationYearOk ¶
func (o *PaymentMethodRequest) GetCardExpirationYearOk() (*int64, bool)
GetCardExpirationYearOk returns a tuple with the CardExpirationYear field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardHolder ¶
func (o *PaymentMethodRequest) GetCardHolder() string
GetCardHolder returns the CardHolder field value
func (*PaymentMethodRequest) GetCardHolderOk ¶
func (o *PaymentMethodRequest) GetCardHolderOk() (*string, bool)
GetCardHolderOk returns a tuple with the CardHolder field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardId ¶
func (o *PaymentMethodRequest) GetCardId() string
GetCardId returns the CardId field value
func (*PaymentMethodRequest) GetCardIdOk ¶
func (o *PaymentMethodRequest) GetCardIdOk() (*string, bool)
GetCardIdOk returns a tuple with the CardId field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetCardLast4Digits ¶
func (o *PaymentMethodRequest) GetCardLast4Digits() string
GetCardLast4Digits returns the CardLast4Digits field value
func (*PaymentMethodRequest) GetCardLast4DigitsOk ¶
func (o *PaymentMethodRequest) GetCardLast4DigitsOk() (*string, bool)
GetCardLast4DigitsOk returns a tuple with the CardLast4Digits field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetIsDefault ¶
func (o *PaymentMethodRequest) GetIsDefault() bool
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*PaymentMethodRequest) GetIsDefaultOk ¶
func (o *PaymentMethodRequest) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodRequest) GetStripeToken ¶
func (o *PaymentMethodRequest) GetStripeToken() string
GetStripeToken returns the StripeToken field value
func (*PaymentMethodRequest) GetStripeTokenOk ¶
func (o *PaymentMethodRequest) GetStripeTokenOk() (*string, bool)
GetStripeTokenOk returns a tuple with the StripeToken field value and a boolean to check if the value has been set.
func (*PaymentMethodRequest) HasCardAddressLine1 ¶
func (o *PaymentMethodRequest) HasCardAddressLine1() bool
HasCardAddressLine1 returns a boolean if a field has been set.
func (*PaymentMethodRequest) HasCardAddressLine2 ¶
func (o *PaymentMethodRequest) HasCardAddressLine2() bool
HasCardAddressLine2 returns a boolean if a field has been set.
func (*PaymentMethodRequest) HasIsDefault ¶
func (o *PaymentMethodRequest) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (PaymentMethodRequest) MarshalJSON ¶
func (o PaymentMethodRequest) MarshalJSON() ([]byte, error)
func (*PaymentMethodRequest) SetCardAddressLine1 ¶
func (o *PaymentMethodRequest) SetCardAddressLine1(v string)
SetCardAddressLine1 gets a reference to the given string and assigns it to the CardAddressLine1 field.
func (*PaymentMethodRequest) SetCardAddressLine2 ¶
func (o *PaymentMethodRequest) SetCardAddressLine2(v string)
SetCardAddressLine2 gets a reference to the given string and assigns it to the CardAddressLine2 field.
func (*PaymentMethodRequest) SetCardAddressZip ¶
func (o *PaymentMethodRequest) SetCardAddressZip(v string)
SetCardAddressZip sets field value
func (*PaymentMethodRequest) SetCardBrand ¶
func (o *PaymentMethodRequest) SetCardBrand(v string)
SetCardBrand sets field value
func (*PaymentMethodRequest) SetCardCountry ¶
func (o *PaymentMethodRequest) SetCardCountry(v string)
SetCardCountry sets field value
func (*PaymentMethodRequest) SetCardExpirationMonth ¶
func (o *PaymentMethodRequest) SetCardExpirationMonth(v int64)
SetCardExpirationMonth sets field value
func (*PaymentMethodRequest) SetCardExpirationYear ¶
func (o *PaymentMethodRequest) SetCardExpirationYear(v int64)
SetCardExpirationYear sets field value
func (*PaymentMethodRequest) SetCardHolder ¶
func (o *PaymentMethodRequest) SetCardHolder(v string)
SetCardHolder sets field value
func (*PaymentMethodRequest) SetCardId ¶
func (o *PaymentMethodRequest) SetCardId(v string)
SetCardId sets field value
func (*PaymentMethodRequest) SetCardLast4Digits ¶
func (o *PaymentMethodRequest) SetCardLast4Digits(v string)
SetCardLast4Digits sets field value
func (*PaymentMethodRequest) SetIsDefault ¶
func (o *PaymentMethodRequest) SetIsDefault(v bool)
SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.
func (*PaymentMethodRequest) SetStripeToken ¶
func (o *PaymentMethodRequest) SetStripeToken(v string)
SetStripeToken sets field value
func (PaymentMethodRequest) ToMap ¶
func (o PaymentMethodRequest) ToMap() (map[string]interface{}, error)
func (*PaymentMethodRequest) UnmarshalJSON ¶
func (o *PaymentMethodRequest) UnmarshalJSON(data []byte) (err error)
type PaymentMethodResponse ¶
type PaymentMethodResponse struct {
State *string `json:"state,omitempty"`
Data PaymentMethod `json:"data"`
}
PaymentMethodResponse struct for PaymentMethodResponse
func NewPaymentMethodResponse ¶
func NewPaymentMethodResponse(data PaymentMethod) *PaymentMethodResponse
NewPaymentMethodResponse instantiates a new PaymentMethodResponse 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 NewPaymentMethodResponseWithDefaults ¶
func NewPaymentMethodResponseWithDefaults() *PaymentMethodResponse
NewPaymentMethodResponseWithDefaults instantiates a new PaymentMethodResponse 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 (*PaymentMethodResponse) GetData ¶
func (o *PaymentMethodResponse) GetData() PaymentMethod
GetData returns the Data field value
func (*PaymentMethodResponse) GetDataOk ¶
func (o *PaymentMethodResponse) GetDataOk() (*PaymentMethod, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*PaymentMethodResponse) GetState ¶
func (o *PaymentMethodResponse) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*PaymentMethodResponse) GetStateOk ¶
func (o *PaymentMethodResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodResponse) HasState ¶
func (o *PaymentMethodResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (PaymentMethodResponse) MarshalJSON ¶
func (o PaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*PaymentMethodResponse) SetData ¶
func (o *PaymentMethodResponse) SetData(v PaymentMethod)
SetData sets field value
func (*PaymentMethodResponse) SetState ¶
func (o *PaymentMethodResponse) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (PaymentMethodResponse) ToMap ¶
func (o PaymentMethodResponse) ToMap() (map[string]interface{}, error)
func (*PaymentMethodResponse) UnmarshalJSON ¶
func (o *PaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files
¶
- api_billing_payments.go
- client.go
- configuration.go
- model_credit.go
- model_credit_request.go
- model_credit_response.go
- model_delete_response.go
- model_jsonapi_error_object.go
- model_jsonapi_error_response.go
- model_jsonapi_error_source.go
- model_paginated_payment_history_list.go
- model_paginated_payment_method_response_list.go
- model_patched_partial_update_request.go
- model_payment_history.go
- model_payment_method.go
- model_payment_method_request.go
- model_payment_method_response.go
- response.go
- utils.go