billing_account_service

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingAccountServiceCreateDefault

type BillingAccountServiceCreateDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceCreateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceCreateDefault

func NewBillingAccountServiceCreateDefault(code int) *BillingAccountServiceCreateDefault

NewBillingAccountServiceCreateDefault creates a BillingAccountServiceCreateDefault with default headers values

func (*BillingAccountServiceCreateDefault) Code

Code gets the status code for the billing account service create default response

func (*BillingAccountServiceCreateDefault) Error

func (*BillingAccountServiceCreateDefault) GetPayload

func (*BillingAccountServiceCreateDefault) IsClientError

func (o *BillingAccountServiceCreateDefault) IsClientError() bool

IsClientError returns true when this billing account service create default response has a 4xx status code

func (*BillingAccountServiceCreateDefault) IsCode

IsCode returns true when this billing account service create default response a status code equal to that given

func (*BillingAccountServiceCreateDefault) IsRedirect

func (o *BillingAccountServiceCreateDefault) IsRedirect() bool

IsRedirect returns true when this billing account service create default response has a 3xx status code

func (*BillingAccountServiceCreateDefault) IsServerError

func (o *BillingAccountServiceCreateDefault) IsServerError() bool

IsServerError returns true when this billing account service create default response has a 5xx status code

func (*BillingAccountServiceCreateDefault) IsSuccess

IsSuccess returns true when this billing account service create default response has a 2xx status code

func (*BillingAccountServiceCreateDefault) String

type BillingAccountServiceCreateOK

type BillingAccountServiceCreateOK struct {
	Payload *models.Billing20201105CreateBillingAccountResponse
}

BillingAccountServiceCreateOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceCreateOK

func NewBillingAccountServiceCreateOK() *BillingAccountServiceCreateOK

NewBillingAccountServiceCreateOK creates a BillingAccountServiceCreateOK with default headers values

func (*BillingAccountServiceCreateOK) Code added in v0.97.0

Code gets the status code for the billing account service create o k response

func (*BillingAccountServiceCreateOK) Error

func (*BillingAccountServiceCreateOK) GetPayload

func (*BillingAccountServiceCreateOK) IsClientError

func (o *BillingAccountServiceCreateOK) IsClientError() bool

IsClientError returns true when this billing account service create o k response has a 4xx status code

func (*BillingAccountServiceCreateOK) IsCode

func (o *BillingAccountServiceCreateOK) IsCode(code int) bool

IsCode returns true when this billing account service create o k response a status code equal to that given

func (*BillingAccountServiceCreateOK) IsRedirect

func (o *BillingAccountServiceCreateOK) IsRedirect() bool

IsRedirect returns true when this billing account service create o k response has a 3xx status code

func (*BillingAccountServiceCreateOK) IsServerError

func (o *BillingAccountServiceCreateOK) IsServerError() bool

IsServerError returns true when this billing account service create o k response has a 5xx status code

func (*BillingAccountServiceCreateOK) IsSuccess

func (o *BillingAccountServiceCreateOK) IsSuccess() bool

IsSuccess returns true when this billing account service create o k response has a 2xx status code

func (*BillingAccountServiceCreateOK) String

type BillingAccountServiceCreateParams

type BillingAccountServiceCreateParams struct {

	// Body.
	Body *models.BillingAccountServiceCreateBody

	/* OrganizationID.

	     organization_id is the ID of the organization to which the Billing Account
	belongs.
	*/
	OrganizationID string

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

BillingAccountServiceCreateParams contains all the parameters to send to the API endpoint

for the billing account service create operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceCreateParams

func NewBillingAccountServiceCreateParams() *BillingAccountServiceCreateParams

NewBillingAccountServiceCreateParams creates a new BillingAccountServiceCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceCreateParamsWithContext

func NewBillingAccountServiceCreateParamsWithContext(ctx context.Context) *BillingAccountServiceCreateParams

NewBillingAccountServiceCreateParamsWithContext creates a new BillingAccountServiceCreateParams object with the ability to set a context for a request.

func NewBillingAccountServiceCreateParamsWithHTTPClient

func NewBillingAccountServiceCreateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateParams

NewBillingAccountServiceCreateParamsWithHTTPClient creates a new BillingAccountServiceCreateParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceCreateParamsWithTimeout

func NewBillingAccountServiceCreateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateParams

NewBillingAccountServiceCreateParamsWithTimeout creates a new BillingAccountServiceCreateParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceCreateParams) SetBody

SetBody adds the body to the billing account service create params

func (*BillingAccountServiceCreateParams) SetContext

SetContext adds the context to the billing account service create params

func (*BillingAccountServiceCreateParams) SetDefaults

func (o *BillingAccountServiceCreateParams) SetDefaults()

SetDefaults hydrates default values in the billing account service create params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the billing account service create params

func (*BillingAccountServiceCreateParams) SetOrganizationID

func (o *BillingAccountServiceCreateParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service create params

func (*BillingAccountServiceCreateParams) SetTimeout

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

SetTimeout adds the timeout to the billing account service create params

func (*BillingAccountServiceCreateParams) WithBody

WithBody adds the body to the billing account service create params

func (*BillingAccountServiceCreateParams) WithContext

WithContext adds the context to the billing account service create params

func (*BillingAccountServiceCreateParams) WithDefaults

WithDefaults hydrates default values in the billing account service create params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service create params

func (*BillingAccountServiceCreateParams) WithOrganizationID

func (o *BillingAccountServiceCreateParams) WithOrganizationID(organizationID string) *BillingAccountServiceCreateParams

WithOrganizationID adds the organizationID to the billing account service create params

func (*BillingAccountServiceCreateParams) WithTimeout

WithTimeout adds the timeout to the billing account service create params

func (*BillingAccountServiceCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceCreateReader

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

BillingAccountServiceCreateReader is a Reader for the BillingAccountServiceCreate structure.

func (*BillingAccountServiceCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceCreateSetupIntentDefault

type BillingAccountServiceCreateSetupIntentDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceCreateSetupIntentDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceCreateSetupIntentDefault

func NewBillingAccountServiceCreateSetupIntentDefault(code int) *BillingAccountServiceCreateSetupIntentDefault

NewBillingAccountServiceCreateSetupIntentDefault creates a BillingAccountServiceCreateSetupIntentDefault with default headers values

func (*BillingAccountServiceCreateSetupIntentDefault) Code

Code gets the status code for the billing account service create setup intent default response

func (*BillingAccountServiceCreateSetupIntentDefault) Error

func (*BillingAccountServiceCreateSetupIntentDefault) GetPayload

func (*BillingAccountServiceCreateSetupIntentDefault) IsClientError

IsClientError returns true when this billing account service create setup intent default response has a 4xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsCode

IsCode returns true when this billing account service create setup intent default response a status code equal to that given

func (*BillingAccountServiceCreateSetupIntentDefault) IsRedirect

IsRedirect returns true when this billing account service create setup intent default response has a 3xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsServerError

IsServerError returns true when this billing account service create setup intent default response has a 5xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsSuccess

IsSuccess returns true when this billing account service create setup intent default response has a 2xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) String

type BillingAccountServiceCreateSetupIntentOK

type BillingAccountServiceCreateSetupIntentOK struct {
	Payload *models.Billing20201105CreateSetupIntentResponse
}

BillingAccountServiceCreateSetupIntentOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceCreateSetupIntentOK

func NewBillingAccountServiceCreateSetupIntentOK() *BillingAccountServiceCreateSetupIntentOK

NewBillingAccountServiceCreateSetupIntentOK creates a BillingAccountServiceCreateSetupIntentOK with default headers values

func (*BillingAccountServiceCreateSetupIntentOK) Code added in v0.97.0

Code gets the status code for the billing account service create setup intent o k response

func (*BillingAccountServiceCreateSetupIntentOK) Error

func (*BillingAccountServiceCreateSetupIntentOK) GetPayload

func (*BillingAccountServiceCreateSetupIntentOK) IsClientError

IsClientError returns true when this billing account service create setup intent o k response has a 4xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsCode

IsCode returns true when this billing account service create setup intent o k response a status code equal to that given

func (*BillingAccountServiceCreateSetupIntentOK) IsRedirect

IsRedirect returns true when this billing account service create setup intent o k response has a 3xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsServerError

IsServerError returns true when this billing account service create setup intent o k response has a 5xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsSuccess

IsSuccess returns true when this billing account service create setup intent o k response has a 2xx status code

func (*BillingAccountServiceCreateSetupIntentOK) String

type BillingAccountServiceCreateSetupIntentParams

type BillingAccountServiceCreateSetupIntentParams struct {

	/* OrganizationID.

	     organization_id is the ID of the organization for which the client will
	collect payment details.
	*/
	OrganizationID string

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

BillingAccountServiceCreateSetupIntentParams contains all the parameters to send to the API endpoint

for the billing account service create setup intent operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceCreateSetupIntentParams

func NewBillingAccountServiceCreateSetupIntentParams() *BillingAccountServiceCreateSetupIntentParams

NewBillingAccountServiceCreateSetupIntentParams creates a new BillingAccountServiceCreateSetupIntentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceCreateSetupIntentParamsWithContext

func NewBillingAccountServiceCreateSetupIntentParamsWithContext(ctx context.Context) *BillingAccountServiceCreateSetupIntentParams

NewBillingAccountServiceCreateSetupIntentParamsWithContext creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a context for a request.

func NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient

func NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateSetupIntentParams

NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceCreateSetupIntentParamsWithTimeout

func NewBillingAccountServiceCreateSetupIntentParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateSetupIntentParams

NewBillingAccountServiceCreateSetupIntentParamsWithTimeout creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceCreateSetupIntentParams) SetContext

SetContext adds the context to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) SetDefaults

SetDefaults hydrates default values in the billing account service create setup intent params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceCreateSetupIntentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) SetOrganizationID

