Commit 7ed27f24 authored by Frédéric Lépy's avatar Frédéric Lépy Committed by Vincent A

weboob.capabilities.bank: add PER account type

parent 1a0e419f
......@@ -257,6 +257,12 @@ class AccountType(Enum):
"Consumer credit"
REVOLVING_CREDIT = 19
"Revolving credit"
PER = 20
"Pension plan PER"
PER_INDIVIDUAL = 21
"Individual Pension plan PER"
PER_COMPANY = 22
"Company Pension plan PER"
class AccountOwnerType(object):
......@@ -307,6 +313,9 @@ class Account(BaseAccount):
TYPE_MORTGAGE = AccountType.MORTGAGE
TYPE_CONSUMER_CREDIT = AccountType.CONSUMER_CREDIT
TYPE_REVOLVING_CREDIT = AccountType.REVOLVING_CREDIT
TYPE_PER = AccountType.PER
TYPE_PER_INDIVIDUAL = AccountType.PER_INDIVIDUAL
TYPE_PER_COMPANY = AccountType.PER_COMPANY
type = EnumField('Type of account', AccountType, default=TYPE_UNKNOWN)
owner_type = StringField('Usage of account') # cf AccountOwnerType class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment