mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:47:01 +00:00
refactor/added the consentReferenceId ConsentProvider
This commit is contained in:
parent
6c014e7698
commit
e168487152
@ -180,6 +180,11 @@ trait ConsentTrait {
|
||||
* Specified end date and time for the transaction query period. If the field does not contain information or if it is not sent in the request, the end date will be 90 calendar days prior to the creation of the consent.
|
||||
*/
|
||||
def transactionToDateTime: Date
|
||||
|
||||
/**
|
||||
* this will be a UUID later. now only use the primacyKey.toString for it.
|
||||
*/
|
||||
def consentReferenceId: String
|
||||
}
|
||||
|
||||
object ConsentStatus extends Enumeration {
|
||||
|
||||
@ -321,6 +321,7 @@ class MappedConsent extends ConsentTrait with LongKeyedMapper[MappedConsent] wit
|
||||
override def transactionToDateTime= mTransactionToDateTime.get
|
||||
override def creationDateTime= createdAt.get
|
||||
override def statusUpdateDateTime= mStatusUpdateDateTime.get
|
||||
override def consentReferenceId = id.get.toString
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user