billing_cycles

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for billing cycles API

func (*Client) GetAllBillingCycles

func (a *Client) GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllBillingCyclesOK, error)

GetAllBillingCycles get all billing cycles API

func (*Client) GetByProductVariantID

func (a *Client) GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetByProductVariantIDOK, error)

GetByProductVariantID get by product variant Id API

func (*Client) GetCspNameDictionary

func (a *Client) GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCspNameDictionaryOK, error)

GetCspNameDictionary get csp name dictionary API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllBillingCyclesOK, error)

	GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetByProductVariantIDOK, error)

	GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCspNameDictionaryOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new billing cycles API client.

type GetAllBillingCyclesOK

type GetAllBillingCyclesOK struct {
	Payload *models.APICollectionOfBillingCycle
}

GetAllBillingCyclesOK handles this case with default header values.

Success

func NewGetAllBillingCyclesOK

func NewGetAllBillingCyclesOK() *GetAllBillingCyclesOK

NewGetAllBillingCyclesOK creates a GetAllBillingCyclesOK with default headers values

func (*GetAllBillingCyclesOK) Error

func (o *GetAllBillingCyclesOK) Error() string

func (*GetAllBillingCyclesOK) GetPayload

type GetAllBillingCyclesParams

type GetAllBillingCyclesParams struct {

	/*IncludeUnknown*/
	IncludeUnknown *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllBillingCyclesParams contains all the parameters to send to the API endpoint for the get all billing cycles operation typically these are written to a http.Request

func NewGetAllBillingCyclesParams

func NewGetAllBillingCyclesParams() *GetAllBillingCyclesParams

NewGetAllBillingCyclesParams creates a new GetAllBillingCyclesParams object with the default values initialized.

func NewGetAllBillingCyclesParamsWithContext

func NewGetAllBillingCyclesParamsWithContext(ctx context.Context) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithContext creates a new GetAllBillingCyclesParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllBillingCyclesParamsWithHTTPClient

func NewGetAllBillingCyclesParamsWithHTTPClient(client *http.Client) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithHTTPClient creates a new GetAllBillingCyclesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllBillingCyclesParamsWithTimeout

func NewGetAllBillingCyclesParamsWithTimeout(timeout time.Duration) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithTimeout creates a new GetAllBillingCyclesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllBillingCyclesParams) SetContext

func (o *GetAllBillingCyclesParams) SetContext(ctx context.Context)

SetContext adds the context to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetHTTPClient

func (o *GetAllBillingCyclesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetIncludeUnknown

func (o *GetAllBillingCyclesParams) SetIncludeUnknown(includeUnknown *bool)

SetIncludeUnknown adds the includeUnknown to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetTimeout

func (o *GetAllBillingCyclesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithContext

WithContext adds the context to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithHTTPClient

func (o *GetAllBillingCyclesParams) WithHTTPClient(client *http.Client) *GetAllBillingCyclesParams

WithHTTPClient adds the HTTPClient to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithIncludeUnknown

func (o *GetAllBillingCyclesParams) WithIncludeUnknown(includeUnknown *bool) *GetAllBillingCyclesParams

WithIncludeUnknown adds the includeUnknown to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithTimeout

WithTimeout adds the timeout to the get all billing cycles params

func (*GetAllBillingCyclesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllBillingCyclesReader

type GetAllBillingCyclesReader struct {
	// contains filtered or unexported fields
}

GetAllBillingCyclesReader is a Reader for the GetAllBillingCycles structure.

func (*GetAllBillingCyclesReader) ReadResponse

func (o *GetAllBillingCyclesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetByProductVariantIDOK

type GetByProductVariantIDOK struct {
	Payload *models.APICollectionOfBillingCycle
}

GetByProductVariantIDOK handles this case with default header values.

Success

func NewGetByProductVariantIDOK

func NewGetByProductVariantIDOK() *GetByProductVariantIDOK

NewGetByProductVariantIDOK creates a GetByProductVariantIDOK with default headers values

func (*GetByProductVariantIDOK) Error

func (o *GetByProductVariantIDOK) Error() string

func (*GetByProductVariantIDOK) GetPayload

type GetByProductVariantIDParams

type GetByProductVariantIDParams struct {

	/*ProductVariantID*/
	ProductVariantID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetByProductVariantIDParams contains all the parameters to send to the API endpoint for the get by product variant Id operation typically these are written to a http.Request

func NewGetByProductVariantIDParams

func NewGetByProductVariantIDParams() *GetByProductVariantIDParams

NewGetByProductVariantIDParams creates a new GetByProductVariantIDParams object with the default values initialized.

func NewGetByProductVariantIDParamsWithContext

func NewGetByProductVariantIDParamsWithContext(ctx context.Context) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithContext creates a new GetByProductVariantIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetByProductVariantIDParamsWithHTTPClient

func NewGetByProductVariantIDParamsWithHTTPClient(client *http.Client) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithHTTPClient creates a new GetByProductVariantIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetByProductVariantIDParamsWithTimeout

func NewGetByProductVariantIDParamsWithTimeout(timeout time.Duration) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithTimeout creates a new GetByProductVariantIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetByProductVariantIDParams) SetContext

func (o *GetByProductVariantIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get by product variant Id params

func (*GetByProductVariantIDParams) SetHTTPClient

func (o *GetByProductVariantIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get by product variant Id params

func (*GetByProductVariantIDParams) SetProductVariantID

func (o *GetByProductVariantIDParams) SetProductVariantID(productVariantID int32)

SetProductVariantID adds the productVariantId to the get by product variant Id params

func (*GetByProductVariantIDParams) SetTimeout

func (o *GetByProductVariantIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get by product variant Id params

func (*GetByProductVariantIDParams) WithContext

WithContext adds the context to the get by product variant Id params

func (*GetByProductVariantIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get by product variant Id params

func (*GetByProductVariantIDParams) WithProductVariantID

func (o *GetByProductVariantIDParams) WithProductVariantID(productVariantID int32) *GetByProductVariantIDParams

WithProductVariantID adds the productVariantID to the get by product variant Id params

func (*GetByProductVariantIDParams) WithTimeout

WithTimeout adds the timeout to the get by product variant Id params

func (*GetByProductVariantIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetByProductVariantIDReader

type GetByProductVariantIDReader struct {
	// contains filtered or unexported fields
}

GetByProductVariantIDReader is a Reader for the GetByProductVariantID structure.

func (*GetByProductVariantIDReader) ReadResponse

func (o *GetByProductVariantIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCspNameDictionaryOK

type GetCspNameDictionaryOK struct {
	Payload map[string]string
}

GetCspNameDictionaryOK handles this case with default header values.

Success

func NewGetCspNameDictionaryOK

func NewGetCspNameDictionaryOK() *GetCspNameDictionaryOK

NewGetCspNameDictionaryOK creates a GetCspNameDictionaryOK with default headers values

func (*GetCspNameDictionaryOK) Error

func (o *GetCspNameDictionaryOK) Error() string

func (*GetCspNameDictionaryOK) GetPayload

func (o *GetCspNameDictionaryOK) GetPayload() map[string]string

type GetCspNameDictionaryParams

type GetCspNameDictionaryParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCspNameDictionaryParams contains all the parameters to send to the API endpoint for the get csp name dictionary operation typically these are written to a http.Request

func NewGetCspNameDictionaryParams

func NewGetCspNameDictionaryParams() *GetCspNameDictionaryParams

NewGetCspNameDictionaryParams creates a new GetCspNameDictionaryParams object with the default values initialized.

func NewGetCspNameDictionaryParamsWithContext

func NewGetCspNameDictionaryParamsWithContext(ctx context.Context) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithContext creates a new GetCspNameDictionaryParams object with the default values initialized, and the ability to set a context for a request

func NewGetCspNameDictionaryParamsWithHTTPClient

func NewGetCspNameDictionaryParamsWithHTTPClient(client *http.Client) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithHTTPClient creates a new GetCspNameDictionaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCspNameDictionaryParamsWithTimeout

func NewGetCspNameDictionaryParamsWithTimeout(timeout time.Duration) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithTimeout creates a new GetCspNameDictionaryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCspNameDictionaryParams) SetContext

func (o *GetCspNameDictionaryParams) SetContext(ctx context.Context)

SetContext adds the context to the get csp name dictionary params

func (*GetCspNameDictionaryParams) SetHTTPClient

func (o *GetCspNameDictionaryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get csp name dictionary params

func (*GetCspNameDictionaryParams) SetTimeout

func (o *GetCspNameDictionaryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithContext

WithContext adds the context to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithTimeout

WithTimeout adds the timeout to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCspNameDictionaryReader

type GetCspNameDictionaryReader struct {
	// contains filtered or unexported fields
}

GetCspNameDictionaryReader is a Reader for the GetCspNameDictionary structure.

func (*GetCspNameDictionaryReader) ReadResponse

func (o *GetCspNameDictionaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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