func (o *BillingAccountServiceCreateSetupIntentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) SetTimeout

SetTimeout adds the timeout to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithContext

WithContext adds the context to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithDefaults

WithDefaults hydrates default values in the billing account service create setup intent params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceCreateSetupIntentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithTimeout

WithTimeout adds the timeout to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceCreateSetupIntentReader

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

BillingAccountServiceCreateSetupIntentReader is a Reader for the BillingAccountServiceCreateSetupIntent structure.

func (*BillingAccountServiceCreateSetupIntentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceGetByProjectDefault

type BillingAccountServiceGetByProjectDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceGetByProjectDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceGetByProjectDefault

func NewBillingAccountServiceGetByProjectDefault(code int) *BillingAccountServiceGetByProjectDefault

NewBillingAccountServiceGetByProjectDefault creates a BillingAccountServiceGetByProjectDefault with default headers values

func (*BillingAccountServiceGetByProjectDefault) Code

Code gets the status code for the billing account service get by project default response

func (*BillingAccountServiceGetByProjectDefault) Error

func (*BillingAccountServiceGetByProjectDefault) GetPayload

func (*BillingAccountServiceGetByProjectDefault) IsClientError

IsClientError returns true when this billing account service get by project default response has a 4xx status code

func (*BillingAccountServiceGetByProjectDefault) IsCode

IsCode returns true when this billing account service get by project default response a status code equal to that given

func (*BillingAccountServiceGetByProjectDefault) IsRedirect

IsRedirect returns true when this billing account service get by project default response has a 3xx status code

func (*BillingAccountServiceGetByProjectDefault) IsServerError

IsServerError returns true when this billing account service get by project default response has a 5xx status code

func (*BillingAccountServiceGetByProjectDefault) IsSuccess

IsSuccess returns true when this billing account service get by project default response has a 2xx status code

func (*BillingAccountServiceGetByProjectDefault) String

type BillingAccountServiceGetByProjectOK

type BillingAccountServiceGetByProjectOK struct {
	Payload *models.Billing20201105GetBillingAccountResponse
}

BillingAccountServiceGetByProjectOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceGetByProjectOK

func NewBillingAccountServiceGetByProjectOK() *BillingAccountServiceGetByProjectOK

NewBillingAccountServiceGetByProjectOK creates a BillingAccountServiceGetByProjectOK with default headers values

func (*BillingAccountServiceGetByProjectOK) Code added in v0.97.0

Code gets the status code for the billing account service get by project o k response

func (*BillingAccountServiceGetByProjectOK) Error

func (*BillingAccountServiceGetByProjectOK) GetPayload

func (*BillingAccountServiceGetByProjectOK) IsClientError

func (o *BillingAccountServiceGetByProjectOK) IsClientError() bool

IsClientError returns true when this billing account service get by project o k response has a 4xx status code

func (*BillingAccountServiceGetByProjectOK) IsCode

IsCode returns true when this billing account service get by project o k response a status code equal to that given

func (*BillingAccountServiceGetByProjectOK) IsRedirect

func (o *BillingAccountServiceGetByProjectOK) IsRedirect() bool

IsRedirect returns true when this billing account service get by project o k response has a 3xx status code

func (*BillingAccountServiceGetByProjectOK) IsServerError

func (o *BillingAccountServiceGetByProjectOK) IsServerError() bool

IsServerError returns true when this billing account service get by project o k response has a 5xx status code

func (*BillingAccountServiceGetByProjectOK) IsSuccess

IsSuccess returns true when this billing account service get by project o k response has a 2xx status code

func (*BillingAccountServiceGetByProjectOK) String

type BillingAccountServiceGetByProjectParams

type BillingAccountServiceGetByProjectParams struct {

	/* OrganizationID.

	   organization_id is the ID of the organization to which the project belongs.
	*/
	OrganizationID string

	/* ProjectID.

	     project_id is the project ID for which the Billing Account is being
	retrieved.
	*/
	ProjectID string

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

BillingAccountServiceGetByProjectParams contains all the parameters to send to the API endpoint

for the billing account service get by project operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceGetByProjectParams

func NewBillingAccountServiceGetByProjectParams() *BillingAccountServiceGetByProjectParams

NewBillingAccountServiceGetByProjectParams creates a new BillingAccountServiceGetByProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceGetByProjectParamsWithContext

func NewBillingAccountServiceGetByProjectParamsWithContext(ctx context.Context) *BillingAccountServiceGetByProjectParams

NewBillingAccountServiceGetByProjectParamsWithContext creates a new BillingAccountServiceGetByProjectParams object with the ability to set a context for a request.

func NewBillingAccountServiceGetByProjectParamsWithHTTPClient

func NewBillingAccountServiceGetByProjectParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetByProjectParams

NewBillingAccountServiceGetByProjectParamsWithHTTPClient creates a new BillingAccountServiceGetByProjectParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceGetByProjectParamsWithTimeout

func NewBillingAccountServiceGetByProjectParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetByProjectParams

NewBillingAccountServiceGetByProjectParamsWithTimeout creates a new BillingAccountServiceGetByProjectParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceGetByProjectParams) SetContext

SetContext adds the context to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) SetDefaults

