-
Notifications
You must be signed in to change notification settings - Fork 2
/
openbanking_brasil_payment_enum_authorisation_status_type.go
40 lines (33 loc) · 1.66 KB
/
openbanking_brasil_payment_enum_authorisation_status_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
)
// OpenbankingBrasilPaymentEnumAuthorisationStatusType OpenbankingBrasilPaymentEnumAuthorisationStatusType EnumAuthorisationStatusType
//
// Retorna o estado do consentimento, o qual no momento de sua criao ser AWAITING_AUTHORISATION.
// Este estado ser alterado depois da autorizao do consentimento na detentora da conta do pagador (Debtor) para AUTHORISED, REJECTED ou REVOKED.
// O consentimento fica no estado CONSUMED aps ocorrer a iniciao do pagamento referente ao consentimento.
// Em caso de consentimento expirado a detentora dever retornar o status REJECTED.
// Em caso de revogao do consentimento a detentora dever retornar o status REVOKED.
// Estados possveis:
// AWAITING_AUTHORISATION - Aguardando autorizao
// AUTHORISED - Autorizado
// REJECTED - Rejeitado
// CONSUMED - Consumido
// REVOKED - Revogado
// Example: REVOKED
//
// swagger:model OpenbankingBrasilPaymentEnumAuthorisationStatusType
type OpenbankingBrasilPaymentEnumAuthorisationStatusType string
// Validate validates this openbanking brasil payment enum authorisation status type
func (m OpenbankingBrasilPaymentEnumAuthorisationStatusType) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this openbanking brasil payment enum authorisation status type based on context it is used
func (m OpenbankingBrasilPaymentEnumAuthorisationStatusType) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}