pay_pal_braintree_auth_v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 10 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 pay pal braintree auth v1 API

func (*Client) PayPalBraintreeAuthV1GetGet

func (a *Client) PayPalBraintreeAuthV1GetGet(params *PayPalBraintreeAuthV1GetGetParams, opts ...ClientOption) (*PayPalBraintreeAuthV1GetGetOK, error)

PayPalBraintreeAuthV1GetGet Returns details required to be able to submit a payment with apple pay.

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

type ClientService interface {
	PayPalBraintreeAuthV1GetGet(params *PayPalBraintreeAuthV1GetGetParams, opts ...ClientOption) (*PayPalBraintreeAuthV1GetGetOK, 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 pay pal braintree auth v1 API client.

type PayPalBraintreeAuthV1GetGetDefault

type PayPalBraintreeAuthV1GetGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
PayPalBraintreeAuthV1GetGetDefault describes a response with status code -1, with default header values.

Unexpected error

func NewPayPalBraintreeAuthV1GetGetDefault

func NewPayPalBraintreeAuthV1GetGetDefault(code int) *PayPalBraintreeAuthV1GetGetDefault

NewPayPalBraintreeAuthV1GetGetDefault creates a PayPalBraintreeAuthV1GetGetDefault with default headers values

func (*PayPalBraintreeAuthV1GetGetDefault) Code

Code gets the status code for the pay pal braintree auth v1 get get default response

func (*PayPalBraintreeAuthV1GetGetDefault) Error

func (*PayPalBraintreeAuthV1GetGetDefault) GetPayload

type PayPalBraintreeAuthV1GetGetOK

type PayPalBraintreeAuthV1GetGetOK struct {
	Payload *models.PayPalBraintreeDataAuthDataInterface
}
PayPalBraintreeAuthV1GetGetOK describes a response with status code 200, with default header values.

200 Success.

func NewPayPalBraintreeAuthV1GetGetOK

func NewPayPalBraintreeAuthV1GetGetOK() *PayPalBraintreeAuthV1GetGetOK

NewPayPalBraintreeAuthV1GetGetOK creates a PayPalBraintreeAuthV1GetGetOK with default headers values

func (*PayPalBraintreeAuthV1GetGetOK) Error

func (*PayPalBraintreeAuthV1GetGetOK) GetPayload

type PayPalBraintreeAuthV1GetGetParams

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

PayPalBraintreeAuthV1GetGetParams contains all the parameters to send to the API endpoint

for the pay pal braintree auth v1 get get operation.

Typically these are written to a http.Request.

func NewPayPalBraintreeAuthV1GetGetParams

func NewPayPalBraintreeAuthV1GetGetParams() *PayPalBraintreeAuthV1GetGetParams

NewPayPalBraintreeAuthV1GetGetParams creates a new PayPalBraintreeAuthV1GetGetParams 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 NewPayPalBraintreeAuthV1GetGetParamsWithContext

func NewPayPalBraintreeAuthV1GetGetParamsWithContext(ctx context.Context) *PayPalBraintreeAuthV1GetGetParams

NewPayPalBraintreeAuthV1GetGetParamsWithContext creates a new PayPalBraintreeAuthV1GetGetParams object with the ability to set a context for a request.

func NewPayPalBraintreeAuthV1GetGetParamsWithHTTPClient

func NewPayPalBraintreeAuthV1GetGetParamsWithHTTPClient(client *http.Client) *PayPalBraintreeAuthV1GetGetParams

NewPayPalBraintreeAuthV1GetGetParamsWithHTTPClient creates a new PayPalBraintreeAuthV1GetGetParams object with the ability to set a custom HTTPClient for a request.

func NewPayPalBraintreeAuthV1GetGetParamsWithTimeout

func NewPayPalBraintreeAuthV1GetGetParamsWithTimeout(timeout time.Duration) *PayPalBraintreeAuthV1GetGetParams

NewPayPalBraintreeAuthV1GetGetParamsWithTimeout creates a new PayPalBraintreeAuthV1GetGetParams object with the ability to set a timeout on a request.

func (*PayPalBraintreeAuthV1GetGetParams) SetContext

SetContext adds the context to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) SetDefaults

func (o *PayPalBraintreeAuthV1GetGetParams) SetDefaults()

SetDefaults hydrates default values in the pay pal braintree auth v1 get get params (not the query body).

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

func (*PayPalBraintreeAuthV1GetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) SetTimeout

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

SetTimeout adds the timeout to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) WithContext

WithContext adds the context to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) WithDefaults

WithDefaults hydrates default values in the pay pal braintree auth v1 get get params (not the query body).

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

func (*PayPalBraintreeAuthV1GetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) WithTimeout

WithTimeout adds the timeout to the pay pal braintree auth v1 get get params

func (*PayPalBraintreeAuthV1GetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PayPalBraintreeAuthV1GetGetReader

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

PayPalBraintreeAuthV1GetGetReader is a Reader for the PayPalBraintreeAuthV1GetGet structure.

func (*PayPalBraintreeAuthV1GetGetReader) ReadResponse

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