Skip to content

Commit 896830b

Browse files
Merge pull request #126 from bunq/feature/sdk_python#125_fix_notification_adapter
Fix notification adapter and test.
2 parents 7e3f397 + b9003cc commit 896830b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bunq/sdk/json/anchor_object_adapter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ class AnchorObjectAdapter(converter.JsonAdapter):
1818
_override_field_map = {
1919
'ScheduledPayment': 'SchedulePayment',
2020
'ScheduledInstance': 'ScheduleInstance',
21+
'ShareInviteBankInquiry': 'ShareInviteMonetaryAccountInquiry',
22+
'ShareInviteBankResponse': 'ShareInviteMonetaryAccountResponse'
2123
}
2224

2325
@classmethod

tests/model/generated/object/test_notification_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class TestNotificationUrl(bunq_test.BunqSdkTestCase):
2121
_GETTER_REQUEST_RESPONSE = 'RequestResponse'
2222
_GETTER_SCHEDULE_PAYMENT = 'ScheduledPayment'
2323
_GETTER_SCHEDULE_INSTANCE = 'ScheduledInstance'
24-
_GETTER_SHARE_INVITE_BANK_INQUIRY = 'ShareInviteMonetaryAccountInquiry'
25-
_GETTER_SHARE_INVITE_BANK_RESPONSE = 'ShareInviteMonetaryAccountResponse'
24+
_GETTER_SHARE_INVITE_BANK_INQUIRY = 'ShareInviteBankInquiry'
25+
_GETTER_SHARE_INVITE_BANK_RESPONSE = 'ShareInviteBankResponse'
2626

2727
# Model json paths constants.
2828
BASE_PATH_JSON_MODEL = '../../../assets/NotificationUrlJsons'

0 commit comments

Comments
 (0)