Documentation ¶
Index ¶
- type Client
- func (a *Client) PaymentsGetConsentsConsentID(params *PaymentsGetConsentsConsentIDParams, ...) (*PaymentsGetConsentsConsentIDOK, error)
- func (a *Client) PaymentsPostConsents(params *PaymentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PaymentsPostConsentsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PaymentsGetConsentsConsentIDBadRequest
- func (o *PaymentsGetConsentsConsentIDBadRequest) Code() int
- func (o *PaymentsGetConsentsConsentIDBadRequest) Error() string
- func (o *PaymentsGetConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDBadRequest) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDBadRequest) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDBadRequest) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDBadRequest) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDBadRequest) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDBadRequest) String() string
- type PaymentsGetConsentsConsentIDDefault
- func (o *PaymentsGetConsentsConsentIDDefault) Code() int
- func (o *PaymentsGetConsentsConsentIDDefault) Error() string
- func (o *PaymentsGetConsentsConsentIDDefault) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDDefault) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDDefault) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDDefault) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDDefault) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDDefault) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDDefault) String() string
- type PaymentsGetConsentsConsentIDForbidden
- func (o *PaymentsGetConsentsConsentIDForbidden) Code() int
- func (o *PaymentsGetConsentsConsentIDForbidden) Error() string
- func (o *PaymentsGetConsentsConsentIDForbidden) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDForbidden) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDForbidden) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDForbidden) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDForbidden) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDForbidden) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDForbidden) String() string
- type PaymentsGetConsentsConsentIDInternalServerError
- func (o *PaymentsGetConsentsConsentIDInternalServerError) Code() int
- func (o *PaymentsGetConsentsConsentIDInternalServerError) Error() string
- func (o *PaymentsGetConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDInternalServerError) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDInternalServerError) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDInternalServerError) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDInternalServerError) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDInternalServerError) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDInternalServerError) String() string
- type PaymentsGetConsentsConsentIDMethodNotAllowed
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) Code() int
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) Error() string
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) String() string
- type PaymentsGetConsentsConsentIDNotAcceptable
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) Code() int
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) Error() string
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDNotAcceptable) String() string
- type PaymentsGetConsentsConsentIDNotFound
- func (o *PaymentsGetConsentsConsentIDNotFound) Code() int
- func (o *PaymentsGetConsentsConsentIDNotFound) Error() string
- func (o *PaymentsGetConsentsConsentIDNotFound) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDNotFound) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDNotFound) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDNotFound) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDNotFound) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDNotFound) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDNotFound) String() string
- type PaymentsGetConsentsConsentIDOK
- func (o *PaymentsGetConsentsConsentIDOK) Code() int
- func (o *PaymentsGetConsentsConsentIDOK) Error() string
- func (o *PaymentsGetConsentsConsentIDOK) GetPayload() interface{}
- func (o *PaymentsGetConsentsConsentIDOK) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDOK) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDOK) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDOK) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDOK) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDOK) String() string
- type PaymentsGetConsentsConsentIDParams
- func NewPaymentsGetConsentsConsentIDParams() *PaymentsGetConsentsConsentIDParams
- func NewPaymentsGetConsentsConsentIDParamsWithContext(ctx context.Context) *PaymentsGetConsentsConsentIDParams
- func NewPaymentsGetConsentsConsentIDParamsWithHTTPClient(client *http.Client) *PaymentsGetConsentsConsentIDParams
- func NewPaymentsGetConsentsConsentIDParamsWithTimeout(timeout time.Duration) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) SetAuthorization(authorization string)
- func (o *PaymentsGetConsentsConsentIDParams) SetConsentID(consentID string)
- func (o *PaymentsGetConsentsConsentIDParams) SetContext(ctx context.Context)
- func (o *PaymentsGetConsentsConsentIDParams) SetDefaults()
- func (o *PaymentsGetConsentsConsentIDParams) SetHTTPClient(client *http.Client)
- func (o *PaymentsGetConsentsConsentIDParams) SetTimeout(timeout time.Duration)
- func (o *PaymentsGetConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *PaymentsGetConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *PaymentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *PaymentsGetConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *PaymentsGetConsentsConsentIDParams) WithAuthorization(authorization string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithConsentID(consentID string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithContext(ctx context.Context) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithDefaults() *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithHTTPClient(client *http.Client) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithTimeout(timeout time.Duration) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *PaymentsGetConsentsConsentIDParams
- func (o *PaymentsGetConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PaymentsGetConsentsConsentIDReader
- type PaymentsGetConsentsConsentIDTooManyRequests
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) Code() int
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) Error() string
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDTooManyRequests) String() string
- type PaymentsGetConsentsConsentIDUnauthorized
- func (o *PaymentsGetConsentsConsentIDUnauthorized) Code() int
- func (o *PaymentsGetConsentsConsentIDUnauthorized) Error() string
- func (o *PaymentsGetConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
- func (o *PaymentsGetConsentsConsentIDUnauthorized) IsClientError() bool
- func (o *PaymentsGetConsentsConsentIDUnauthorized) IsCode(code int) bool
- func (o *PaymentsGetConsentsConsentIDUnauthorized) IsRedirect() bool
- func (o *PaymentsGetConsentsConsentIDUnauthorized) IsServerError() bool
- func (o *PaymentsGetConsentsConsentIDUnauthorized) IsSuccess() bool
- func (o *PaymentsGetConsentsConsentIDUnauthorized) String() string
- type PaymentsPostConsentsBadRequest
- func (o *PaymentsPostConsentsBadRequest) Code() int
- func (o *PaymentsPostConsentsBadRequest) Error() string
- func (o *PaymentsPostConsentsBadRequest) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsBadRequest) IsClientError() bool
- func (o *PaymentsPostConsentsBadRequest) IsCode(code int) bool
- func (o *PaymentsPostConsentsBadRequest) IsRedirect() bool
- func (o *PaymentsPostConsentsBadRequest) IsServerError() bool
- func (o *PaymentsPostConsentsBadRequest) IsSuccess() bool
- func (o *PaymentsPostConsentsBadRequest) String() string
- type PaymentsPostConsentsCreated
- func (o *PaymentsPostConsentsCreated) Code() int
- func (o *PaymentsPostConsentsCreated) Error() string
- func (o *PaymentsPostConsentsCreated) GetPayload() interface{}
- func (o *PaymentsPostConsentsCreated) IsClientError() bool
- func (o *PaymentsPostConsentsCreated) IsCode(code int) bool
- func (o *PaymentsPostConsentsCreated) IsRedirect() bool
- func (o *PaymentsPostConsentsCreated) IsServerError() bool
- func (o *PaymentsPostConsentsCreated) IsSuccess() bool
- func (o *PaymentsPostConsentsCreated) String() string
- type PaymentsPostConsentsDefault
- func (o *PaymentsPostConsentsDefault) Code() int
- func (o *PaymentsPostConsentsDefault) Error() string
- func (o *PaymentsPostConsentsDefault) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsDefault) IsClientError() bool
- func (o *PaymentsPostConsentsDefault) IsCode(code int) bool
- func (o *PaymentsPostConsentsDefault) IsRedirect() bool
- func (o *PaymentsPostConsentsDefault) IsServerError() bool
- func (o *PaymentsPostConsentsDefault) IsSuccess() bool
- func (o *PaymentsPostConsentsDefault) String() string
- type PaymentsPostConsentsForbidden
- func (o *PaymentsPostConsentsForbidden) Code() int
- func (o *PaymentsPostConsentsForbidden) Error() string
- func (o *PaymentsPostConsentsForbidden) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsForbidden) IsClientError() bool
- func (o *PaymentsPostConsentsForbidden) IsCode(code int) bool
- func (o *PaymentsPostConsentsForbidden) IsRedirect() bool
- func (o *PaymentsPostConsentsForbidden) IsServerError() bool
- func (o *PaymentsPostConsentsForbidden) IsSuccess() bool
- func (o *PaymentsPostConsentsForbidden) String() string
- type PaymentsPostConsentsInternalServerError
- func (o *PaymentsPostConsentsInternalServerError) Code() int
- func (o *PaymentsPostConsentsInternalServerError) Error() string
- func (o *PaymentsPostConsentsInternalServerError) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsInternalServerError) IsClientError() bool
- func (o *PaymentsPostConsentsInternalServerError) IsCode(code int) bool
- func (o *PaymentsPostConsentsInternalServerError) IsRedirect() bool
- func (o *PaymentsPostConsentsInternalServerError) IsServerError() bool
- func (o *PaymentsPostConsentsInternalServerError) IsSuccess() bool
- func (o *PaymentsPostConsentsInternalServerError) String() string
- type PaymentsPostConsentsMethodNotAllowed
- func (o *PaymentsPostConsentsMethodNotAllowed) Code() int
- func (o *PaymentsPostConsentsMethodNotAllowed) Error() string
- func (o *PaymentsPostConsentsMethodNotAllowed) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsMethodNotAllowed) IsClientError() bool
- func (o *PaymentsPostConsentsMethodNotAllowed) IsCode(code int) bool
- func (o *PaymentsPostConsentsMethodNotAllowed) IsRedirect() bool
- func (o *PaymentsPostConsentsMethodNotAllowed) IsServerError() bool
- func (o *PaymentsPostConsentsMethodNotAllowed) IsSuccess() bool
- func (o *PaymentsPostConsentsMethodNotAllowed) String() string
- type PaymentsPostConsentsNotAcceptable
- func (o *PaymentsPostConsentsNotAcceptable) Code() int
- func (o *PaymentsPostConsentsNotAcceptable) Error() string
- func (o *PaymentsPostConsentsNotAcceptable) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsNotAcceptable) IsClientError() bool
- func (o *PaymentsPostConsentsNotAcceptable) IsCode(code int) bool
- func (o *PaymentsPostConsentsNotAcceptable) IsRedirect() bool
- func (o *PaymentsPostConsentsNotAcceptable) IsServerError() bool
- func (o *PaymentsPostConsentsNotAcceptable) IsSuccess() bool
- func (o *PaymentsPostConsentsNotAcceptable) String() string
- type PaymentsPostConsentsNotFound
- func (o *PaymentsPostConsentsNotFound) Code() int
- func (o *PaymentsPostConsentsNotFound) Error() string
- func (o *PaymentsPostConsentsNotFound) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsNotFound) IsClientError() bool
- func (o *PaymentsPostConsentsNotFound) IsCode(code int) bool
- func (o *PaymentsPostConsentsNotFound) IsRedirect() bool
- func (o *PaymentsPostConsentsNotFound) IsServerError() bool
- func (o *PaymentsPostConsentsNotFound) IsSuccess() bool
- func (o *PaymentsPostConsentsNotFound) String() string
- type PaymentsPostConsentsParams
- func NewPaymentsPostConsentsParams() *PaymentsPostConsentsParams
- func NewPaymentsPostConsentsParamsWithContext(ctx context.Context) *PaymentsPostConsentsParams
- func NewPaymentsPostConsentsParamsWithHTTPClient(client *http.Client) *PaymentsPostConsentsParams
- func NewPaymentsPostConsentsParamsWithTimeout(timeout time.Duration) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) SetAuthorization(authorization string)
- func (o *PaymentsPostConsentsParams) SetBody(body interface{})
- func (o *PaymentsPostConsentsParams) SetContext(ctx context.Context)
- func (o *PaymentsPostConsentsParams) SetDefaults()
- func (o *PaymentsPostConsentsParams) SetHTTPClient(client *http.Client)
- func (o *PaymentsPostConsentsParams) SetTimeout(timeout time.Duration)
- func (o *PaymentsPostConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *PaymentsPostConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *PaymentsPostConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *PaymentsPostConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *PaymentsPostConsentsParams) SetXIdempotencyKey(xIdempotencyKey string)
- func (o *PaymentsPostConsentsParams) WithAuthorization(authorization string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithBody(body interface{}) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithContext(ctx context.Context) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithDefaults() *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithHTTPClient(client *http.Client) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithTimeout(timeout time.Duration) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WithXIdempotencyKey(xIdempotencyKey string) *PaymentsPostConsentsParams
- func (o *PaymentsPostConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PaymentsPostConsentsReader
- type PaymentsPostConsentsTooManyRequests
- func (o *PaymentsPostConsentsTooManyRequests) Code() int
- func (o *PaymentsPostConsentsTooManyRequests) Error() string
- func (o *PaymentsPostConsentsTooManyRequests) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsTooManyRequests) IsClientError() bool
- func (o *PaymentsPostConsentsTooManyRequests) IsCode(code int) bool
- func (o *PaymentsPostConsentsTooManyRequests) IsRedirect() bool
- func (o *PaymentsPostConsentsTooManyRequests) IsServerError() bool
- func (o *PaymentsPostConsentsTooManyRequests) IsSuccess() bool
- func (o *PaymentsPostConsentsTooManyRequests) String() string
- type PaymentsPostConsentsUnauthorized
- func (o *PaymentsPostConsentsUnauthorized) Code() int
- func (o *PaymentsPostConsentsUnauthorized) Error() string
- func (o *PaymentsPostConsentsUnauthorized) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsUnauthorized) IsClientError() bool
- func (o *PaymentsPostConsentsUnauthorized) IsCode(code int) bool
- func (o *PaymentsPostConsentsUnauthorized) IsRedirect() bool
- func (o *PaymentsPostConsentsUnauthorized) IsServerError() bool
- func (o *PaymentsPostConsentsUnauthorized) IsSuccess() bool
- func (o *PaymentsPostConsentsUnauthorized) String() string
- type PaymentsPostConsentsUnprocessableEntity
- func (o *PaymentsPostConsentsUnprocessableEntity) Code() int
- func (o *PaymentsPostConsentsUnprocessableEntity) Error() string
- func (o *PaymentsPostConsentsUnprocessableEntity) GetPayload() interface{}
- func (o *PaymentsPostConsentsUnprocessableEntity) IsClientError() bool
- func (o *PaymentsPostConsentsUnprocessableEntity) IsCode(code int) bool
- func (o *PaymentsPostConsentsUnprocessableEntity) IsRedirect() bool
- func (o *PaymentsPostConsentsUnprocessableEntity) IsServerError() bool
- func (o *PaymentsPostConsentsUnprocessableEntity) IsSuccess() bool
- func (o *PaymentsPostConsentsUnprocessableEntity) String() string
- type PaymentsPostConsentsUnsupportedMediaType
- func (o *PaymentsPostConsentsUnsupportedMediaType) Code() int
- func (o *PaymentsPostConsentsUnsupportedMediaType) Error() string
- func (o *PaymentsPostConsentsUnsupportedMediaType) GetPayload() *models.ResponseError
- func (o *PaymentsPostConsentsUnsupportedMediaType) IsClientError() bool
- func (o *PaymentsPostConsentsUnsupportedMediaType) IsCode(code int) bool
- func (o *PaymentsPostConsentsUnsupportedMediaType) IsRedirect() bool
- func (o *PaymentsPostConsentsUnsupportedMediaType) IsServerError() bool
- func (o *PaymentsPostConsentsUnsupportedMediaType) IsSuccess() bool
- func (o *PaymentsPostConsentsUnsupportedMediaType) String() string
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 ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) Code() int
Code gets the status code for the payments get consents consent Id bad request response
func (*PaymentsGetConsentsConsentIDBadRequest) Error ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) Error() string
func (*PaymentsGetConsentsConsentIDBadRequest) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id bad request response a status code equal to that given
func (*PaymentsGetConsentsConsentIDBadRequest) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) IsRedirect() bool
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 ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id bad request response has a 2xx status code
func (*PaymentsGetConsentsConsentIDBadRequest) String ¶
func (o *PaymentsGetConsentsConsentIDBadRequest) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDDefault) Code() int
Code gets the status code for the payments get consents consent Id default response
func (*PaymentsGetConsentsConsentIDDefault) Error ¶
func (o *PaymentsGetConsentsConsentIDDefault) Error() string
func (*PaymentsGetConsentsConsentIDDefault) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDDefault) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsGetConsentsConsentIDDefault) IsCode(code int) bool
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 ¶
func (o *PaymentsGetConsentsConsentIDDefault) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id default response has a 2xx status code
func (*PaymentsGetConsentsConsentIDDefault) String ¶
func (o *PaymentsGetConsentsConsentIDDefault) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDForbidden) Code() int
Code gets the status code for the payments get consents consent Id forbidden response
func (*PaymentsGetConsentsConsentIDForbidden) Error ¶
func (o *PaymentsGetConsentsConsentIDForbidden) Error() string
func (*PaymentsGetConsentsConsentIDForbidden) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDForbidden) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsGetConsentsConsentIDForbidden) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id forbidden response a status code equal to that given
func (*PaymentsGetConsentsConsentIDForbidden) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDForbidden) IsRedirect() bool
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 ¶
func (o *PaymentsGetConsentsConsentIDForbidden) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id forbidden response has a 2xx status code
func (*PaymentsGetConsentsConsentIDForbidden) String ¶
func (o *PaymentsGetConsentsConsentIDForbidden) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) Code() int
Code gets the status code for the payments get consents consent Id internal server error response
func (*PaymentsGetConsentsConsentIDInternalServerError) Error ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) Error() string
func (*PaymentsGetConsentsConsentIDInternalServerError) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
func (*PaymentsGetConsentsConsentIDInternalServerError) IsClientError ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) IsClientError() bool
IsClientError returns true when this payments get consents consent Id internal server error response has a 4xx status code
func (*PaymentsGetConsentsConsentIDInternalServerError) IsCode ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id internal server error response a status code equal to that given
func (*PaymentsGetConsentsConsentIDInternalServerError) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this payments get consents consent Id internal server error response has a 3xx status code
func (*PaymentsGetConsentsConsentIDInternalServerError) IsServerError ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) IsServerError() bool
IsServerError returns true when this payments get consents consent Id internal server error response has a 5xx status code
func (*PaymentsGetConsentsConsentIDInternalServerError) IsSuccess ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id internal server error response has a 2xx status code
func (*PaymentsGetConsentsConsentIDInternalServerError) String ¶
func (o *PaymentsGetConsentsConsentIDInternalServerError) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) Code() int
Code gets the status code for the payments get consents consent Id method not allowed response
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) Error ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) Error() string
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsClientError ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsClientError() bool
IsClientError returns true when this payments get consents consent Id method not allowed response has a 4xx status code
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsCode ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id method not allowed response a status code equal to that given
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this payments get consents consent Id method not allowed response has a 3xx status code
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsServerError ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsServerError() bool
IsServerError returns true when this payments get consents consent Id method not allowed response has a 5xx status code
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) IsSuccess ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id method not allowed response has a 2xx status code
func (*PaymentsGetConsentsConsentIDMethodNotAllowed) String ¶
func (o *PaymentsGetConsentsConsentIDMethodNotAllowed) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) Code() int
Code gets the status code for the payments get consents consent Id not acceptable response
func (*PaymentsGetConsentsConsentIDNotAcceptable) Error ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) Error() string
func (*PaymentsGetConsentsConsentIDNotAcceptable) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
func (*PaymentsGetConsentsConsentIDNotAcceptable) IsClientError ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsClientError() bool
IsClientError returns true when this payments get consents consent Id not acceptable response has a 4xx status code
func (*PaymentsGetConsentsConsentIDNotAcceptable) IsCode ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id not acceptable response a status code equal to that given
func (*PaymentsGetConsentsConsentIDNotAcceptable) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsRedirect() bool
IsRedirect returns true when this payments get consents consent Id not acceptable response has a 3xx status code
func (*PaymentsGetConsentsConsentIDNotAcceptable) IsServerError ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsServerError() bool
IsServerError returns true when this payments get consents consent Id not acceptable response has a 5xx status code
func (*PaymentsGetConsentsConsentIDNotAcceptable) IsSuccess ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id not acceptable response has a 2xx status code
func (*PaymentsGetConsentsConsentIDNotAcceptable) String ¶
func (o *PaymentsGetConsentsConsentIDNotAcceptable) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDNotFound) Code() int
Code gets the status code for the payments get consents consent Id not found response
func (*PaymentsGetConsentsConsentIDNotFound) Error ¶
func (o *PaymentsGetConsentsConsentIDNotFound) Error() string
func (*PaymentsGetConsentsConsentIDNotFound) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDNotFound) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsGetConsentsConsentIDNotFound) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id not found response a status code equal to that given
func (*PaymentsGetConsentsConsentIDNotFound) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDNotFound) IsRedirect() bool
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 ¶
func (o *PaymentsGetConsentsConsentIDNotFound) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id not found response has a 2xx status code
func (*PaymentsGetConsentsConsentIDNotFound) String ¶
func (o *PaymentsGetConsentsConsentIDNotFound) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDOK) Code() int
Code gets the status code for the payments get consents consent Id o k response
func (*PaymentsGetConsentsConsentIDOK) Error ¶
func (o *PaymentsGetConsentsConsentIDOK) Error() string
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 ¶
func (o *PaymentsGetConsentsConsentIDOK) String() 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 ¶
func (o *PaymentsGetConsentsConsentIDParams) SetContext(ctx context.Context)
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 ¶
func (o *PaymentsGetConsentsConsentIDParams) WithAuthorization(authorization string) *PaymentsGetConsentsConsentIDParams
WithAuthorization adds the authorization to the payments get consents consent Id params
func (*PaymentsGetConsentsConsentIDParams) WithConsentID ¶
func (o *PaymentsGetConsentsConsentIDParams) WithConsentID(consentID string) *PaymentsGetConsentsConsentIDParams
WithConsentID adds the consentID to the payments get consents consent Id params
func (*PaymentsGetConsentsConsentIDParams) WithContext ¶
func (o *PaymentsGetConsentsConsentIDParams) WithContext(ctx context.Context) *PaymentsGetConsentsConsentIDParams
WithContext adds the context to the payments get consents consent Id params
func (*PaymentsGetConsentsConsentIDParams) WithDefaults ¶
func (o *PaymentsGetConsentsConsentIDParams) WithDefaults() *PaymentsGetConsentsConsentIDParams
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 ¶
func (o *PaymentsGetConsentsConsentIDParams) WithHTTPClient(client *http.Client) *PaymentsGetConsentsConsentIDParams
WithHTTPClient adds the HTTPClient to the payments get consents consent Id params
func (*PaymentsGetConsentsConsentIDParams) WithTimeout ¶
func (o *PaymentsGetConsentsConsentIDParams) WithTimeout(timeout time.Duration) *PaymentsGetConsentsConsentIDParams
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 ¶
func (o *PaymentsGetConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *PaymentsGetConsentsConsentIDParams
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 ¶
func (o *PaymentsGetConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) Code() int
Code gets the status code for the payments get consents consent Id too many requests response
func (*PaymentsGetConsentsConsentIDTooManyRequests) Error ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) Error() string
func (*PaymentsGetConsentsConsentIDTooManyRequests) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
func (*PaymentsGetConsentsConsentIDTooManyRequests) IsClientError ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsClientError() bool
IsClientError returns true when this payments get consents consent Id too many requests response has a 4xx status code
func (*PaymentsGetConsentsConsentIDTooManyRequests) IsCode ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id too many requests response a status code equal to that given
func (*PaymentsGetConsentsConsentIDTooManyRequests) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this payments get consents consent Id too many requests response has a 3xx status code
func (*PaymentsGetConsentsConsentIDTooManyRequests) IsServerError ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsServerError() bool
IsServerError returns true when this payments get consents consent Id too many requests response has a 5xx status code
func (*PaymentsGetConsentsConsentIDTooManyRequests) IsSuccess ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id too many requests response has a 2xx status code
func (*PaymentsGetConsentsConsentIDTooManyRequests) String ¶
func (o *PaymentsGetConsentsConsentIDTooManyRequests) String() string
type PaymentsGetConsentsConsentIDUnauthorized ¶
type PaymentsGetConsentsConsentIDUnauthorized struct { string }XFapiInteractionID
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 ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) Code() int
Code gets the status code for the payments get consents consent Id unauthorized response
func (*PaymentsGetConsentsConsentIDUnauthorized) Error ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) Error() string
func (*PaymentsGetConsentsConsentIDUnauthorized) GetPayload ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
func (*PaymentsGetConsentsConsentIDUnauthorized) IsClientError ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) IsClientError() bool
IsClientError returns true when this payments get consents consent Id unauthorized response has a 4xx status code
func (*PaymentsGetConsentsConsentIDUnauthorized) IsCode ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) IsCode(code int) bool
IsCode returns true when this payments get consents consent Id unauthorized response a status code equal to that given
func (*PaymentsGetConsentsConsentIDUnauthorized) IsRedirect ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this payments get consents consent Id unauthorized response has a 3xx status code
func (*PaymentsGetConsentsConsentIDUnauthorized) IsServerError ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) IsServerError() bool
IsServerError returns true when this payments get consents consent Id unauthorized response has a 5xx status code
func (*PaymentsGetConsentsConsentIDUnauthorized) IsSuccess ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this payments get consents consent Id unauthorized response has a 2xx status code
func (*PaymentsGetConsentsConsentIDUnauthorized) String ¶
func (o *PaymentsGetConsentsConsentIDUnauthorized) String() 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 ¶
func (o *PaymentsPostConsentsBadRequest) Code() int
Code gets the status code for the payments post consents bad request response
func (*PaymentsPostConsentsBadRequest) Error ¶
func (o *PaymentsPostConsentsBadRequest) Error() string
func (*PaymentsPostConsentsBadRequest) GetPayload ¶
func (o *PaymentsPostConsentsBadRequest) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsBadRequest) String() 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 (o *PaymentsPostConsentsCreated) Error() string
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 (o *PaymentsPostConsentsDefault) Error() string
func (*PaymentsPostConsentsDefault) GetPayload ¶
func (o *PaymentsPostConsentsDefault) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsForbidden) Code() int
Code gets the status code for the payments post consents forbidden response
func (*PaymentsPostConsentsForbidden) Error ¶
func (o *PaymentsPostConsentsForbidden) Error() string
func (*PaymentsPostConsentsForbidden) GetPayload ¶
func (o *PaymentsPostConsentsForbidden) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsForbidden) String() 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 ¶
func (o *PaymentsPostConsentsInternalServerError) Code() int
Code gets the status code for the payments post consents internal server error response
func (*PaymentsPostConsentsInternalServerError) Error ¶
func (o *PaymentsPostConsentsInternalServerError) Error() string
func (*PaymentsPostConsentsInternalServerError) GetPayload ¶
func (o *PaymentsPostConsentsInternalServerError) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsInternalServerError) IsCode(code int) bool
IsCode returns true when this payments post consents internal server error response a status code equal to that given
func (*PaymentsPostConsentsInternalServerError) IsRedirect ¶
func (o *PaymentsPostConsentsInternalServerError) IsRedirect() bool
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 ¶
func (o *PaymentsPostConsentsInternalServerError) IsSuccess() bool
IsSuccess returns true when this payments post consents internal server error response has a 2xx status code
func (*PaymentsPostConsentsInternalServerError) String ¶
func (o *PaymentsPostConsentsInternalServerError) String() 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 ¶
func (o *PaymentsPostConsentsMethodNotAllowed) Code() int
Code gets the status code for the payments post consents method not allowed response
func (*PaymentsPostConsentsMethodNotAllowed) Error ¶
func (o *PaymentsPostConsentsMethodNotAllowed) Error() string
func (*PaymentsPostConsentsMethodNotAllowed) GetPayload ¶
func (o *PaymentsPostConsentsMethodNotAllowed) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this payments post consents method not allowed response a status code equal to that given
func (*PaymentsPostConsentsMethodNotAllowed) IsRedirect ¶
func (o *PaymentsPostConsentsMethodNotAllowed) IsRedirect() bool
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 ¶
func (o *PaymentsPostConsentsMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this payments post consents method not allowed response has a 2xx status code
func (*PaymentsPostConsentsMethodNotAllowed) String ¶
func (o *PaymentsPostConsentsMethodNotAllowed) String() 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 ¶
func (o *PaymentsPostConsentsNotAcceptable) Code() int
Code gets the status code for the payments post consents not acceptable response
func (*PaymentsPostConsentsNotAcceptable) Error ¶
func (o *PaymentsPostConsentsNotAcceptable) Error() string
func (*PaymentsPostConsentsNotAcceptable) GetPayload ¶
func (o *PaymentsPostConsentsNotAcceptable) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsNotAcceptable) String() 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 ¶
func (o *PaymentsPostConsentsNotFound) Code() int
Code gets the status code for the payments post consents not found response
func (*PaymentsPostConsentsNotFound) Error ¶
func (o *PaymentsPostConsentsNotFound) Error() string
func (*PaymentsPostConsentsNotFound) GetPayload ¶
func (o *PaymentsPostConsentsNotFound) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsNotFound) String() 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 ¶
func (o *PaymentsPostConsentsParams) WithContext(ctx context.Context) *PaymentsPostConsentsParams
WithContext adds the context to the payments post consents params
func (*PaymentsPostConsentsParams) WithDefaults ¶
func (o *PaymentsPostConsentsParams) WithDefaults() *PaymentsPostConsentsParams
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 ¶
func (o *PaymentsPostConsentsParams) WithHTTPClient(client *http.Client) *PaymentsPostConsentsParams
WithHTTPClient adds the HTTPClient to the payments post consents params
func (*PaymentsPostConsentsParams) WithTimeout ¶
func (o *PaymentsPostConsentsParams) WithTimeout(timeout time.Duration) *PaymentsPostConsentsParams
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 ¶
func (o *PaymentsPostConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PaymentsPostConsentsTooManyRequests) Code() int
Code gets the status code for the payments post consents too many requests response
func (*PaymentsPostConsentsTooManyRequests) Error ¶
func (o *PaymentsPostConsentsTooManyRequests) Error() string
func (*PaymentsPostConsentsTooManyRequests) GetPayload ¶
func (o *PaymentsPostConsentsTooManyRequests) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsTooManyRequests) IsCode(code int) bool
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 ¶
func (o *PaymentsPostConsentsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this payments post consents too many requests response has a 2xx status code
func (*PaymentsPostConsentsTooManyRequests) String ¶
func (o *PaymentsPostConsentsTooManyRequests) String() string
type PaymentsPostConsentsUnauthorized ¶
type PaymentsPostConsentsUnauthorized struct { string }XFapiInteractionID
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 ¶
func (o *PaymentsPostConsentsUnauthorized) Code() int
Code gets the status code for the payments post consents unauthorized response
func (*PaymentsPostConsentsUnauthorized) Error ¶
func (o *PaymentsPostConsentsUnauthorized) Error() string
func (*PaymentsPostConsentsUnauthorized) GetPayload ¶
func (o *PaymentsPostConsentsUnauthorized) GetPayload() *models.ResponseError
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 ¶
func (o *PaymentsPostConsentsUnauthorized) String() 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 ¶
func (o *PaymentsPostConsentsUnprocessableEntity) Code() int
Code gets the status code for the payments post consents unprocessable entity response
func (*PaymentsPostConsentsUnprocessableEntity) Error ¶
func (o *PaymentsPostConsentsUnprocessableEntity) Error() string
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 ¶
func (o *PaymentsPostConsentsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this payments post consents unprocessable entity response a status code equal to that given
func (*PaymentsPostConsentsUnprocessableEntity) IsRedirect ¶
func (o *PaymentsPostConsentsUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *PaymentsPostConsentsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this payments post consents unprocessable entity response has a 2xx status code
func (*PaymentsPostConsentsUnprocessableEntity) String ¶
func (o *PaymentsPostConsentsUnprocessableEntity) String() 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 ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) Code() int
Code gets the status code for the payments post consents unsupported media type response
func (*PaymentsPostConsentsUnsupportedMediaType) Error ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) Error() string
func (*PaymentsPostConsentsUnsupportedMediaType) GetPayload ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) GetPayload() *models.ResponseError
func (*PaymentsPostConsentsUnsupportedMediaType) IsClientError ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this payments post consents unsupported media type response has a 4xx status code
func (*PaymentsPostConsentsUnsupportedMediaType) IsCode ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this payments post consents unsupported media type response a status code equal to that given
func (*PaymentsPostConsentsUnsupportedMediaType) IsRedirect ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this payments post consents unsupported media type response has a 3xx status code
func (*PaymentsPostConsentsUnsupportedMediaType) IsServerError ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this payments post consents unsupported media type response has a 5xx status code
func (*PaymentsPostConsentsUnsupportedMediaType) IsSuccess ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this payments post consents unsupported media type response has a 2xx status code
func (*PaymentsPostConsentsUnsupportedMediaType) String ¶
func (o *PaymentsPostConsentsUnsupportedMediaType) String() string