payment_methods

package
v0.0.0-...-13576d3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 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 payment methods API

func New

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

New creates a new payment methods API client.

func (*Client) DeletePaymentMethod

func (a *Client) DeletePaymentMethod(params *DeletePaymentMethodParams) (*DeletePaymentMethodOK, error)

DeletePaymentMethod deletes the payment method specified by the payment method ID parameter

{"nickname":"Delete payment method","response":"deletePaymentMethod.html"}

func (*Client) GetAllPaymentMethods

func (a *Client) GetAllPaymentMethods(params *GetAllPaymentMethodsParams) (*GetAllPaymentMethodsOK, error)

GetAllPaymentMethods returns a collection of all payment methods by default 10 values are returned records are returned in natural order

{"nickname":"Get all payment methods","response":"getPaymentMethodAll.html"}

func (*Client) GetPaymentMethodByAccountID

func (a *Client) GetPaymentMethodByAccountID(params *GetPaymentMethodByAccountIDParams) (*GetPaymentMethodByAccountIDOK, error)

GetPaymentMethodByAccountID returns a collection of payment methods specified by the account ID parameter by default 10 values are returned records are returned in natural order

{"nickname":"Retrieve by account","response":"getPaymentMethodByAccount.html"}

func (*Client) GetPaymentMethodByID

func (a *Client) GetPaymentMethodByID(params *GetPaymentMethodByIDParams) (*GetPaymentMethodByIDOK, error)

GetPaymentMethodByID returns a single payment method specified by the payment method ID parameter

{"nickname":"Get existing payment method","response":"getPaymentMethodByID.html"}

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeletePaymentMethodDefault

type DeletePaymentMethodDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

DeletePaymentMethodDefault handles this case with default header values.

error

func NewDeletePaymentMethodDefault

func NewDeletePaymentMethodDefault(code int) *DeletePaymentMethodDefault

NewDeletePaymentMethodDefault creates a DeletePaymentMethodDefault with default headers values

func (*DeletePaymentMethodDefault) Code

func (o *DeletePaymentMethodDefault) Code() int

Code gets the status code for the delete payment method default response

func (*DeletePaymentMethodDefault) Error

type DeletePaymentMethodOK

type DeletePaymentMethodOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

DeletePaymentMethodOK handles this case with default header values.

success

func NewDeletePaymentMethodOK

func NewDeletePaymentMethodOK() *DeletePaymentMethodOK

NewDeletePaymentMethodOK creates a DeletePaymentMethodOK with default headers values

func (*DeletePaymentMethodOK) Error

func (o *DeletePaymentMethodOK) Error() string

type DeletePaymentMethodParams

type DeletePaymentMethodParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*PaymentMethodID*/
	PaymentMethodID string

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

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

func NewDeletePaymentMethodParams

func NewDeletePaymentMethodParams() *DeletePaymentMethodParams

NewDeletePaymentMethodParams creates a new DeletePaymentMethodParams object with the default values initialized.

func NewDeletePaymentMethodParamsWithContext

func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams

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

func NewDeletePaymentMethodParamsWithHTTPClient

func NewDeletePaymentMethodParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodParams

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

func NewDeletePaymentMethodParamsWithTimeout

func NewDeletePaymentMethodParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodParams

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

func (*DeletePaymentMethodParams) SetContext

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

SetContext adds the context to the delete payment method params

