errors

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package advancedbilling

This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentAllocationError

func NewComponentAllocationError(apiError https.ApiError) error

NewComponentAllocationError is a constructor for ComponentAllocationError. It creates and returns a pointer to a new ComponentAllocationError instance with the given statusCode and body.

func NewComponentPricePointError

func NewComponentPricePointError(apiError https.ApiError) error

NewComponentPricePointError is a constructor for ComponentPricePointError. It creates and returns a pointer to a new ComponentPricePointError instance with the given statusCode and body.

func NewCustomerErrorResponse

func NewCustomerErrorResponse(apiError https.ApiError) error

NewCustomerErrorResponse is a constructor for CustomerErrorResponse. It creates and returns a pointer to a new CustomerErrorResponse instance with the given statusCode and body.

func NewErrorArrayMapResponse

func NewErrorArrayMapResponse(apiError https.ApiError) error

NewErrorArrayMapResponse is a constructor for ErrorArrayMapResponse. It creates and returns a pointer to a new ErrorArrayMapResponse instance with the given statusCode and body.

func NewErrorListResponse

func NewErrorListResponse(apiError https.ApiError) error

NewErrorListResponse is a constructor for ErrorListResponse. It creates and returns a pointer to a new ErrorListResponse instance with the given statusCode and body.

func NewErrorStringMapResponse

func NewErrorStringMapResponse(apiError https.ApiError) error

NewErrorStringMapResponse is a constructor for ErrorStringMapResponse. It creates and returns a pointer to a new ErrorStringMapResponse instance with the given statusCode and body.

func NewEventBasedBillingListSegmentsErrors

func NewEventBasedBillingListSegmentsErrors(apiError https.ApiError) error

NewEventBasedBillingListSegmentsErrors is a constructor for EventBasedBillingListSegmentsErrors. It creates and returns a pointer to a new EventBasedBillingListSegmentsErrors instance with the given statusCode and body.

func NewEventBasedBillingSegment

func NewEventBasedBillingSegment(apiError https.ApiError) error

NewEventBasedBillingSegment is a constructor for EventBasedBillingSegment. It creates and returns a pointer to a new EventBasedBillingSegment instance with the given statusCode and body.

func NewEventBasedBillingSegmentErrors

func NewEventBasedBillingSegmentErrors(apiError https.ApiError) error

NewEventBasedBillingSegmentErrors is a constructor for EventBasedBillingSegmentErrors. It creates and returns a pointer to a new EventBasedBillingSegmentErrors instance with the given statusCode and body.

func NewProductPricePointErrorResponse

func NewProductPricePointErrorResponse(apiError https.ApiError) error

NewProductPricePointErrorResponse is a constructor for ProductPricePointErrorResponse. It creates and returns a pointer to a new ProductPricePointErrorResponse instance with the given statusCode and body.

func NewProformaBadRequestErrorResponse

func NewProformaBadRequestErrorResponse(apiError https.ApiError) error

NewProformaBadRequestErrorResponse is a constructor for ProformaBadRequestErrorResponse. It creates and returns a pointer to a new ProformaBadRequestErrorResponse instance with the given statusCode and body.

func NewRefundPrepaymentBaseErrorsResponse

func NewRefundPrepaymentBaseErrorsResponse(apiError https.ApiError) error

NewRefundPrepaymentBaseErrorsResponse is a constructor for RefundPrepaymentBaseErrorsResponse. It creates and returns a pointer to a new RefundPrepaymentBaseErrorsResponse instance with the given statusCode and body.

func NewSingleErrorResponse

func NewSingleErrorResponse(apiError https.ApiError) error

NewSingleErrorResponse is a constructor for SingleErrorResponse. It creates and returns a pointer to a new SingleErrorResponse instance with the given statusCode and body.

func NewSingleStringErrorResponse

func NewSingleStringErrorResponse(apiError https.ApiError) error

NewSingleStringErrorResponse is a constructor for SingleStringErrorResponse. It creates and returns a pointer to a new SingleStringErrorResponse instance with the given statusCode and body.

func NewSubscriptionAddCouponError

func NewSubscriptionAddCouponError(apiError https.ApiError) error

NewSubscriptionAddCouponError is a constructor for SubscriptionAddCouponError. It creates and returns a pointer to a new SubscriptionAddCouponError instance with the given statusCode and body.

func NewSubscriptionComponentAllocationError

func NewSubscriptionComponentAllocationError(apiError https.ApiError) error

NewSubscriptionComponentAllocationError is a constructor for SubscriptionComponentAllocationError. It creates and returns a pointer to a new SubscriptionComponentAllocationError instance with the given statusCode and body.

func NewSubscriptionGroupCreateErrorResponse added in v0.1.0

func NewSubscriptionGroupCreateErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupCreateErrorResponse is a constructor for SubscriptionGroupCreateErrorResponse. It creates and returns a pointer to a new SubscriptionGroupCreateErrorResponse instance with the given statusCode and body.

func NewSubscriptionGroupSignupErrorResponse

func NewSubscriptionGroupSignupErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupSignupErrorResponse is a constructor for SubscriptionGroupSignupErrorResponse. It creates and returns a pointer to a new SubscriptionGroupSignupErrorResponse instance with the given statusCode and body.

func NewSubscriptionGroupUpdateErrorResponse

func NewSubscriptionGroupUpdateErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupUpdateErrorResponse is a constructor for SubscriptionGroupUpdateErrorResponse. It creates and returns a pointer to a new SubscriptionGroupUpdateErrorResponse instance with the given statusCode and body.

func NewSubscriptionRemoveCouponErrors

func NewSubscriptionRemoveCouponErrors(apiError https.ApiError) error

NewSubscriptionRemoveCouponErrors is a constructor for SubscriptionRemoveCouponErrors. It creates and returns a pointer to a new SubscriptionRemoveCouponErrors instance with the given statusCode and body.

func NewSubscriptionsMrrErrorResponse

func NewSubscriptionsMrrErrorResponse(apiError https.ApiError) error

NewSubscriptionsMrrErrorResponse is a constructor for SubscriptionsMrrErrorResponse. It creates and returns a pointer to a new SubscriptionsMrrErrorResponse instance with the given statusCode and body.

func NewTooManyManagementLinkRequestsError

func NewTooManyManagementLinkRequestsError(apiError https.ApiError) error

NewTooManyManagementLinkRequestsError is a constructor for TooManyManagementLinkRequestsError. It creates and returns a pointer to a new TooManyManagementLinkRequestsError instance with the given statusCode and body.

Types

type ComponentAllocationError

type ComponentAllocationError struct {
	https.ApiError
	Errors []models.ComponentAllocationErrorItem `json:"errors,omitempty"`
}

ComponentAllocationError is a custom error.

func (*ComponentAllocationError) Error

func (c *ComponentAllocationError) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ComponentAllocationError.

type ComponentPricePointError

type ComponentPricePointError struct {
	https.ApiError
	Errors []models.ComponentPricePointErrorItem `json:"errors,omitempty"`
}

ComponentPricePointError is a custom error.

func (*ComponentPricePointError) Error

func (c *ComponentPricePointError) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ComponentPricePointError.

type CustomerErrorResponse

type CustomerErrorResponse struct {
	https.ApiError
	Errors *models.CustomerErrorResponseErrors `json:"errors,omitempty"`
}

CustomerErrorResponse is a custom error.

func (*CustomerErrorResponse) Error