func (o *BillingAccountServiceGetByProjectParams) SetDefaults()

SetDefaults hydrates default values in the billing account service get by project params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetByProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) SetOrganizationID

func (o *BillingAccountServiceGetByProjectParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) SetProjectID

func (o *BillingAccountServiceGetByProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) SetTimeout

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

SetTimeout adds the timeout to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithContext

WithContext adds the context to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithDefaults

WithDefaults hydrates default values in the billing account service get by project params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetByProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithProjectID

WithProjectID adds the projectID to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithTimeout

WithTimeout adds the timeout to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceGetByProjectReader

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

BillingAccountServiceGetByProjectReader is a Reader for the BillingAccountServiceGetByProject structure.

func (*BillingAccountServiceGetByProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceGetDefault

type BillingAccountServiceGetDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceGetDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceGetDefault

func NewBillingAccountServiceGetDefault(code int) *BillingAccountServiceGetDefault

NewBillingAccountServiceGetDefault creates a BillingAccountServiceGetDefault with default headers values

func (*BillingAccountServiceGetDefault) Code

Code gets the status code for the billing account service get default response

func (*BillingAccountServiceGetDefault) Error

func (*BillingAccountServiceGetDefault) GetPayload

func (*BillingAccountServiceGetDefault) IsClientError

func (o *BillingAccountServiceGetDefault) IsClientError() bool

IsClientError returns true when this billing account service get default response has a 4xx status code

func (*BillingAccountServiceGetDefault) IsCode

func (o *BillingAccountServiceGetDefault) IsCode(code int) bool

IsCode returns true when this billing account service get default response a status code equal to that given

func (*BillingAccountServiceGetDefault) IsRedirect

func (o *BillingAccountServiceGetDefault) IsRedirect() bool

IsRedirect returns true when this billing account service get default response has a 3xx status code

func (*BillingAccountServiceGetDefault) IsServerError

func (o *BillingAccountServiceGetDefault) IsServerError() bool

IsServerError returns true when this billing account service get default response has a 5xx status code

func (*BillingAccountServiceGetDefault) IsSuccess

func (o *BillingAccountServiceGetDefault) IsSuccess() bool

IsSuccess returns true when this billing account service get default response has a 2xx status code

func (*BillingAccountServiceGetDefault) String

type BillingAccountServiceGetOK

type BillingAccountServiceGetOK struct {
	Payload *models.Billing20201105GetBillingAccountResponse
}

BillingAccountServiceGetOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceGetOK

func NewBillingAccountServiceGetOK() *BillingAccountServiceGetOK

NewBillingAccountServiceGetOK creates a BillingAccountServiceGetOK with default headers values

func (*BillingAccountServiceGetOK) Code added in v0.97.0

func (o *BillingAccountServiceGetOK) Code() int

Code gets the status code for the billing account service get o k response

func (*BillingAccountServiceGetOK) Error

func (*BillingAccountServiceGetOK) GetPayload

func (*BillingAccountServiceGetOK) IsClientError

func (o *BillingAccountServiceGetOK) IsClientError() bool

IsClientError returns true when this billing account service get o k response has a 4xx status code

func (*BillingAccountServiceGetOK) IsCode

func (o *BillingAccountServiceGetOK) IsCode(code int) bool

IsCode returns true when this billing account service get o k response a status code equal to that given

func (*BillingAccountServiceGetOK) IsRedirect

func (o *BillingAccountServiceGetOK) IsRedirect() bool

IsRedirect returns true when this billing account service get o k response has a 3xx status code

func (*BillingAccountServiceGetOK) IsServerError

func (o *BillingAccountServiceGetOK) IsServerError() bool

IsServerError returns true when this billing account service get o k response has a 5xx status code

func (*BillingAccountServiceGetOK) IsSuccess

func (o *BillingAccountServiceGetOK) IsSuccess() bool

IsSuccess returns true when this billing account service get o k response has a 2xx status code

func (*BillingAccountServiceGetOK) String

func (o *BillingAccountServiceGetOK) String() string

type BillingAccountServiceGetParams

type BillingAccountServiceGetParams struct {

	/* ID.

	     id is the user-settable ID that uniquely identifies the Billing Account
	within the organization.
	*/
	ID string

	/* OrganizationID.

	     organization_id is the ID of the organization to which the Billing Account
	belongs.
	*/
	OrganizationID string

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

BillingAccountServiceGetParams contains all the parameters to send to the API endpoint

for the billing account service get operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceGetParams

func NewBillingAccountServiceGetParams() *BillingAccountServiceGetParams

NewBillingAccountServiceGetParams creates a new BillingAccountServiceGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceGetParamsWithContext

func NewBillingAccountServiceGetParamsWithContext(ctx context.Context) *BillingAccountServiceGetParams

NewBillingAccountServiceGetParamsWithContext creates a new BillingAccountServiceGetParams object with the ability to set a context for a request.

func NewBillingAccountServiceGetParamsWithHTTPClient

func NewBillingAccountServiceGetParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetParams

NewBillingAccountServiceGetParamsWithHTTPClient creates a new BillingAccountServiceGetParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceGetParamsWithTimeout

func NewBillingAccountServiceGetParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetParams

NewBillingAccountServiceGetParamsWithTimeout creates a new BillingAccountServiceGetParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceGetParams) SetContext

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

SetContext adds the context to the billing account service get params

func (*BillingAccountServiceGetParams) SetDefaults

func (o *BillingAccountServiceGetParams) SetDefaults()

SetDefaults hydrates default values in the billing account service get params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the billing account service get params

func (*BillingAccountServiceGetParams) SetID

SetID adds the id to the billing account service get params

func (*BillingAccountServiceGetParams) SetOrganizationID

func (o *BillingAccountServiceGetParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service get params

func (*BillingAccountServiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the billing account service get params

func (*BillingAccountServiceGetParams) WithContext

WithContext adds the context to the billing account service get params

func (*BillingAccountServiceGetParams) WithDefaults

WithDefaults hydrates default values in the billing account service get params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service get params

func (*BillingAccountServiceGetParams) WithID

WithID adds the id to the billing account service get params

func (*BillingAccountServiceGetParams) WithOrganizationID

func (o *BillingAccountServiceGetParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetParams

WithOrganizationID adds the organizationID to the billing account service get params

func (*BillingAccountServiceGetParams) WithTimeout

WithTimeout adds the timeout to the billing account service get params

func (*BillingAccountServiceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceGetPricingModelTransitionsDefault added in v0.97.0

type BillingAccountServiceGetPricingModelTransitionsDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceGetPricingModelTransitionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceGetPricingModelTransitionsDefault added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsDefault(code int) *BillingAccountServiceGetPricingModelTransitionsDefault

NewBillingAccountServiceGetPricingModelTransitionsDefault creates a BillingAccountServiceGetPricingModelTransitionsDefault with default headers values

func (*BillingAccountServiceGetPricingModelTransitionsDefault) Code added in v0.97.0

Code gets the status code for the billing account service get pricing model transitions default response

func (*BillingAccountServiceGetPricingModelTransitionsDefault) Error added in v0.97.0

func (*BillingAccountServiceGetPricingModelTransitionsDefault) GetPayload added in v0.97.0

func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsClientError added in v0.97.0

IsClientError returns true when this billing account service get pricing model transitions default response has a 4xx status code

func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsCode added in v0.97.0

IsCode returns true when this billing account service get pricing model transitions default response a status code equal to that given

func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsRedirect added in v0.97.0

IsRedirect returns true when this billing account service get pricing model transitions default response has a 3xx status code

func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsServerError added in v0.97.0

IsServerError returns true when this billing account service get pricing model transitions default response has a 5xx status code

func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsSuccess added in v0.97.0

IsSuccess returns true when this billing account service get pricing model transitions default response has a 2xx status code

func (*BillingAccountServiceGetPricingModelTransitionsDefault) String added in v0.97.0

type BillingAccountServiceGetPricingModelTransitionsOK added in v0.97.0

type BillingAccountServiceGetPricingModelTransitionsOK struct {
	Payload *models.Billing20201105GetPricingModelTransitionsResponse
}

BillingAccountServiceGetPricingModelTransitionsOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceGetPricingModelTransitionsOK added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsOK() *BillingAccountServiceGetPricingModelTransitionsOK

NewBillingAccountServiceGetPricingModelTransitionsOK creates a BillingAccountServiceGetPricingModelTransitionsOK with default headers values

func (*BillingAccountServiceGetPricingModelTransitionsOK) Code added in v0.97.0

Code gets the status code for the billing account service get pricing model transitions o k response

func (*BillingAccountServiceGetPricingModelTransitionsOK) Error added in v0.97.0

func (*BillingAccountServiceGetPricingModelTransitionsOK) GetPayload added in v0.97.0

func (*BillingAccountServiceGetPricingModelTransitionsOK) IsClientError added in v0.97.0

IsClientError returns true when this billing account service get pricing model transitions o k response has a 4xx status code

func (*BillingAccountServiceGetPricingModelTransitionsOK) IsCode added in v0.97.0

IsCode returns true when this billing account service get pricing model transitions o k response a status code equal to that given

func (*BillingAccountServiceGetPricingModelTransitionsOK) IsRedirect added in v0.97.0

IsRedirect returns true when this billing account service get pricing model transitions o k response has a 3xx status code

func (*BillingAccountServiceGetPricingModelTransitionsOK) IsServerError added in v0.97.0

IsServerError returns true when this billing account service get pricing model transitions o k response has a 5xx status code

func (*BillingAccountServiceGetPricingModelTransitionsOK) IsSuccess added in v0.97.0

IsSuccess returns true when this billing account service get pricing model transitions o k response has a 2xx status code

func (*BillingAccountServiceGetPricingModelTransitionsOK) String added in v0.97.0

type BillingAccountServiceGetPricingModelTransitionsParams added in v0.97.0

type BillingAccountServiceGetPricingModelTransitionsParams struct {

	/* BillingAccountID.

	   billing_account_id is the public ID of the billing account.
	*/
	BillingAccountID string

	/* End.

	   end is the exclusive upper bound timestamp for which to get pricing model transitions.

	   Format: date-time
	*/
	End *strfmt.DateTime

	/* OrganizationID.

	   organization_id is the ID of the organization to which the billing account belongs.
	*/
	OrganizationID string

	/* Start.

	   start is the inclusive lower bound timestamp for which to get pricing model transitions.

	   Format: date-time
	*/
	Start *strfmt.DateTime

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

BillingAccountServiceGetPricingModelTransitionsParams contains all the parameters to send to the API endpoint

for the billing account service get pricing model transitions operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceGetPricingModelTransitionsParams added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsParams() *BillingAccountServiceGetPricingModelTransitionsParams

NewBillingAccountServiceGetPricingModelTransitionsParams creates a new BillingAccountServiceGetPricingModelTransitionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext(ctx context.Context) *BillingAccountServiceGetPricingModelTransitionsParams

NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a context for a request.

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetPricingModelTransitionsParams

NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout added in v0.97.0

func NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetPricingModelTransitionsParams

NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetBillingAccountID added in v0.97.0

func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetBillingAccountID(billingAccountID string)

SetBillingAccountID adds the billingAccountId to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetContext added in v0.97.0

SetContext adds the context to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetDefaults added in v0.97.0

SetDefaults hydrates default values in the billing account service get pricing model transitions params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetEnd added in v0.97.0

SetEnd adds the end to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetHTTPClient added in v0.97.0

SetHTTPClient adds the HTTPClient to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetOrganizationID added in v0.97.0

func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetStart added in v0.97.0

SetStart adds the start to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) SetTimeout added in v0.97.0

SetTimeout adds the timeout to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithBillingAccountID added in v0.97.0

WithBillingAccountID adds the billingAccountID to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithContext added in v0.97.0

WithContext adds the context to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithDefaults added in v0.97.0

WithDefaults hydrates default values in the billing account service get pricing model transitions params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithEnd added in v0.97.0

WithEnd adds the end to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithHTTPClient added in v0.97.0

WithHTTPClient adds the HTTPClient to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithOrganizationID added in v0.97.0

WithOrganizationID adds the organizationID to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithStart added in v0.97.0

WithStart adds the start to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the billing account service get pricing model transitions params

func (*BillingAccountServiceGetPricingModelTransitionsParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type BillingAccountServiceGetPricingModelTransitionsReader added in v0.97.0

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

BillingAccountServiceGetPricingModelTransitionsReader is a Reader for the BillingAccountServiceGetPricingModelTransitions structure.

func (*BillingAccountServiceGetPricingModelTransitionsReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceGetReader

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

BillingAccountServiceGetReader is a Reader for the BillingAccountServiceGet structure.

func (*BillingAccountServiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceRemoveOnDemandPaymentMethodDefault

type BillingAccountServiceRemoveOnDemandPaymentMethodDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceRemoveOnDemandPaymentMethodDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault

func NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault(code int) *BillingAccountServiceRemoveOnDemandPaymentMethodDefault

NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault creates a BillingAccountServiceRemoveOnDemandPaymentMethodDefault with default headers values

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Code

Code gets the status code for the billing account service remove on demand payment method default response

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsClientError

IsClientError returns true when this billing account service remove on demand payment method default response has a 4xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsCode

IsCode returns true when this billing account service remove on demand payment method default response a status code equal to that given

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsRedirect

IsRedirect returns true when this billing account service remove on demand payment method default response has a 3xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsServerError

IsServerError returns true when this billing account service remove on demand payment method default response has a 5xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsSuccess

IsSuccess returns true when this billing account service remove on demand payment method default response has a 2xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) String

type BillingAccountServiceRemoveOnDemandPaymentMethodOK

type BillingAccountServiceRemoveOnDemandPaymentMethodOK struct {
	Payload *models.Billing20201105RemoveOnDemandPaymentMethodResponse
}

BillingAccountServiceRemoveOnDemandPaymentMethodOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodOK

func NewBillingAccountServiceRemoveOnDemandPaymentMethodOK() *BillingAccountServiceRemoveOnDemandPaymentMethodOK

NewBillingAccountServiceRemoveOnDemandPaymentMethodOK creates a BillingAccountServiceRemoveOnDemandPaymentMethodOK with default headers values

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) Code added in v0.97.0

Code gets the status code for the billing account service remove on demand payment method o k response

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) Error

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) GetPayload

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsClientError

IsClientError returns true when this billing account service remove on demand payment method o k response has a 4xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsCode

IsCode returns true when this billing account service remove on demand payment method o k response a status code equal to that given

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsRedirect

IsRedirect returns true when this billing account service remove on demand payment method o k response has a 3xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsServerError

IsServerError returns true when this billing account service remove on demand payment method o k response has a 5xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsSuccess

IsSuccess returns true when this billing account service remove on demand payment method o k response has a 2xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) String

type BillingAccountServiceRemoveOnDemandPaymentMethodParams

type BillingAccountServiceRemoveOnDemandPaymentMethodParams struct {

	// BillingAccountID.
	BillingAccountID string

	// OrganizationID.
	OrganizationID string

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

BillingAccountServiceRemoveOnDemandPaymentMethodParams contains all the parameters to send to the API endpoint

for the billing account service remove on demand payment method operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParams

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParams() *BillingAccountServiceRemoveOnDemandPaymentMethodParams

NewBillingAccountServiceRemoveOnDemandPaymentMethodParams creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext(ctx context.Context) *BillingAccountServiceRemoveOnDemandPaymentMethodParams

NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a context for a request.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient(client *http.Client) *BillingAccountServiceRemoveOnDemandPaymentMethodParams

NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout

func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout(timeout time.Duration) *BillingAccountServiceRemoveOnDemandPaymentMethodParams

NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetBillingAccountID

func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetBillingAccountID(billingAccountID string)

SetBillingAccountID adds the billingAccountId to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetContext

SetContext adds the context to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetDefaults

SetDefaults hydrates default values in the billing account service remove on demand payment method params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetOrganizationID

func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetTimeout

SetTimeout adds the timeout to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithBillingAccountID

WithBillingAccountID adds the billingAccountID to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithContext

WithContext adds the context to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithDefaults

WithDefaults hydrates default values in the billing account service remove on demand payment method params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceRemoveOnDemandPaymentMethodReader

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

BillingAccountServiceRemoveOnDemandPaymentMethodReader is a Reader for the BillingAccountServiceRemoveOnDemandPaymentMethod structure.

func (*BillingAccountServiceRemoveOnDemandPaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BillingAccountServiceUpdateDefault

type BillingAccountServiceUpdateDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

BillingAccountServiceUpdateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewBillingAccountServiceUpdateDefault

func NewBillingAccountServiceUpdateDefault(code int) *BillingAccountServiceUpdateDefault

NewBillingAccountServiceUpdateDefault creates a BillingAccountServiceUpdateDefault with default headers values

func (*BillingAccountServiceUpdateDefault) Code

Code gets the status code for the billing account service update default response

func (*BillingAccountServiceUpdateDefault) Error

func (*BillingAccountServiceUpdateDefault) GetPayload

func (*BillingAccountServiceUpdateDefault) IsClientError

func (o *BillingAccountServiceUpdateDefault) IsClientError() bool

IsClientError returns true when this billing account service update default response has a 4xx status code

func (*BillingAccountServiceUpdateDefault) IsCode

IsCode returns true when this billing account service update default response a status code equal to that given

func (*BillingAccountServiceUpdateDefault) IsRedirect

func (o *BillingAccountServiceUpdateDefault) IsRedirect() bool

IsRedirect returns true when this billing account service update default response has a 3xx status code

func (*BillingAccountServiceUpdateDefault) IsServerError

func (o *BillingAccountServiceUpdateDefault) IsServerError() bool

IsServerError returns true when this billing account service update default response has a 5xx status code

func (*BillingAccountServiceUpdateDefault) IsSuccess

IsSuccess returns true when this billing account service update default response has a 2xx status code

func (*BillingAccountServiceUpdateDefault) String

type BillingAccountServiceUpdateOK

type BillingAccountServiceUpdateOK struct {
	Payload *models.Billing20201105UpdateBillingAccountResponse
}

BillingAccountServiceUpdateOK describes a response with status code 200, with default header values.

A successful response.

func NewBillingAccountServiceUpdateOK

func NewBillingAccountServiceUpdateOK() *BillingAccountServiceUpdateOK

NewBillingAccountServiceUpdateOK creates a BillingAccountServiceUpdateOK with default headers values

func (*BillingAccountServiceUpdateOK) Code added in v0.97.0

Code gets the status code for the billing account service update o k response

func (*BillingAccountServiceUpdateOK) Error

func (*BillingAccountServiceUpdateOK) GetPayload

func (*BillingAccountServiceUpdateOK) IsClientError

func (o *BillingAccountServiceUpdateOK) IsClientError() bool

IsClientError returns true when this billing account service update o k response has a 4xx status code

func (*BillingAccountServiceUpdateOK) IsCode

func (o *BillingAccountServiceUpdateOK) IsCode(code int) bool

IsCode returns true when this billing account service update o k response a status code equal to that given

func (*BillingAccountServiceUpdateOK) IsRedirect

func (o *BillingAccountServiceUpdateOK) IsRedirect() bool

IsRedirect returns true when this billing account service update o k response has a 3xx status code

func (*BillingAccountServiceUpdateOK) IsServerError

func (o *BillingAccountServiceUpdateOK) IsServerError() bool

IsServerError returns true when this billing account service update o k response has a 5xx status code

func (*BillingAccountServiceUpdateOK) IsSuccess

func (o *BillingAccountServiceUpdateOK) IsSuccess() bool

IsSuccess returns true when this billing account service update o k response has a 2xx status code

func (*BillingAccountServiceUpdateOK) String

type BillingAccountServiceUpdateParams

type BillingAccountServiceUpdateParams struct {

	// Body.
	Body *models.BillingAccountServiceUpdateBody

	/* ID.

	     id is the user-settable ID that uniquely identifies the Billing Account
	within the organization.
	*/
	ID string

	/* OrganizationID.

	     organization_id is the ID of the organization to which the Billing Account
	belongs.
	*/
	OrganizationID string

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

BillingAccountServiceUpdateParams contains all the parameters to send to the API endpoint

for the billing account service update operation.

Typically these are written to a http.Request.

func NewBillingAccountServiceUpdateParams

func NewBillingAccountServiceUpdateParams() *BillingAccountServiceUpdateParams

NewBillingAccountServiceUpdateParams creates a new BillingAccountServiceUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBillingAccountServiceUpdateParamsWithContext

func NewBillingAccountServiceUpdateParamsWithContext(ctx context.Context) *BillingAccountServiceUpdateParams

NewBillingAccountServiceUpdateParamsWithContext creates a new BillingAccountServiceUpdateParams object with the ability to set a context for a request.

func NewBillingAccountServiceUpdateParamsWithHTTPClient

func NewBillingAccountServiceUpdateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceUpdateParams

NewBillingAccountServiceUpdateParamsWithHTTPClient creates a new BillingAccountServiceUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewBillingAccountServiceUpdateParamsWithTimeout

func NewBillingAccountServiceUpdateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceUpdateParams

NewBillingAccountServiceUpdateParamsWithTimeout creates a new BillingAccountServiceUpdateParams object with the ability to set a timeout on a request.

func (*BillingAccountServiceUpdateParams) SetBody

SetBody adds the body to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetContext

SetContext adds the context to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetDefaults

func (o *BillingAccountServiceUpdateParams) SetDefaults()

SetDefaults hydrates default values in the billing account service update params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetID

SetID adds the id to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetOrganizationID

func (o *BillingAccountServiceUpdateParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithBody

WithBody adds the body to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithContext

WithContext adds the context to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithDefaults

WithDefaults hydrates default values in the billing account service update params (not the query body).

All values with no default are reset to their zero value.

func (*BillingAccountServiceUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithID

WithID adds the id to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithOrganizationID

func (o *BillingAccountServiceUpdateParams) WithOrganizationID(organizationID string) *BillingAccountServiceUpdateParams

WithOrganizationID adds the organizationID to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithTimeout

WithTimeout adds the timeout to the billing account service update params

func (*BillingAccountServiceUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BillingAccountServiceUpdateReader

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

BillingAccountServiceUpdateReader is a Reader for the BillingAccountServiceUpdate structure.

func (*BillingAccountServiceUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for billing account service API

func (*Client) BillingAccountServiceCreate

func (a *Client) BillingAccountServiceCreate(params *BillingAccountServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceCreateOK, error)
BillingAccountServiceCreate creates a new billing account for the organization

This endpoint is idempotent and it is expected that clients will retry

their requests on server-side failure.

func (*Client) BillingAccountServiceCreateSetupIntent

BillingAccountServiceCreateSetupIntent creates setup intent creates a setup intent used to collect payment details with stripe js and perform any necessary checks e g 3 d secure

https://stripe.com/docs/payments/setup-intents

func (*Client) BillingAccountServiceGet

func (a *Client) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetOK, error)

BillingAccountServiceGet gets a billing account by ID

func (*Client) BillingAccountServiceGetByProject

func (a *Client) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetByProjectOK, error)

BillingAccountServiceGetByProject gets by project returns the billing account associated with the given project if no billing account is set for the project not found is returned

func (*Client) BillingAccountServiceGetPricingModelTransitions added in v0.97.0

BillingAccountServiceGetPricingModelTransitions gets pricing model transitions gets the pricing model transitions for the given billing account if no start is specified it will default to 1 1 1 00 00 00 000000000 u t c if no end date is specified it will default to 12 31 9999 11 59 59 000000000 u t c

func (*Client) BillingAccountServiceRemoveOnDemandPaymentMethod

BillingAccountServiceRemoveOnDemandPaymentMethod billing account service remove on demand payment method API

func (*Client) BillingAccountServiceUpdate

func (a *Client) BillingAccountServiceUpdate(params *BillingAccountServiceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceUpdateOK, error)

BillingAccountServiceUpdate updates a billing account s settings

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new billing account service API client.

Jump to

Keyboard shortcuts

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