func (*DeletePaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment method params

func (*DeletePaymentMethodParams) SetOrganizations

func (o *DeletePaymentMethodParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the delete payment method params

func (*DeletePaymentMethodParams) SetPaymentMethodID

func (o *DeletePaymentMethodParams) SetPaymentMethodID(paymentMethodID string)

SetPaymentMethodID adds the paymentMethodId to the delete payment method params

func (*DeletePaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment method params

func (*DeletePaymentMethodParams) WithContext

WithContext adds the context to the delete payment method params

func (*DeletePaymentMethodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete payment method params

func (*DeletePaymentMethodParams) WithOrganizations

func (o *DeletePaymentMethodParams) WithOrganizations(organizations []string) *DeletePaymentMethodParams

WithOrganizations adds the organizations to the delete payment method params

func (*DeletePaymentMethodParams) WithPaymentMethodID

func (o *DeletePaymentMethodParams) WithPaymentMethodID(paymentMethodID string) *DeletePaymentMethodParams

WithPaymentMethodID adds the paymentMethodID to the delete payment method params

func (*DeletePaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the delete payment method params

func (*DeletePaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentMethodReader

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

DeletePaymentMethodReader is a Reader for the DeletePaymentMethod structure.

func (*DeletePaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllPaymentMethodsDefault

type GetAllPaymentMethodsDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetAllPaymentMethodsDefault handles this case with default header values.

error

func NewGetAllPaymentMethodsDefault

func NewGetAllPaymentMethodsDefault(code int) *GetAllPaymentMethodsDefault

NewGetAllPaymentMethodsDefault creates a GetAllPaymentMethodsDefault with default headers values

func (*GetAllPaymentMethodsDefault) Code

func (o *GetAllPaymentMethodsDefault) Code() int

Code gets the status code for the get all payment methods default response

func (*GetAllPaymentMethodsDefault) Error

type GetAllPaymentMethodsOK

type GetAllPaymentMethodsOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

GetAllPaymentMethodsOK handles this case with default header values.

success

func NewGetAllPaymentMethodsOK

func NewGetAllPaymentMethodsOK() *GetAllPaymentMethodsOK

NewGetAllPaymentMethodsOK creates a GetAllPaymentMethodsOK with default headers values

func (*GetAllPaymentMethodsOK) Error

func (o *GetAllPaymentMethodsOK) Error() string

type GetAllPaymentMethodsParams

type GetAllPaymentMethodsParams struct {

	/*IncludeRetired
	  Whether retired products should be returned.

	*/
	IncludeRetired *bool
	/*Offset
	  The offset from the first payment-method to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of payment-methods to return.

	*/
	Records *int32

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

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

func NewGetAllPaymentMethodsParams

func NewGetAllPaymentMethodsParams() *GetAllPaymentMethodsParams

NewGetAllPaymentMethodsParams creates a new GetAllPaymentMethodsParams object with the default values initialized.

func NewGetAllPaymentMethodsParamsWithContext

func NewGetAllPaymentMethodsParamsWithContext(ctx context.Context) *GetAllPaymentMethodsParams

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

func NewGetAllPaymentMethodsParamsWithHTTPClient

func NewGetAllPaymentMethodsParamsWithHTTPClient(client *http.Client) *GetAllPaymentMethodsParams

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

func NewGetAllPaymentMethodsParamsWithTimeout

func NewGetAllPaymentMethodsParamsWithTimeout(timeout time.Duration) *GetAllPaymentMethodsParams

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

func (*GetAllPaymentMethodsParams) SetContext

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

SetContext adds the context to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetIncludeRetired

func (o *GetAllPaymentMethodsParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetOffset

func (o *GetAllPaymentMethodsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetOrder

func (o *GetAllPaymentMethodsParams) SetOrder(order *string)

SetOrder adds the order to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetOrderBy

func (o *GetAllPaymentMethodsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetOrganizations

func (o *GetAllPaymentMethodsParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetRecords

func (o *GetAllPaymentMethodsParams) SetRecords(records *int32)

SetRecords adds the records to the get all payment methods params

func (*GetAllPaymentMethodsParams) SetTimeout

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

SetTimeout adds the timeout to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithContext

WithContext adds the context to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithIncludeRetired

func (o *GetAllPaymentMethodsParams) WithIncludeRetired(includeRetired *bool) *GetAllPaymentMethodsParams

WithIncludeRetired adds the includeRetired to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithOffset

WithOffset adds the offset to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithOrder

WithOrder adds the order to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithOrderBy

WithOrderBy adds the orderBy to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithOrganizations

func (o *GetAllPaymentMethodsParams) WithOrganizations(organizations []string) *GetAllPaymentMethodsParams

WithOrganizations adds the organizations to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithRecords

WithRecords adds the records to the get all payment methods params

func (*GetAllPaymentMethodsParams) WithTimeout

WithTimeout adds the timeout to the get all payment methods params

func (*GetAllPaymentMethodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllPaymentMethodsReader

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

GetAllPaymentMethodsReader is a Reader for the GetAllPaymentMethods structure.

func (*GetAllPaymentMethodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodByAccountIDDefault

type GetPaymentMethodByAccountIDDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetPaymentMethodByAccountIDDefault handles this case with default header values.

error

func NewGetPaymentMethodByAccountIDDefault

func NewGetPaymentMethodByAccountIDDefault(code int) *GetPaymentMethodByAccountIDDefault

NewGetPaymentMethodByAccountIDDefault creates a GetPaymentMethodByAccountIDDefault with default headers values

func (*GetPaymentMethodByAccountIDDefault) Code

Code gets the status code for the get payment method by account ID default response

func (*GetPaymentMethodByAccountIDDefault) Error

type GetPaymentMethodByAccountIDOK

type GetPaymentMethodByAccountIDOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

GetPaymentMethodByAccountIDOK handles this case with default header values.

success

func NewGetPaymentMethodByAccountIDOK

func NewGetPaymentMethodByAccountIDOK() *GetPaymentMethodByAccountIDOK

NewGetPaymentMethodByAccountIDOK creates a GetPaymentMethodByAccountIDOK with default headers values

func (*GetPaymentMethodByAccountIDOK) Error

type GetPaymentMethodByAccountIDParams

type GetPaymentMethodByAccountIDParams struct {

	/*AccountID*/
	AccountID string
	/*DefaultOnly
	  Whether only the defualt payment method should be returned.

	*/
	DefaultOnly *bool
	/*IncludeRetired
	  Whether retired products should be returned.

	*/
	IncludeRetired *bool
	/*Offset
	  The offset from the first payment-method to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of payment-methods to return.

	*/
	Records *int32

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

GetPaymentMethodByAccountIDParams contains all the parameters to send to the API endpoint for the get payment method by account ID operation typically these are written to a http.Request

func NewGetPaymentMethodByAccountIDParams

func NewGetPaymentMethodByAccountIDParams() *GetPaymentMethodByAccountIDParams

NewGetPaymentMethodByAccountIDParams creates a new GetPaymentMethodByAccountIDParams object with the default values initialized.

func NewGetPaymentMethodByAccountIDParamsWithContext

func NewGetPaymentMethodByAccountIDParamsWithContext(ctx context.Context) *GetPaymentMethodByAccountIDParams

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

func NewGetPaymentMethodByAccountIDParamsWithHTTPClient

func NewGetPaymentMethodByAccountIDParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByAccountIDParams

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

func NewGetPaymentMethodByAccountIDParamsWithTimeout

func NewGetPaymentMethodByAccountIDParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByAccountIDParams

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

func (*GetPaymentMethodByAccountIDParams) SetAccountID

func (o *GetPaymentMethodByAccountIDParams) SetAccountID(accountID string)

SetAccountID adds the accountId to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetContext

SetContext adds the context to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetDefaultOnly

func (o *GetPaymentMethodByAccountIDParams) SetDefaultOnly(defaultOnly *bool)

SetDefaultOnly adds the defaultOnly to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetIncludeRetired

func (o *GetPaymentMethodByAccountIDParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetOffset

func (o *GetPaymentMethodByAccountIDParams) SetOffset(offset *int32)

SetOffset adds the offset to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetOrder

func (o *GetPaymentMethodByAccountIDParams) SetOrder(order *string)

SetOrder adds the order to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetOrderBy

func (o *GetPaymentMethodByAccountIDParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetOrganizations

func (o *GetPaymentMethodByAccountIDParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetRecords

func (o *GetPaymentMethodByAccountIDParams) SetRecords(records *int32)

SetRecords adds the records to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) SetTimeout

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

SetTimeout adds the timeout to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithAccountID

WithAccountID adds the accountID to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithContext

WithContext adds the context to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithDefaultOnly

WithDefaultOnly adds the defaultOnly to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithIncludeRetired

func (o *GetPaymentMethodByAccountIDParams) WithIncludeRetired(includeRetired *bool) *GetPaymentMethodByAccountIDParams

WithIncludeRetired adds the includeRetired to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithOffset

WithOffset adds the offset to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithOrder

WithOrder adds the order to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithOrderBy

WithOrderBy adds the orderBy to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithOrganizations

func (o *GetPaymentMethodByAccountIDParams) WithOrganizations(organizations []string) *GetPaymentMethodByAccountIDParams

WithOrganizations adds the organizations to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithRecords

WithRecords adds the records to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WithTimeout

WithTimeout adds the timeout to the get payment method by account ID params

func (*GetPaymentMethodByAccountIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodByAccountIDReader

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

GetPaymentMethodByAccountIDReader is a Reader for the GetPaymentMethodByAccountID structure.

func (*GetPaymentMethodByAccountIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodByIDDefault

type GetPaymentMethodByIDDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetPaymentMethodByIDDefault handles this case with default header values.

error

func NewGetPaymentMethodByIDDefault

func NewGetPaymentMethodByIDDefault(code int) *GetPaymentMethodByIDDefault

NewGetPaymentMethodByIDDefault creates a GetPaymentMethodByIDDefault with default headers values

func (*GetPaymentMethodByIDDefault) Code

func (o *GetPaymentMethodByIDDefault) Code() int

Code gets the status code for the get payment method by ID default response

func (*GetPaymentMethodByIDDefault) Error

type GetPaymentMethodByIDOK

type GetPaymentMethodByIDOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

GetPaymentMethodByIDOK handles this case with default header values.

success

func NewGetPaymentMethodByIDOK

func NewGetPaymentMethodByIDOK() *GetPaymentMethodByIDOK

NewGetPaymentMethodByIDOK creates a GetPaymentMethodByIDOK with default headers values

func (*GetPaymentMethodByIDOK) Error

func (o *GetPaymentMethodByIDOK) Error() string

type GetPaymentMethodByIDParams

type GetPaymentMethodByIDParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*PaymentMethodID*/
	PaymentMethodID string

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

GetPaymentMethodByIDParams contains all the parameters to send to the API endpoint for the get payment method by ID operation typically these are written to a http.Request

func NewGetPaymentMethodByIDParams

func NewGetPaymentMethodByIDParams() *GetPaymentMethodByIDParams

NewGetPaymentMethodByIDParams creates a new GetPaymentMethodByIDParams object with the default values initialized.

func NewGetPaymentMethodByIDParamsWithContext

func NewGetPaymentMethodByIDParamsWithContext(ctx context.Context) *GetPaymentMethodByIDParams

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

func NewGetPaymentMethodByIDParamsWithHTTPClient

func NewGetPaymentMethodByIDParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByIDParams

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

func NewGetPaymentMethodByIDParamsWithTimeout

func NewGetPaymentMethodByIDParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByIDParams

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

func (*GetPaymentMethodByIDParams) SetContext

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

SetContext adds the context to the get payment method by ID params

func (*GetPaymentMethodByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method by ID params

func (*GetPaymentMethodByIDParams) SetOrganizations

func (o *GetPaymentMethodByIDParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get payment method by ID params

func (*GetPaymentMethodByIDParams) SetPaymentMethodID

func (o *GetPaymentMethodByIDParams) SetPaymentMethodID(paymentMethodID string)

SetPaymentMethodID adds the paymentMethodId to the get payment method by ID params

func (*GetPaymentMethodByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WithContext

WithContext adds the context to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WithOrganizations

func (o *GetPaymentMethodByIDParams) WithOrganizations(organizations []string) *GetPaymentMethodByIDParams

WithOrganizations adds the organizations to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WithPaymentMethodID

func (o *GetPaymentMethodByIDParams) WithPaymentMethodID(paymentMethodID string) *GetPaymentMethodByIDParams

WithPaymentMethodID adds the paymentMethodID to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WithTimeout

WithTimeout adds the timeout to the get payment method by ID params

func (*GetPaymentMethodByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodByIDReader

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

GetPaymentMethodByIDReader is a Reader for the GetPaymentMethodByID structure.

func (*GetPaymentMethodByIDReader) ReadResponse

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