payment_account

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 12 Imported by: 1

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 payment account API

func (*Client) PublicDeletePaymentAccount

PublicDeletePaymentAccount deletes payment account

Delete payment account.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=8 (DELETE)</li><li><i>Returns</i>:</li></ul>

func (*Client) PublicGetPaymentAccounts

func (a *Client) PublicGetPaymentAccounts(params *PublicGetPaymentAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPaymentAccountsOK, error)

PublicGetPaymentAccounts gets payment accounts

Get payment accounts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=2 (READ)</li><li><i>Returns</i>: Payment account list</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PublicDeletePaymentAccount(params *PublicDeletePaymentAccountParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePaymentAccountNoContent, error)

	PublicGetPaymentAccounts(params *PublicGetPaymentAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPaymentAccountsOK, 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 payment account API client.

type PublicDeletePaymentAccountNoContent

type PublicDeletePaymentAccountNoContent struct {
}

PublicDeletePaymentAccountNoContent handles this case with default header values.

delete a payment account successfully

func NewPublicDeletePaymentAccountNoContent

func NewPublicDeletePaymentAccountNoContent() *PublicDeletePaymentAccountNoContent

NewPublicDeletePaymentAccountNoContent creates a PublicDeletePaymentAccountNoContent with default headers values

func (*PublicDeletePaymentAccountNoContent) Error

type PublicDeletePaymentAccountParams

type PublicDeletePaymentAccountParams struct {

	/*ID
	  payment account id

	*/
	ID string
	/*Namespace*/
	Namespace string
	/*Type
	  payment account type

	*/
	Type string
	/*UserID*/
	UserID string

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

PublicDeletePaymentAccountParams contains all the parameters to send to the API endpoint for the public delete payment account operation typically these are written to a http.Request

func NewPublicDeletePaymentAccountParams

func NewPublicDeletePaymentAccountParams() *PublicDeletePaymentAccountParams

NewPublicDeletePaymentAccountParams creates a new PublicDeletePaymentAccountParams object with the default values initialized.

func NewPublicDeletePaymentAccountParamsWithContext

func NewPublicDeletePaymentAccountParamsWithContext(ctx context.Context) *PublicDeletePaymentAccountParams

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

func NewPublicDeletePaymentAccountParamsWithHTTPClient

func NewPublicDeletePaymentAccountParamsWithHTTPClient(client *http.Client) *PublicDeletePaymentAccountParams

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

func NewPublicDeletePaymentAccountParamsWithTimeout

func NewPublicDeletePaymentAccountParamsWithTimeout(timeout time.Duration) *PublicDeletePaymentAccountParams

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

func (*PublicDeletePaymentAccountParams) SetContext

SetContext adds the context to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetID

SetID adds the id to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetNamespace

func (o *PublicDeletePaymentAccountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetTimeout

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

SetTimeout adds the timeout to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetType

func (o *PublicDeletePaymentAccountParams) SetType(typeVar string)

SetType adds the type to the public delete payment account params

func (*PublicDeletePaymentAccountParams) SetUserID

func (o *PublicDeletePaymentAccountParams) SetUserID(userID string)

SetUserID adds the userId to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithContext

WithContext adds the context to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithID

WithID adds the id to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithNamespace

WithNamespace adds the namespace to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithTimeout

WithTimeout adds the timeout to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithType

WithType adds the typeVar to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WithUserID

WithUserID adds the userID to the public delete payment account params

func (*PublicDeletePaymentAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeletePaymentAccountReader

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

PublicDeletePaymentAccountReader is a Reader for the PublicDeletePaymentAccount structure.

func (*PublicDeletePaymentAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetPaymentAccountsOK

type PublicGetPaymentAccountsOK struct {
	Payload []*platformclientmodels.PaymentAccount
}

PublicGetPaymentAccountsOK handles this case with default header values.

successful operation

func NewPublicGetPaymentAccountsOK

func NewPublicGetPaymentAccountsOK() *PublicGetPaymentAccountsOK

NewPublicGetPaymentAccountsOK creates a PublicGetPaymentAccountsOK with default headers values

func (*PublicGetPaymentAccountsOK) Error

func (*PublicGetPaymentAccountsOK) GetPayload

type PublicGetPaymentAccountsParams

type PublicGetPaymentAccountsParams struct {

	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

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

PublicGetPaymentAccountsParams contains all the parameters to send to the API endpoint for the public get payment accounts operation typically these are written to a http.Request

func NewPublicGetPaymentAccountsParams

func NewPublicGetPaymentAccountsParams() *PublicGetPaymentAccountsParams

NewPublicGetPaymentAccountsParams creates a new PublicGetPaymentAccountsParams object with the default values initialized.

func NewPublicGetPaymentAccountsParamsWithContext

func NewPublicGetPaymentAccountsParamsWithContext(ctx context.Context) *PublicGetPaymentAccountsParams

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

func NewPublicGetPaymentAccountsParamsWithHTTPClient

func NewPublicGetPaymentAccountsParamsWithHTTPClient(client *http.Client) *PublicGetPaymentAccountsParams

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

func NewPublicGetPaymentAccountsParamsWithTimeout

func NewPublicGetPaymentAccountsParamsWithTimeout(timeout time.Duration) *PublicGetPaymentAccountsParams

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

func (*PublicGetPaymentAccountsParams) SetContext

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

SetContext adds the context to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) SetNamespace

func (o *PublicGetPaymentAccountsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) SetUserID

func (o *PublicGetPaymentAccountsParams) SetUserID(userID string)

SetUserID adds the userId to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WithContext

WithContext adds the context to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WithNamespace

WithNamespace adds the namespace to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WithTimeout

WithTimeout adds the timeout to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WithUserID

WithUserID adds the userID to the public get payment accounts params

func (*PublicGetPaymentAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetPaymentAccountsReader

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

PublicGetPaymentAccountsReader is a Reader for the PublicGetPaymentAccounts structure.

func (*PublicGetPaymentAccountsReader) ReadResponse

func (o *PublicGetPaymentAccountsReader) 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