Make more fields optional for Nordigen
This commit is contained in:
parent
6ce722399c
commit
ce234e69f6
|
@ -32,7 +32,7 @@ class Transaction(Model):
|
|||
proprietaryBankTransactionCode: fields.Optional(fields.Str())
|
||||
remittanceInformationUnstructured: fields.Optional(fields.Str())
|
||||
transactionAmount: fields.Nested(Amount)
|
||||
transactionId: fields.Str()
|
||||
transactionId: fields.Optional(fields.Str())
|
||||
|
||||
|
||||
class Pending(Transaction):
|
||||
|
@ -93,16 +93,16 @@ class Requisitions(Model):
|
|||
|
||||
class Account(Model):
|
||||
resourceId: fields.Optional(fields.Str())
|
||||
iban: fields.Str()
|
||||
iban: fields.Optional(fields.Str())
|
||||
bban: fields.Optional(fields.Str())
|
||||
currency: fields.Str()
|
||||
ownerName: fields.Str()
|
||||
ownerName: fields.Optional(fields.Str())
|
||||
status: fields.Optional(fields.Str())
|
||||
details: fields.Optional(fields.Str())
|
||||
|
||||
|
||||
class AccountDetails(Model):
|
||||
account: fields.Nested(Account)
|
||||
account: fields.Optional(fields.Nested(Account))
|
||||
|
||||
|
||||
class AccountBalanceAmount(Model):
|
||||
|
|
Loading…
Reference in New Issue