pagamentos

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 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 pagamentos API

func (*Client) PaymentsGetConsentsConsentID

func (a *Client) PaymentsGetConsentsConsentID(params *PaymentsGetConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentsGetConsentsConsentIDOK, error)

PaymentsGetConsentsConsentID payments get consents consent Id

Mtodo para consulta do consentimento para a iniciao de pagamento.

func (*Client) PaymentsPostConsents

func (a *Client) PaymentsPostConsents(params *PaymentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentsPostConsentsCreated, error)

PaymentsPostConsents payments post consents

Mtodo de criao do consentimento para a iniciao de pagamento.

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 {
	PaymentsGetConsentsConsentID(params *PaymentsGetConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentsGetConsentsConsentIDOK, error)

	PaymentsPostConsents(params *PaymentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentsPostConsentsCreated, 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 pagamentos API client.

type PaymentsGetConsentsConsentIDBadRequest

type PaymentsGetConsentsConsentIDBadRequest struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDBadRequest describes a response with status code 400, with default header values.

A requisio foi malformada, omitindo atributos obrigatrios, seja no payload ou atravs de atributos na URL.

func NewPaymentsGetConsentsConsentIDBadRequest

func NewPaymentsGetConsentsConsentIDBadRequest() *PaymentsGetConsentsConsentIDBadRequest

NewPaymentsGetConsentsConsentIDBadRequest creates a PaymentsGetConsentsConsentIDBadRequest with default headers values

func (*PaymentsGetConsentsConsentIDBadRequest) Code

Code gets the status code for the payments get consents consent Id bad request response

func (*PaymentsGetConsentsConsentIDBadRequest) Error

func (*PaymentsGetConsentsConsentIDBadRequest) GetPayload

func (*PaymentsGetConsentsConsentIDBadRequest) IsClientError

func (o *PaymentsGetConsentsConsentIDBadRequest) IsClientError() bool

IsClientError returns true when this payments get consents consent Id bad request response has a 4xx status code

func (*PaymentsGetConsentsConsentIDBadRequest) IsCode

IsCode returns true when this payments get consents consent Id bad request response a status code equal to that given

func (*PaymentsGetConsentsConsentIDBadRequest) IsRedirect

IsRedirect returns true when this payments get consents consent Id bad request response has a 3xx status code

func (*PaymentsGetConsentsConsentIDBadRequest) IsServerError

func (o *PaymentsGetConsentsConsentIDBadRequest) IsServerError() bool

IsServerError returns true when this payments get consents consent Id bad request response has a 5xx status code

func (*PaymentsGetConsentsConsentIDBadRequest) IsSuccess

IsSuccess returns true when this payments get consents consent Id bad request response has a 2xx status code

func (*PaymentsGetConsentsConsentIDBadRequest) String

type PaymentsGetConsentsConsentIDDefault

type PaymentsGetConsentsConsentIDDefault struct {
	Payload *models.ResponseError
	// contains filtered or unexported fields
}

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

Erro inesperado.

func NewPaymentsGetConsentsConsentIDDefault

func NewPaymentsGetConsentsConsentIDDefault(code int) *PaymentsGetConsentsConsentIDDefault

NewPaymentsGetConsentsConsentIDDefault creates a PaymentsGetConsentsConsentIDDefault with default headers values

func (*PaymentsGetConsentsConsentIDDefault) Code

Code gets the status code for the payments get consents consent Id default response

func (*PaymentsGetConsentsConsentIDDefault) Error

func (*PaymentsGetConsentsConsentIDDefault) GetPayload

func (*PaymentsGetConsentsConsentIDDefault) IsClientError

func (o *PaymentsGetConsentsConsentIDDefault) IsClientError() bool

IsClientError returns true when this payments get consents consent Id default response has a 4xx status code

func (*PaymentsGetConsentsConsentIDDefault) IsCode

IsCode returns true when this payments get consents consent Id default response a status code equal to that given

func (*PaymentsGetConsentsConsentIDDefault) IsRedirect

func (o *PaymentsGetConsentsConsentIDDefault) IsRedirect() bool

IsRedirect returns true when this payments get consents consent Id default response has a 3xx status code

func (*PaymentsGetConsentsConsentIDDefault) IsServerError

func (o *PaymentsGetConsentsConsentIDDefault) IsServerError() bool

IsServerError returns true when this payments get consents consent Id default response has a 5xx status code

func (*PaymentsGetConsentsConsentIDDefault) IsSuccess

IsSuccess returns true when this payments get consents consent Id default response has a 2xx status code

func (*PaymentsGetConsentsConsentIDDefault) String

type PaymentsGetConsentsConsentIDForbidden

type PaymentsGetConsentsConsentIDForbidden struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDForbidden describes a response with status code 403, with default header values.

O token tem escopo incorreto ou uma poltica de segurana foi violada

func NewPaymentsGetConsentsConsentIDForbidden

func NewPaymentsGetConsentsConsentIDForbidden() *PaymentsGetConsentsConsentIDForbidden

NewPaymentsGetConsentsConsentIDForbidden creates a PaymentsGetConsentsConsentIDForbidden with default headers values

func (*PaymentsGetConsentsConsentIDForbidden) Code

Code gets the status code for the payments get consents consent Id forbidden response

func (*PaymentsGetConsentsConsentIDForbidden) Error

func (*PaymentsGetConsentsConsentIDForbidden) GetPayload

func (*PaymentsGetConsentsConsentIDForbidden) IsClientError

func (o *PaymentsGetConsentsConsentIDForbidden) IsClientError() bool

IsClientError returns true when this payments get consents consent Id forbidden response has a 4xx status code

func (*PaymentsGetConsentsConsentIDForbidden) IsCode

IsCode returns true when this payments get consents consent Id forbidden response a status code equal to that given

func (*PaymentsGetConsentsConsentIDForbidden) IsRedirect

IsRedirect returns true when this payments get consents consent Id forbidden response has a 3xx status code

func (*PaymentsGetConsentsConsentIDForbidden) IsServerError

func (o *PaymentsGetConsentsConsentIDForbidden) IsServerError() bool

IsServerError returns true when this payments get consents consent Id forbidden response has a 5xx status code

func (*PaymentsGetConsentsConsentIDForbidden) IsSuccess

IsSuccess returns true when this payments get consents consent Id forbidden response has a 2xx status code

func (*PaymentsGetConsentsConsentIDForbidden) String

type PaymentsGetConsentsConsentIDInternalServerError

type PaymentsGetConsentsConsentIDInternalServerError struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.

Ocorreu um erro no gateway da API ou no microsservio

func NewPaymentsGetConsentsConsentIDInternalServerError

func NewPaymentsGetConsentsConsentIDInternalServerError() *PaymentsGetConsentsConsentIDInternalServerError

NewPaymentsGetConsentsConsentIDInternalServerError creates a PaymentsGetConsentsConsentIDInternalServerError with default headers values

func (*PaymentsGetConsentsConsentIDInternalServerError) Code

Code gets the status code for the payments get consents consent Id internal server error response

func (*PaymentsGetConsentsConsentIDInternalServerError) Error

func (*PaymentsGetConsentsConsentIDInternalServerError) GetPayload

func (*PaymentsGetConsentsConsentIDInternalServerError) IsClientError

IsClientError returns true when this payments get consents consent Id internal server error response has a 4xx status code

func (*PaymentsGetConsentsConsentIDInternalServerError) IsCode

IsCode returns true when this payments get consents consent Id internal server error response a status code equal to that given

func (*PaymentsGetConsentsConsentIDInternalServerError) IsRedirect

IsRedirect returns true when this payments get consents consent Id internal server error response has a 3xx status code

func (*PaymentsGetConsentsConsentIDInternalServerError) IsServerError

IsServerError returns true when this payments get consents consent Id internal server error response has a 5xx status code

func (*PaymentsGetConsentsConsentIDInternalServerError) IsSuccess

IsSuccess returns true when this payments get consents consent Id internal server error response has a 2xx status code

func (*PaymentsGetConsentsConsentIDInternalServerError) String

type PaymentsGetConsentsConsentIDMethodNotAllowed

type PaymentsGetConsentsConsentIDMethodNotAllowed struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.

O consumidor tentou acessar o recurso com um mtodo no suportado

func NewPaymentsGetConsentsConsentIDMethodNotAllowed

func NewPaymentsGetConsentsConsentIDMethodNotAllowed() *PaymentsGetConsentsConsentIDMethodNotAllowed

NewPaymentsGetConsentsConsentIDMethodNotAllowed creates a PaymentsGetConsentsConsentIDMethodNotAllowed with default headers values

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) Code

Code gets the status code for the payments get consents consent Id method not allowed response

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) Error

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) GetPayload

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsClientError

IsClientError returns true when this payments get consents consent Id method not allowed response has a 4xx status code

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsCode

IsCode returns true when this payments get consents consent Id method not allowed response a status code equal to that given

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsRedirect

IsRedirect returns true when this payments get consents consent Id method not allowed response has a 3xx status code

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsServerError

IsServerError returns true when this payments get consents consent Id method not allowed response has a 5xx status code

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsSuccess

IsSuccess returns true when this payments get consents consent Id method not allowed response has a 2xx status code

func (*PaymentsGetConsentsConsentIDMethodNotAllowed) String

type PaymentsGetConsentsConsentIDNotAcceptable

type PaymentsGetConsentsConsentIDNotAcceptable struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.

A solicitao continha um cabealho Accept diferente dos tipos de mdia permitidos ou um conjunto de caracteres diferente de UTF-8

func NewPaymentsGetConsentsConsentIDNotAcceptable

func NewPaymentsGetConsentsConsentIDNotAcceptable() *PaymentsGetConsentsConsentIDNotAcceptable

NewPaymentsGetConsentsConsentIDNotAcceptable creates a PaymentsGetConsentsConsentIDNotAcceptable with default headers values

func (*PaymentsGetConsentsConsentIDNotAcceptable) Code

Code gets the status code for the payments get consents consent Id not acceptable response

func (*PaymentsGetConsentsConsentIDNotAcceptable) Error

func (*PaymentsGetConsentsConsentIDNotAcceptable) GetPayload

func (*PaymentsGetConsentsConsentIDNotAcceptable) IsClientError

IsClientError returns true when this payments get consents consent Id not acceptable response has a 4xx status code

func (*PaymentsGetConsentsConsentIDNotAcceptable) IsCode

IsCode returns true when this payments get consents consent Id not acceptable response a status code equal to that given

func (*PaymentsGetConsentsConsentIDNotAcceptable) IsRedirect

IsRedirect returns true when this payments get consents consent Id not acceptable response has a 3xx status code

func (*PaymentsGetConsentsConsentIDNotAcceptable) IsServerError

IsServerError returns true when this payments get consents consent Id not acceptable response has a 5xx status code

func (*PaymentsGetConsentsConsentIDNotAcceptable) IsSuccess

IsSuccess returns true when this payments get consents consent Id not acceptable response has a 2xx status code

func (*PaymentsGetConsentsConsentIDNotAcceptable) String

type PaymentsGetConsentsConsentIDNotFound

type PaymentsGetConsentsConsentIDNotFound struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDNotFound describes a response with status code 404, with default header values.

O recurso solicitado no existe ou no foi implementado

func NewPaymentsGetConsentsConsentIDNotFound

func NewPaymentsGetConsentsConsentIDNotFound() *PaymentsGetConsentsConsentIDNotFound

NewPaymentsGetConsentsConsentIDNotFound creates a PaymentsGetConsentsConsentIDNotFound with default headers values

func (*PaymentsGetConsentsConsentIDNotFound) Code

Code gets the status code for the payments get consents consent Id not found response

func (*PaymentsGetConsentsConsentIDNotFound) Error

func (*PaymentsGetConsentsConsentIDNotFound) GetPayload

func (*PaymentsGetConsentsConsentIDNotFound) IsClientError

func (o *PaymentsGetConsentsConsentIDNotFound) IsClientError() bool

IsClientError returns true when this payments get consents consent Id not found response has a 4xx status code

func (*PaymentsGetConsentsConsentIDNotFound) IsCode

IsCode returns true when this payments get consents consent Id not found response a status code equal to that given

func (*PaymentsGetConsentsConsentIDNotFound) IsRedirect

IsRedirect returns true when this payments get consents consent Id not found response has a 3xx status code

func (*PaymentsGetConsentsConsentIDNotFound) IsServerError

func (o *PaymentsGetConsentsConsentIDNotFound) IsServerError() bool

IsServerError returns true when this payments get consents consent Id not found response has a 5xx status code

func (*PaymentsGetConsentsConsentIDNotFound) IsSuccess

IsSuccess returns true when this payments get consents consent Id not found response has a 2xx status code

func (*PaymentsGetConsentsConsentIDNotFound) String

type PaymentsGetConsentsConsentIDOK

type PaymentsGetConsentsConsentIDOK struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload interface{}
}

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

Dados do consentimento de pagamento obtidos com sucesso.

func NewPaymentsGetConsentsConsentIDOK

func NewPaymentsGetConsentsConsentIDOK() *PaymentsGetConsentsConsentIDOK

NewPaymentsGetConsentsConsentIDOK creates a PaymentsGetConsentsConsentIDOK with default headers values

func (*PaymentsGetConsentsConsentIDOK) Code

Code gets the status code for the payments get consents consent Id o k response

func (*PaymentsGetConsentsConsentIDOK) Error

func (*PaymentsGetConsentsConsentIDOK) GetPayload

func (o *PaymentsGetConsentsConsentIDOK) GetPayload() interface{}

func (*PaymentsGetConsentsConsentIDOK) IsClientError

func (o *PaymentsGetConsentsConsentIDOK) IsClientError() bool

IsClientError returns true when this payments get consents consent Id o k response has a 4xx status code

func (*PaymentsGetConsentsConsentIDOK) IsCode

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

IsCode returns true when this payments get consents consent Id o k response a status code equal to that given

func (*PaymentsGetConsentsConsentIDOK) IsRedirect

func (o *PaymentsGetConsentsConsentIDOK) IsRedirect() bool

IsRedirect returns true when this payments get consents consent Id o k response has a 3xx status code

func (*PaymentsGetConsentsConsentIDOK) IsServerError

func (o *PaymentsGetConsentsConsentIDOK) IsServerError() bool

IsServerError returns true when this payments get consents consent Id o k response has a 5xx status code

func (*PaymentsGetConsentsConsentIDOK) IsSuccess

func (o *PaymentsGetConsentsConsentIDOK) IsSuccess() bool

IsSuccess returns true when this payments get consents consent Id o k response has a 2xx status code

func (*PaymentsGetConsentsConsentIDOK) String

type PaymentsGetConsentsConsentIDParams

type PaymentsGetConsentsConsentIDParams struct {

	/* Authorization.

	   Cabealho HTTP padro. Permite que as credenciais sejam fornecidas dependendo do tipo de recurso solicitado
	*/
	Authorization string

	/* ConsentID.

	     O consentId  o identificador nico do consentimento e dever ser um URN - Uniform Resource Name.
	Um URN, conforme definido na [RFC8141](https://tools.ietf.org/html/rfc8141)  um Uniform Resource
	Identifier - URI - que  atribudo sob o URI scheme "urn" e um namespace URN especfico, com a inteno de que o URN
	seja um identificador de recurso persistente e independente da localizao.
	Considerando a string urn:bancoex:C1DD33123 como exemplo para consentId temos:
	- o namespace(urn)
	- o identificador associado ao namespace da instituio transnmissora (bancoex)
	- o identificador especfico dentro do namespace (C1DD33123).
	Informaes mais detalhadas sobre a construo de namespaces devem ser consultadas na [RFC8141](https://tools.ietf.org/html/rfc8141).
	*/
	ConsentID string

	/* XCustomerUserAgent.

	   Indica o user-agent que o usurio utiliza.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	   Data em que o usurio logou pela ltima vez com o receptor. Representada de acordo com a [RFC7231](https://tools.ietf.org/html/rfc7231).Exemplo: Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   O endereo IP do usurio se estiver atualmente logado com o receptor.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

	   Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta.
	*/
	XFapiInteractionID *string

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

PaymentsGetConsentsConsentIDParams contains all the parameters to send to the API endpoint

for the payments get consents consent Id operation.

Typically these are written to a http.Request.

func NewPaymentsGetConsentsConsentIDParams

func NewPaymentsGetConsentsConsentIDParams() *PaymentsGetConsentsConsentIDParams

NewPaymentsGetConsentsConsentIDParams creates a new PaymentsGetConsentsConsentIDParams 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 NewPaymentsGetConsentsConsentIDParamsWithContext

func NewPaymentsGetConsentsConsentIDParamsWithContext(ctx context.Context) *PaymentsGetConsentsConsentIDParams

NewPaymentsGetConsentsConsentIDParamsWithContext creates a new PaymentsGetConsentsConsentIDParams object with the ability to set a context for a request.

func NewPaymentsGetConsentsConsentIDParamsWithHTTPClient

func NewPaymentsGetConsentsConsentIDParamsWithHTTPClient(client *http.Client) *PaymentsGetConsentsConsentIDParams

NewPaymentsGetConsentsConsentIDParamsWithHTTPClient creates a new PaymentsGetConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentsGetConsentsConsentIDParamsWithTimeout

func NewPaymentsGetConsentsConsentIDParamsWithTimeout(timeout time.Duration) *PaymentsGetConsentsConsentIDParams

NewPaymentsGetConsentsConsentIDParamsWithTimeout creates a new PaymentsGetConsentsConsentIDParams object with the ability to set a timeout on a request.

func (*PaymentsGetConsentsConsentIDParams) SetAuthorization

func (o *PaymentsGetConsentsConsentIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetConsentID

func (o *PaymentsGetConsentsConsentIDParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetContext

SetContext adds the context to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetDefaults

func (o *PaymentsGetConsentsConsentIDParams) SetDefaults()

SetDefaults hydrates default values in the payments get consents consent Id params (not the query body).

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

func (*PaymentsGetConsentsConsentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetTimeout

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

SetTimeout adds the timeout to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetXCustomerUserAgent

func (o *PaymentsGetConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetXFapiAuthDate

func (o *PaymentsGetConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress

func (o *PaymentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) SetXFapiInteractionID

func (o *PaymentsGetConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithAuthorization

WithAuthorization adds the authorization to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithContext

WithContext adds the context to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithDefaults

WithDefaults hydrates default values in the payments get consents consent Id params (not the query body).

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

func (*PaymentsGetConsentsConsentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithTimeout

WithTimeout adds the timeout to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithXCustomerUserAgent

func (o *PaymentsGetConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *PaymentsGetConsentsConsentIDParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress

func (o *PaymentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *PaymentsGetConsentsConsentIDParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WithXFapiInteractionID

func (o *PaymentsGetConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *PaymentsGetConsentsConsentIDParams

WithXFapiInteractionID adds the xFapiInteractionID to the payments get consents consent Id params

func (*PaymentsGetConsentsConsentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentsGetConsentsConsentIDReader

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

PaymentsGetConsentsConsentIDReader is a Reader for the PaymentsGetConsentsConsentID structure.

func (*PaymentsGetConsentsConsentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentsGetConsentsConsentIDTooManyRequests

type PaymentsGetConsentsConsentIDTooManyRequests struct {

	/* Cabealho que indica o tempo (em segundos) que o cliente dever aguardar para realizar uma nova tentativa de chamada. Este cabealho dever estar presente quando o cdigo HTTP de retorno for 429 Too many requests.

	 */
	RetryAfter string

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.

A operao foi recusada, pois muitas solicitaes foram feitas dentro de um determinado perodo ou o limite global de requisies concorrentes foi atingido

func NewPaymentsGetConsentsConsentIDTooManyRequests

func NewPaymentsGetConsentsConsentIDTooManyRequests() *PaymentsGetConsentsConsentIDTooManyRequests

NewPaymentsGetConsentsConsentIDTooManyRequests creates a PaymentsGetConsentsConsentIDTooManyRequests with default headers values

func (*PaymentsGetConsentsConsentIDTooManyRequests) Code

Code gets the status code for the payments get consents consent Id too many requests response

func (*PaymentsGetConsentsConsentIDTooManyRequests) Error

func (*PaymentsGetConsentsConsentIDTooManyRequests) GetPayload

func (*PaymentsGetConsentsConsentIDTooManyRequests) IsClientError

IsClientError returns true when this payments get consents consent Id too many requests response has a 4xx status code

func (*PaymentsGetConsentsConsentIDTooManyRequests) IsCode

IsCode returns true when this payments get consents consent Id too many requests response a status code equal to that given

func (*PaymentsGetConsentsConsentIDTooManyRequests) IsRedirect

IsRedirect returns true when this payments get consents consent Id too many requests response has a 3xx status code

func (*PaymentsGetConsentsConsentIDTooManyRequests) IsServerError

IsServerError returns true when this payments get consents consent Id too many requests response has a 5xx status code

func (*PaymentsGetConsentsConsentIDTooManyRequests) IsSuccess

IsSuccess returns true when this payments get consents consent Id too many requests response has a 2xx status code

func (*PaymentsGetConsentsConsentIDTooManyRequests) String

type PaymentsGetConsentsConsentIDUnauthorized

type PaymentsGetConsentsConsentIDUnauthorized struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsGetConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.

Cabealho de autenticao ausente/invlido ou token invlido

func NewPaymentsGetConsentsConsentIDUnauthorized

func NewPaymentsGetConsentsConsentIDUnauthorized() *PaymentsGetConsentsConsentIDUnauthorized

NewPaymentsGetConsentsConsentIDUnauthorized creates a PaymentsGetConsentsConsentIDUnauthorized with default headers values

func (*PaymentsGetConsentsConsentIDUnauthorized) Code

Code gets the status code for the payments get consents consent Id unauthorized response

func (*PaymentsGetConsentsConsentIDUnauthorized) Error

func (*PaymentsGetConsentsConsentIDUnauthorized) GetPayload

func (*PaymentsGetConsentsConsentIDUnauthorized) IsClientError

IsClientError returns true when this payments get consents consent Id unauthorized response has a 4xx status code

func (*PaymentsGetConsentsConsentIDUnauthorized) IsCode

IsCode returns true when this payments get consents consent Id unauthorized response a status code equal to that given

func (*PaymentsGetConsentsConsentIDUnauthorized) IsRedirect

IsRedirect returns true when this payments get consents consent Id unauthorized response has a 3xx status code

func (*PaymentsGetConsentsConsentIDUnauthorized) IsServerError

IsServerError returns true when this payments get consents consent Id unauthorized response has a 5xx status code

func (*PaymentsGetConsentsConsentIDUnauthorized) IsSuccess

IsSuccess returns true when this payments get consents consent Id unauthorized response has a 2xx status code

func (*PaymentsGetConsentsConsentIDUnauthorized) String

type PaymentsPostConsentsBadRequest

type PaymentsPostConsentsBadRequest struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsBadRequest describes a response with status code 400, with default header values.

A requisio foi malformada, omitindo atributos obrigatrios, seja no payload ou atravs de atributos na URL.

func NewPaymentsPostConsentsBadRequest

func NewPaymentsPostConsentsBadRequest() *PaymentsPostConsentsBadRequest

NewPaymentsPostConsentsBadRequest creates a PaymentsPostConsentsBadRequest with default headers values

func (*PaymentsPostConsentsBadRequest) Code

Code gets the status code for the payments post consents bad request response

func (*PaymentsPostConsentsBadRequest) Error

func (*PaymentsPostConsentsBadRequest) GetPayload

func (*PaymentsPostConsentsBadRequest) IsClientError

func (o *PaymentsPostConsentsBadRequest) IsClientError() bool

IsClientError returns true when this payments post consents bad request response has a 4xx status code

func (*PaymentsPostConsentsBadRequest) IsCode

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

IsCode returns true when this payments post consents bad request response a status code equal to that given

func (*PaymentsPostConsentsBadRequest) IsRedirect

func (o *PaymentsPostConsentsBadRequest) IsRedirect() bool

IsRedirect returns true when this payments post consents bad request response has a 3xx status code

func (*PaymentsPostConsentsBadRequest) IsServerError

func (o *PaymentsPostConsentsBadRequest) IsServerError() bool

IsServerError returns true when this payments post consents bad request response has a 5xx status code

func (*PaymentsPostConsentsBadRequest) IsSuccess

func (o *PaymentsPostConsentsBadRequest) IsSuccess() bool

IsSuccess returns true when this payments post consents bad request response has a 2xx status code

func (*PaymentsPostConsentsBadRequest) String

type PaymentsPostConsentsCreated

type PaymentsPostConsentsCreated struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload interface{}
}

PaymentsPostConsentsCreated describes a response with status code 201, with default header values.

Consentimento de pagamento criado com sucesso.

func NewPaymentsPostConsentsCreated

func NewPaymentsPostConsentsCreated() *PaymentsPostConsentsCreated

NewPaymentsPostConsentsCreated creates a PaymentsPostConsentsCreated with default headers values

func (*PaymentsPostConsentsCreated) Code

func (o *PaymentsPostConsentsCreated) Code() int

Code gets the status code for the payments post consents created response

func (*PaymentsPostConsentsCreated) Error

func (*PaymentsPostConsentsCreated) GetPayload

func (o *PaymentsPostConsentsCreated) GetPayload() interface{}

func (*PaymentsPostConsentsCreated) IsClientError

func (o *PaymentsPostConsentsCreated) IsClientError() bool

IsClientError returns true when this payments post consents created response has a 4xx status code

func (*PaymentsPostConsentsCreated) IsCode

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

IsCode returns true when this payments post consents created response a status code equal to that given

func (*PaymentsPostConsentsCreated) IsRedirect

func (o *PaymentsPostConsentsCreated) IsRedirect() bool

IsRedirect returns true when this payments post consents created response has a 3xx status code

func (*PaymentsPostConsentsCreated) IsServerError

func (o *PaymentsPostConsentsCreated) IsServerError() bool

IsServerError returns true when this payments post consents created response has a 5xx status code

func (*PaymentsPostConsentsCreated) IsSuccess

func (o *PaymentsPostConsentsCreated) IsSuccess() bool

IsSuccess returns true when this payments post consents created response has a 2xx status code

func (*PaymentsPostConsentsCreated) String

func (o *PaymentsPostConsentsCreated) String() string

type PaymentsPostConsentsDefault

type PaymentsPostConsentsDefault struct {
	Payload *models.ResponseError
	// contains filtered or unexported fields
}

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

Erro inesperado.

func NewPaymentsPostConsentsDefault

func NewPaymentsPostConsentsDefault(code int) *PaymentsPostConsentsDefault

NewPaymentsPostConsentsDefault creates a PaymentsPostConsentsDefault with default headers values

func (*PaymentsPostConsentsDefault) Code

func (o *PaymentsPostConsentsDefault) Code() int

Code gets the status code for the payments post consents default response

func (*PaymentsPostConsentsDefault) Error

func (*PaymentsPostConsentsDefault) GetPayload

func (*PaymentsPostConsentsDefault) IsClientError

func (o *PaymentsPostConsentsDefault) IsClientError() bool

IsClientError returns true when this payments post consents default response has a 4xx status code

func (*PaymentsPostConsentsDefault) IsCode

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

IsCode returns true when this payments post consents default response a status code equal to that given

func (*PaymentsPostConsentsDefault) IsRedirect

func (o *PaymentsPostConsentsDefault) IsRedirect() bool

IsRedirect returns true when this payments post consents default response has a 3xx status code

func (*PaymentsPostConsentsDefault) IsServerError

func (o *PaymentsPostConsentsDefault) IsServerError() bool

IsServerError returns true when this payments post consents default response has a 5xx status code

func (*PaymentsPostConsentsDefault) IsSuccess

func (o *PaymentsPostConsentsDefault) IsSuccess() bool

IsSuccess returns true when this payments post consents default response has a 2xx status code

func (*PaymentsPostConsentsDefault) String

func (o *PaymentsPostConsentsDefault) String() string

type PaymentsPostConsentsForbidden

type PaymentsPostConsentsForbidden struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsForbidden describes a response with status code 403, with default header values.

O token tem escopo incorreto ou uma poltica de segurana foi violada

func NewPaymentsPostConsentsForbidden

func NewPaymentsPostConsentsForbidden() *PaymentsPostConsentsForbidden

NewPaymentsPostConsentsForbidden creates a PaymentsPostConsentsForbidden with default headers values

func (*PaymentsPostConsentsForbidden) Code

Code gets the status code for the payments post consents forbidden response

func (*PaymentsPostConsentsForbidden) Error

func (*PaymentsPostConsentsForbidden) GetPayload

func (*PaymentsPostConsentsForbidden) IsClientError

func (o *PaymentsPostConsentsForbidden) IsClientError() bool

IsClientError returns true when this payments post consents forbidden response has a 4xx status code

func (*PaymentsPostConsentsForbidden) IsCode

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

IsCode returns true when this payments post consents forbidden response a status code equal to that given

func (*PaymentsPostConsentsForbidden) IsRedirect

func (o *PaymentsPostConsentsForbidden) IsRedirect() bool

IsRedirect returns true when this payments post consents forbidden response has a 3xx status code

func (*PaymentsPostConsentsForbidden) IsServerError

func (o *PaymentsPostConsentsForbidden) IsServerError() bool

IsServerError returns true when this payments post consents forbidden response has a 5xx status code

func (*PaymentsPostConsentsForbidden) IsSuccess

func (o *PaymentsPostConsentsForbidden) IsSuccess() bool

IsSuccess returns true when this payments post consents forbidden response has a 2xx status code

func (*PaymentsPostConsentsForbidden) String

type PaymentsPostConsentsInternalServerError

type PaymentsPostConsentsInternalServerError struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsInternalServerError describes a response with status code 500, with default header values.

Ocorreu um erro no gateway da API ou no microsservio

func NewPaymentsPostConsentsInternalServerError

func NewPaymentsPostConsentsInternalServerError() *PaymentsPostConsentsInternalServerError

NewPaymentsPostConsentsInternalServerError creates a PaymentsPostConsentsInternalServerError with default headers values

func (*PaymentsPostConsentsInternalServerError) Code

Code gets the status code for the payments post consents internal server error response

func (*PaymentsPostConsentsInternalServerError) Error

func (*PaymentsPostConsentsInternalServerError) GetPayload

func (*PaymentsPostConsentsInternalServerError) IsClientError

func (o *PaymentsPostConsentsInternalServerError) IsClientError() bool

IsClientError returns true when this payments post consents internal server error response has a 4xx status code

func (*PaymentsPostConsentsInternalServerError) IsCode

IsCode returns true when this payments post consents internal server error response a status code equal to that given

func (*PaymentsPostConsentsInternalServerError) IsRedirect

IsRedirect returns true when this payments post consents internal server error response has a 3xx status code

func (*PaymentsPostConsentsInternalServerError) IsServerError

func (o *PaymentsPostConsentsInternalServerError) IsServerError() bool

IsServerError returns true when this payments post consents internal server error response has a 5xx status code

func (*PaymentsPostConsentsInternalServerError) IsSuccess

IsSuccess returns true when this payments post consents internal server error response has a 2xx status code

func (*PaymentsPostConsentsInternalServerError) String

type PaymentsPostConsentsMethodNotAllowed

type PaymentsPostConsentsMethodNotAllowed struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsMethodNotAllowed describes a response with status code 405, with default header values.

O consumidor tentou acessar o recurso com um mtodo no suportado

func NewPaymentsPostConsentsMethodNotAllowed

func NewPaymentsPostConsentsMethodNotAllowed() *PaymentsPostConsentsMethodNotAllowed

NewPaymentsPostConsentsMethodNotAllowed creates a PaymentsPostConsentsMethodNotAllowed with default headers values

func (*PaymentsPostConsentsMethodNotAllowed) Code

Code gets the status code for the payments post consents method not allowed response

func (*PaymentsPostConsentsMethodNotAllowed) Error

func (*PaymentsPostConsentsMethodNotAllowed) GetPayload

func (*PaymentsPostConsentsMethodNotAllowed) IsClientError

func (o *PaymentsPostConsentsMethodNotAllowed) IsClientError() bool

IsClientError returns true when this payments post consents method not allowed response has a 4xx status code

func (*PaymentsPostConsentsMethodNotAllowed) IsCode

IsCode returns true when this payments post consents method not allowed response a status code equal to that given

func (*PaymentsPostConsentsMethodNotAllowed) IsRedirect

IsRedirect returns true when this payments post consents method not allowed response has a 3xx status code

func (*PaymentsPostConsentsMethodNotAllowed) IsServerError

func (o *PaymentsPostConsentsMethodNotAllowed) IsServerError() bool

IsServerError returns true when this payments post consents method not allowed response has a 5xx status code

func (*PaymentsPostConsentsMethodNotAllowed) IsSuccess

IsSuccess returns true when this payments post consents method not allowed response has a 2xx status code

func (*PaymentsPostConsentsMethodNotAllowed) String

type PaymentsPostConsentsNotAcceptable

type PaymentsPostConsentsNotAcceptable struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsNotAcceptable describes a response with status code 406, with default header values.

A solicitao continha um cabealho Accept diferente dos tipos de mdia permitidos ou um conjunto de caracteres diferente de UTF-8

func NewPaymentsPostConsentsNotAcceptable

func NewPaymentsPostConsentsNotAcceptable() *PaymentsPostConsentsNotAcceptable

NewPaymentsPostConsentsNotAcceptable creates a PaymentsPostConsentsNotAcceptable with default headers values

func (*PaymentsPostConsentsNotAcceptable) Code

Code gets the status code for the payments post consents not acceptable response

func (*PaymentsPostConsentsNotAcceptable) Error

func (*PaymentsPostConsentsNotAcceptable) GetPayload

func (*PaymentsPostConsentsNotAcceptable) IsClientError

func (o *PaymentsPostConsentsNotAcceptable) IsClientError() bool

IsClientError returns true when this payments post consents not acceptable response has a 4xx status code

func (*PaymentsPostConsentsNotAcceptable) IsCode

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

IsCode returns true when this payments post consents not acceptable response a status code equal to that given

func (*PaymentsPostConsentsNotAcceptable) IsRedirect

func (o *PaymentsPostConsentsNotAcceptable) IsRedirect() bool

IsRedirect returns true when this payments post consents not acceptable response has a 3xx status code

func (*PaymentsPostConsentsNotAcceptable) IsServerError

func (o *PaymentsPostConsentsNotAcceptable) IsServerError() bool

IsServerError returns true when this payments post consents not acceptable response has a 5xx status code

func (*PaymentsPostConsentsNotAcceptable) IsSuccess

func (o *PaymentsPostConsentsNotAcceptable) IsSuccess() bool

IsSuccess returns true when this payments post consents not acceptable response has a 2xx status code

func (*PaymentsPostConsentsNotAcceptable) String

type PaymentsPostConsentsNotFound

type PaymentsPostConsentsNotFound struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsNotFound describes a response with status code 404, with default header values.

O recurso solicitado no existe ou no foi implementado

func NewPaymentsPostConsentsNotFound

func NewPaymentsPostConsentsNotFound() *PaymentsPostConsentsNotFound

NewPaymentsPostConsentsNotFound creates a PaymentsPostConsentsNotFound with default headers values

func (*PaymentsPostConsentsNotFound) Code

Code gets the status code for the payments post consents not found response

func (*PaymentsPostConsentsNotFound) Error

func (*PaymentsPostConsentsNotFound) GetPayload

func (*PaymentsPostConsentsNotFound) IsClientError

func (o *PaymentsPostConsentsNotFound) IsClientError() bool

IsClientError returns true when this payments post consents not found response has a 4xx status code

func (*PaymentsPostConsentsNotFound) IsCode

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

IsCode returns true when this payments post consents not found response a status code equal to that given

func (*PaymentsPostConsentsNotFound) IsRedirect

func (o *PaymentsPostConsentsNotFound) IsRedirect() bool

IsRedirect returns true when this payments post consents not found response has a 3xx status code

func (*PaymentsPostConsentsNotFound) IsServerError

func (o *PaymentsPostConsentsNotFound) IsServerError() bool

IsServerError returns true when this payments post consents not found response has a 5xx status code

func (*PaymentsPostConsentsNotFound) IsSuccess

func (o *PaymentsPostConsentsNotFound) IsSuccess() bool

IsSuccess returns true when this payments post consents not found response has a 2xx status code

func (*PaymentsPostConsentsNotFound) String

type PaymentsPostConsentsParams

type PaymentsPostConsentsParams struct {

	/* Authorization.

	   Cabealho HTTP padro. Permite que as credenciais sejam fornecidas dependendo do tipo de recurso solicitado
	*/
	Authorization string

	/* Body.

	   Payload para criao do consentimento para iniciao do pagamento.
	*/
	Body interface{}

	/* XCustomerUserAgent.

	   Indica o user-agent que o usurio utiliza.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	   Data em que o usurio logou pela ltima vez com o receptor. Representada de acordo com a [RFC7231](https://tools.ietf.org/html/rfc7231).Exemplo: Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   O endereo IP do usurio se estiver atualmente logado com o receptor.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

	   Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta.
	*/
	XFapiInteractionID *string

	/* XIdempotencyKey.

	   Cabealho HTTP personalizado. Identificador de solicitao exclusivo para suportar a idempotncia.
	*/
	XIdempotencyKey string

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

PaymentsPostConsentsParams contains all the parameters to send to the API endpoint

for the payments post consents operation.

Typically these are written to a http.Request.

func NewPaymentsPostConsentsParams

func NewPaymentsPostConsentsParams() *PaymentsPostConsentsParams

NewPaymentsPostConsentsParams creates a new PaymentsPostConsentsParams 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 NewPaymentsPostConsentsParamsWithContext

func NewPaymentsPostConsentsParamsWithContext(ctx context.Context) *PaymentsPostConsentsParams

NewPaymentsPostConsentsParamsWithContext creates a new PaymentsPostConsentsParams object with the ability to set a context for a request.

func NewPaymentsPostConsentsParamsWithHTTPClient

func NewPaymentsPostConsentsParamsWithHTTPClient(client *http.Client) *PaymentsPostConsentsParams

NewPaymentsPostConsentsParamsWithHTTPClient creates a new PaymentsPostConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentsPostConsentsParamsWithTimeout

func NewPaymentsPostConsentsParamsWithTimeout(timeout time.Duration) *PaymentsPostConsentsParams

NewPaymentsPostConsentsParamsWithTimeout creates a new PaymentsPostConsentsParams object with the ability to set a timeout on a request.

func (*PaymentsPostConsentsParams) SetAuthorization

func (o *PaymentsPostConsentsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the payments post consents params

func (*PaymentsPostConsentsParams) SetBody

func (o *PaymentsPostConsentsParams) SetBody(body interface{})

SetBody adds the body to the payments post consents params

func (*PaymentsPostConsentsParams) SetContext

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

SetContext adds the context to the payments post consents params

func (*PaymentsPostConsentsParams) SetDefaults

func (o *PaymentsPostConsentsParams) SetDefaults()

SetDefaults hydrates default values in the payments post consents params (not the query body).

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

func (*PaymentsPostConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payments post consents params

func (*PaymentsPostConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the payments post consents params

func (*PaymentsPostConsentsParams) SetXCustomerUserAgent

func (o *PaymentsPostConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the payments post consents params

func (*PaymentsPostConsentsParams) SetXFapiAuthDate

func (o *PaymentsPostConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the payments post consents params

func (*PaymentsPostConsentsParams) SetXFapiCustomerIPAddress

func (o *PaymentsPostConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the payments post consents params

func (*PaymentsPostConsentsParams) SetXFapiInteractionID

func (o *PaymentsPostConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the payments post consents params

func (*PaymentsPostConsentsParams) SetXIdempotencyKey

func (o *PaymentsPostConsentsParams) SetXIdempotencyKey(xIdempotencyKey string)

SetXIdempotencyKey adds the xIdempotencyKey to the payments post consents params

func (*PaymentsPostConsentsParams) WithAuthorization

func (o *PaymentsPostConsentsParams) WithAuthorization(authorization string) *PaymentsPostConsentsParams

WithAuthorization adds the authorization to the payments post consents params

func (*PaymentsPostConsentsParams) WithBody

func (o *PaymentsPostConsentsParams) WithBody(body interface{}) *PaymentsPostConsentsParams

WithBody adds the body to the payments post consents params

func (*PaymentsPostConsentsParams) WithContext

WithContext adds the context to the payments post consents params

func (*PaymentsPostConsentsParams) WithDefaults

WithDefaults hydrates default values in the payments post consents params (not the query body).

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

func (*PaymentsPostConsentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payments post consents params

func (*PaymentsPostConsentsParams) WithTimeout

WithTimeout adds the timeout to the payments post consents params

func (*PaymentsPostConsentsParams) WithXCustomerUserAgent

func (o *PaymentsPostConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *PaymentsPostConsentsParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the payments post consents params

func (*PaymentsPostConsentsParams) WithXFapiAuthDate

func (o *PaymentsPostConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *PaymentsPostConsentsParams

WithXFapiAuthDate adds the xFapiAuthDate to the payments post consents params

func (*PaymentsPostConsentsParams) WithXFapiCustomerIPAddress

func (o *PaymentsPostConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *PaymentsPostConsentsParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the payments post consents params

func (*PaymentsPostConsentsParams) WithXFapiInteractionID

func (o *PaymentsPostConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *PaymentsPostConsentsParams

WithXFapiInteractionID adds the xFapiInteractionID to the payments post consents params

func (*PaymentsPostConsentsParams) WithXIdempotencyKey

func (o *PaymentsPostConsentsParams) WithXIdempotencyKey(xIdempotencyKey string) *PaymentsPostConsentsParams

WithXIdempotencyKey adds the xIdempotencyKey to the payments post consents params

func (*PaymentsPostConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentsPostConsentsReader

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

PaymentsPostConsentsReader is a Reader for the PaymentsPostConsents structure.

func (*PaymentsPostConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentsPostConsentsTooManyRequests

type PaymentsPostConsentsTooManyRequests struct {

	/* Cabealho que indica o tempo (em segundos) que o cliente dever aguardar para realizar uma nova tentativa de chamada. Este cabealho dever estar presente quando o cdigo HTTP de retorno for 429 Too many requests.

	 */
	RetryAfter string

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsTooManyRequests describes a response with status code 429, with default header values.

A operao foi recusada, pois muitas solicitaes foram feitas dentro de um determinado perodo ou o limite global de requisies concorrentes foi atingido

func NewPaymentsPostConsentsTooManyRequests

func NewPaymentsPostConsentsTooManyRequests() *PaymentsPostConsentsTooManyRequests

NewPaymentsPostConsentsTooManyRequests creates a PaymentsPostConsentsTooManyRequests with default headers values

func (*PaymentsPostConsentsTooManyRequests) Code

Code gets the status code for the payments post consents too many requests response

func (*PaymentsPostConsentsTooManyRequests) Error

func (*PaymentsPostConsentsTooManyRequests) GetPayload

func (*PaymentsPostConsentsTooManyRequests) IsClientError

func (o *PaymentsPostConsentsTooManyRequests) IsClientError() bool

IsClientError returns true when this payments post consents too many requests response has a 4xx status code

func (*PaymentsPostConsentsTooManyRequests) IsCode

IsCode returns true when this payments post consents too many requests response a status code equal to that given

func (*PaymentsPostConsentsTooManyRequests) IsRedirect

func (o *PaymentsPostConsentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this payments post consents too many requests response has a 3xx status code

func (*PaymentsPostConsentsTooManyRequests) IsServerError

func (o *PaymentsPostConsentsTooManyRequests) IsServerError() bool

IsServerError returns true when this payments post consents too many requests response has a 5xx status code

func (*PaymentsPostConsentsTooManyRequests) IsSuccess

IsSuccess returns true when this payments post consents too many requests response has a 2xx status code

func (*PaymentsPostConsentsTooManyRequests) String

type PaymentsPostConsentsUnauthorized

type PaymentsPostConsentsUnauthorized struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsUnauthorized describes a response with status code 401, with default header values.

Cabealho de autenticao ausente/invlido ou token invlido

func NewPaymentsPostConsentsUnauthorized

func NewPaymentsPostConsentsUnauthorized() *PaymentsPostConsentsUnauthorized

NewPaymentsPostConsentsUnauthorized creates a PaymentsPostConsentsUnauthorized with default headers values

func (*PaymentsPostConsentsUnauthorized) Code

Code gets the status code for the payments post consents unauthorized response

func (*PaymentsPostConsentsUnauthorized) Error

func (*PaymentsPostConsentsUnauthorized) GetPayload

func (*PaymentsPostConsentsUnauthorized) IsClientError

func (o *PaymentsPostConsentsUnauthorized) IsClientError() bool

IsClientError returns true when this payments post consents unauthorized response has a 4xx status code

func (*PaymentsPostConsentsUnauthorized) IsCode

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

IsCode returns true when this payments post consents unauthorized response a status code equal to that given

func (*PaymentsPostConsentsUnauthorized) IsRedirect

func (o *PaymentsPostConsentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this payments post consents unauthorized response has a 3xx status code

func (*PaymentsPostConsentsUnauthorized) IsServerError

func (o *PaymentsPostConsentsUnauthorized) IsServerError() bool

IsServerError returns true when this payments post consents unauthorized response has a 5xx status code

func (*PaymentsPostConsentsUnauthorized) IsSuccess

func (o *PaymentsPostConsentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this payments post consents unauthorized response has a 2xx status code

func (*PaymentsPostConsentsUnauthorized) String

type PaymentsPostConsentsUnprocessableEntity

type PaymentsPostConsentsUnprocessableEntity struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload interface{}
}

PaymentsPostConsentsUnprocessableEntity describes a response with status code 422, with default header values.

A solicitao foi bem formada, mas no pde ser processada devido lgica de negcios especfica da solicitao.

func NewPaymentsPostConsentsUnprocessableEntity

func NewPaymentsPostConsentsUnprocessableEntity() *PaymentsPostConsentsUnprocessableEntity

NewPaymentsPostConsentsUnprocessableEntity creates a PaymentsPostConsentsUnprocessableEntity with default headers values

func (*PaymentsPostConsentsUnprocessableEntity) Code

Code gets the status code for the payments post consents unprocessable entity response

func (*PaymentsPostConsentsUnprocessableEntity) Error

func (*PaymentsPostConsentsUnprocessableEntity) GetPayload

func (o *PaymentsPostConsentsUnprocessableEntity) GetPayload() interface{}

func (*PaymentsPostConsentsUnprocessableEntity) IsClientError

func (o *PaymentsPostConsentsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this payments post consents unprocessable entity response has a 4xx status code

func (*PaymentsPostConsentsUnprocessableEntity) IsCode

IsCode returns true when this payments post consents unprocessable entity response a status code equal to that given

func (*PaymentsPostConsentsUnprocessableEntity) IsRedirect

IsRedirect returns true when this payments post consents unprocessable entity response has a 3xx status code

func (*PaymentsPostConsentsUnprocessableEntity) IsServerError

func (o *PaymentsPostConsentsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this payments post consents unprocessable entity response has a 5xx status code

func (*PaymentsPostConsentsUnprocessableEntity) IsSuccess

IsSuccess returns true when this payments post consents unprocessable entity response has a 2xx status code

func (*PaymentsPostConsentsUnprocessableEntity) String

type PaymentsPostConsentsUnsupportedMediaType

type PaymentsPostConsentsUnsupportedMediaType struct {

	/* Um UUID RFC4122 usado como um ID de correlao. O transmissor deve usar o mesmo valor recebido na requisio para o cabealho de resposta recebido na requisio, caso no tenha sido fornecido, deve se usar um UUID RFC4122.

	 */
	XFapiInteractionID string

	Payload *models.ResponseError
}

PaymentsPostConsentsUnsupportedMediaType describes a response with status code 415, with default header values.

O formato do payload no um formato suportado.

func NewPaymentsPostConsentsUnsupportedMediaType

func NewPaymentsPostConsentsUnsupportedMediaType() *PaymentsPostConsentsUnsupportedMediaType

NewPaymentsPostConsentsUnsupportedMediaType creates a PaymentsPostConsentsUnsupportedMediaType with default headers values

func (*PaymentsPostConsentsUnsupportedMediaType) Code

Code gets the status code for the payments post consents unsupported media type response

func (*PaymentsPostConsentsUnsupportedMediaType) Error

func (*PaymentsPostConsentsUnsupportedMediaType) GetPayload

func (*PaymentsPostConsentsUnsupportedMediaType) IsClientError

IsClientError returns true when this payments post consents unsupported media type response has a 4xx status code

func (*PaymentsPostConsentsUnsupportedMediaType) IsCode

IsCode returns true when this payments post consents unsupported media type response a status code equal to that given

func (*PaymentsPostConsentsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this payments post consents unsupported media type response has a 3xx status code

func (*PaymentsPostConsentsUnsupportedMediaType) IsServerError

IsServerError returns true when this payments post consents unsupported media type response has a 5xx status code

func (*PaymentsPostConsentsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this payments post consents unsupported media type response has a 2xx status code

func (*PaymentsPostConsentsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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