Documentation
¶
Index ¶
- type AuthCaptureDefault
- type AuthCaptureOK
- type AuthCaptureParams
- func (o *AuthCaptureParams) SetAuthCaptureRequest(authCaptureRequest models.AuthCaptureRequest)
- func (o *AuthCaptureParams) SetContext(ctx context.Context)
- func (o *AuthCaptureParams) SetHTTPClient(client *http.Client)
- func (o *AuthCaptureParams) SetTimeout(timeout time.Duration)
- func (o *AuthCaptureParams) WithAuthCaptureRequest(authCaptureRequest models.AuthCaptureRequest) *AuthCaptureParams
- func (o *AuthCaptureParams) WithContext(ctx context.Context) *AuthCaptureParams
- func (o *AuthCaptureParams) WithHTTPClient(client *http.Client) *AuthCaptureParams
- func (o *AuthCaptureParams) WithTimeout(timeout time.Duration) *AuthCaptureParams
- func (o *AuthCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthCaptureReader
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCaptureDefault ¶
type AuthCaptureDefault struct { Payload *models.BFError // contains filtered or unexported fields }
AuthCaptureDefault handles this case with default header values.
error
func NewAuthCaptureDefault ¶
func NewAuthCaptureDefault(code int) *AuthCaptureDefault
NewAuthCaptureDefault creates a AuthCaptureDefault with default headers values
func (*AuthCaptureDefault) Code ¶
func (o *AuthCaptureDefault) Code() int
Code gets the status code for the auth capture default response
func (*AuthCaptureDefault) Error ¶
func (o *AuthCaptureDefault) Error() string
type AuthCaptureOK ¶
type AuthCaptureOK struct {
Payload *models.PaymentMethodPagedMetadata
}
AuthCaptureOK handles this case with default header values.
success
func NewAuthCaptureOK ¶
func NewAuthCaptureOK() *AuthCaptureOK
NewAuthCaptureOK creates a AuthCaptureOK with default headers values
func (*AuthCaptureOK) Error ¶
func (o *AuthCaptureOK) Error() string
type AuthCaptureParams ¶
type AuthCaptureParams struct { /*AuthCaptureRequest The auth capture request. */ AuthCaptureRequest models.AuthCaptureRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthCaptureParams contains all the parameters to send to the API endpoint for the auth capture operation typically these are written to a http.Request
func NewAuthCaptureParams ¶
func NewAuthCaptureParams() *AuthCaptureParams
NewAuthCaptureParams creates a new AuthCaptureParams object with the default values initialized.
func NewAuthCaptureParamsWithContext ¶
func NewAuthCaptureParamsWithContext(ctx context.Context) *AuthCaptureParams
NewAuthCaptureParamsWithContext creates a new AuthCaptureParams object with the default values initialized, and the ability to set a context for a request
func NewAuthCaptureParamsWithHTTPClient ¶
func NewAuthCaptureParamsWithHTTPClient(client *http.Client) *AuthCaptureParams
NewAuthCaptureParamsWithHTTPClient creates a new AuthCaptureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAuthCaptureParamsWithTimeout ¶
func NewAuthCaptureParamsWithTimeout(timeout time.Duration) *AuthCaptureParams
NewAuthCaptureParamsWithTimeout creates a new AuthCaptureParams object with the default values initialized, and the ability to set a timeout on a request
func (*AuthCaptureParams) SetAuthCaptureRequest ¶
func (o *AuthCaptureParams) SetAuthCaptureRequest(authCaptureRequest models.AuthCaptureRequest)
SetAuthCaptureRequest adds the authCaptureRequest to the auth capture params
func (*AuthCaptureParams) SetContext ¶
func (o *AuthCaptureParams) SetContext(ctx context.Context)
SetContext adds the context to the auth capture params
func (*AuthCaptureParams) SetHTTPClient ¶
func (o *AuthCaptureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth capture params
func (*AuthCaptureParams) SetTimeout ¶
func (o *AuthCaptureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth capture params
func (*AuthCaptureParams) WithAuthCaptureRequest ¶
func (o *AuthCaptureParams) WithAuthCaptureRequest(authCaptureRequest models.AuthCaptureRequest) *AuthCaptureParams
WithAuthCaptureRequest adds the authCaptureRequest to the auth capture params
func (*AuthCaptureParams) WithContext ¶
func (o *AuthCaptureParams) WithContext(ctx context.Context) *AuthCaptureParams
WithContext adds the context to the auth capture params
func (*AuthCaptureParams) WithHTTPClient ¶
func (o *AuthCaptureParams) WithHTTPClient(client *http.Client) *AuthCaptureParams
WithHTTPClient adds the HTTPClient to the auth capture params
func (*AuthCaptureParams) WithTimeout ¶
func (o *AuthCaptureParams) WithTimeout(timeout time.Duration) *AuthCaptureParams
WithTimeout adds the timeout to the auth capture params
func (*AuthCaptureParams) WriteToRequest ¶
func (o *AuthCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthCaptureReader ¶
type AuthCaptureReader struct {
// contains filtered or unexported fields
}
AuthCaptureReader is a Reader for the AuthCapture structure.
func (*AuthCaptureReader) ReadResponse ¶
func (o *AuthCaptureReader) 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 tokenization API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new tokenization API client.
func (*Client) AuthCapture ¶
func (a *Client) AuthCapture(params *AuthCaptureParams) (*AuthCaptureOK, error)
AuthCapture notes this API can be invoked more simply by our client side card capture library a href https github com billforward billforward js bill forward js a you should not need to interact with this API manually unless you have particularly bespoke requirements
{"nickname":"Authorized card capture","response":"BFJSAuthCapture.html","request":"BFJSAuthCapture.request.html"}
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client