func (c *CustomerErrorResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for CustomerErrorResponse.

type ErrorArrayMapResponse

type ErrorArrayMapResponse struct {
	https.ApiError
	Errors map[string]interface{} `json:"errors,omitempty"`
}

ErrorArrayMapResponse is a custom error.

func (*ErrorArrayMapResponse) Error

func (e *ErrorArrayMapResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorArrayMapResponse.

type ErrorListResponse

type ErrorListResponse struct {
	https.ApiError
	Errors []string `json:"errors"`
}

ErrorListResponse is a custom error. Error which contains list of messages.

func (*ErrorListResponse) Error

func (e *ErrorListResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorListResponse.

type ErrorStringMapResponse

type ErrorStringMapResponse struct {
	https.ApiError
	Errors map[string]string `json:"errors,omitempty"`
}

ErrorStringMapResponse is a custom error.

func (*ErrorStringMapResponse) Error

func (e *ErrorStringMapResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorStringMapResponse.

type EventBasedBillingListSegmentsErrors

type EventBasedBillingListSegmentsErrors struct {
	https.ApiError
	Errors *models.Errors `json:"errors,omitempty"`
}

EventBasedBillingListSegmentsErrors is a custom error.

func (*EventBasedBillingListSegmentsErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingListSegmentsErrors.

type EventBasedBillingSegment

type EventBasedBillingSegment struct {
	https.ApiError
	Errors models.EventBasedBillingSegmentError `json:"errors"`
}

EventBasedBillingSegment is a custom error.

func (*EventBasedBillingSegment) Error

func (e *EventBasedBillingSegment) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingSegment.

type EventBasedBillingSegmentErrors

type EventBasedBillingSegmentErrors struct {
	https.ApiError
	Errors map[string]interface{} `json:"errors,omitempty"`
}

EventBasedBillingSegmentErrors is a custom error.

func (*EventBasedBillingSegmentErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingSegmentErrors.

type ProductPricePointErrorResponse

type ProductPricePointErrorResponse struct {
	https.ApiError
	Errors models.ProductPricePointErrors `json:"errors"`
}

ProductPricePointErrorResponse is a custom error.

func (*ProductPricePointErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for ProductPricePointErrorResponse.

type ProformaBadRequestErrorResponse

type ProformaBadRequestErrorResponse struct {
	https.ApiError
	Errors *models.ProformaError `json:"errors,omitempty"`
}

ProformaBadRequestErrorResponse is a custom error.

func (*ProformaBadRequestErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for ProformaBadRequestErrorResponse.

type RefundPrepaymentBaseErrorsResponse

type RefundPrepaymentBaseErrorsResponse struct {
	https.ApiError
	Errors *models.RefundPrepaymentBaseRefundError `json:"errors,omitempty"`
}

RefundPrepaymentBaseErrorsResponse is a custom error. Errors returned on creating a refund prepayment when bad request

func (*RefundPrepaymentBaseErrorsResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for RefundPrepaymentBaseErrorsResponse.

type SingleErrorResponse

type SingleErrorResponse struct {
	https.ApiError
	MError string `json:"error"`
}

SingleErrorResponse is a custom error.

func (*SingleErrorResponse) Error

func (s *SingleErrorResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for SingleErrorResponse.

type SingleStringErrorResponse

type SingleStringErrorResponse struct {
	https.ApiError
	Errors *string `json:"errors,omitempty"`
}

SingleStringErrorResponse is a custom error.

func (*SingleStringErrorResponse) Error

func (s *SingleStringErrorResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for SingleStringErrorResponse.

type SubscriptionAddCouponError

type SubscriptionAddCouponError struct {
	https.ApiError
	Codes        []string `json:"codes,omitempty"`
	CouponCode   []string `json:"coupon_code,omitempty"`
	CouponCodes  []string `json:"coupon_codes,omitempty"`
	Subscription []string `json:"subscription,omitempty"`
}

SubscriptionAddCouponError is a custom error.

func (*SubscriptionAddCouponError) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionAddCouponError.

type SubscriptionComponentAllocationError

type SubscriptionComponentAllocationError struct {
	https.ApiError
	Errors []models.SubscriptionComponentAllocationErrorItem `json:"errors,omitempty"`
}

SubscriptionComponentAllocationError is a custom error.

func (*SubscriptionComponentAllocationError) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionComponentAllocationError.

type SubscriptionGroupCreateErrorResponse added in v0.1.0

type SubscriptionGroupCreateErrorResponse struct {
	https.ApiError
	Errors models.SubscriptionGroupCreateErrorResponseErrors `json:"errors"`
}

SubscriptionGroupCreateErrorResponse is a custom error.

func (*SubscriptionGroupCreateErrorResponse) Error added in v0.1.0

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupCreateErrorResponse.

type SubscriptionGroupSignupErrorResponse

type SubscriptionGroupSignupErrorResponse struct {
	https.ApiError
	Errors models.SubscriptionGroupSignupError `json:"errors"`
}

SubscriptionGroupSignupErrorResponse is a custom error.

func (*SubscriptionGroupSignupErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupSignupErrorResponse.

type SubscriptionGroupUpdateErrorResponse

type SubscriptionGroupUpdateErrorResponse struct {
	https.ApiError
	Errors *models.SubscriptionGroupUpdateError `json:"errors,omitempty"`
}

SubscriptionGroupUpdateErrorResponse is a custom error.

func (*SubscriptionGroupUpdateErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupUpdateErrorResponse.

type SubscriptionRemoveCouponErrors

type SubscriptionRemoveCouponErrors struct {
	https.ApiError
	Subscription []string `json:"subscription"`
}

SubscriptionRemoveCouponErrors is a custom error.

func (*SubscriptionRemoveCouponErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionRemoveCouponErrors.

type SubscriptionsMrrErrorResponse

type SubscriptionsMrrErrorResponse struct {
	https.ApiError
	Errors models.AttributeError `json:"errors"`
}

SubscriptionsMrrErrorResponse is a custom error.

func (*SubscriptionsMrrErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionsMrrErrorResponse.

type TooManyManagementLinkRequestsError

type TooManyManagementLinkRequestsError struct {
	https.ApiError
	Errors models.TooManyManagementLinkRequests `json:"errors"`
}

TooManyManagementLinkRequestsError is a custom error.

func (*TooManyManagementLinkRequestsError) Error

Error implements the Error method for the error interface. It returns a formatted error message for TooManyManagementLinkRequestsError.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL