File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public void Run(string[] args)
2727 Console . Out . WriteLine ( " ..." ) ;
2828 Console . Out . WriteLine ( ) ;
2929
30- if ( BunqContext . UserContext . isOnlyUserCompanySet ( ) )
30+ if ( BunqContext . UserContext . IsOnlyUserCompanySet ( ) )
3131 {
3232 UserCompany . Update (
3333 notificationFilters : UpdateAllNotificationFilter (
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public string GetCurrentUserDisplayName()
123123 {
124124 return BunqContext . UserContext . UserPerson . DisplayName ;
125125 }
126- else if ( BunqContext . UserContext . isOnlyUserCompanySet ( ) )
126+ else if ( BunqContext . UserContext . IsOnlyUserCompanySet ( ) )
127127 {
128128 return BunqContext . UserContext . UserCompany . DisplayName ;
129129 }
Original file line number Diff line number Diff line change 11using System ;
2+ using System . Collections . Generic ;
23using Bunq . Sdk . Model . Generated . Endpoint ;
4+ using Bunq . Sdk . Model . Generated . Object ;
35using Tinker . Utils ;
46using TinkerSrc . Lib ;
57
@@ -24,8 +26,12 @@ public void Run(string[] args)
2426 Console . Out . WriteLine ( ) ;
2527 Console . Out . WriteLine ( " ..." ) ;
2628 Console . Out . WriteLine ( ) ;
27-
28- Card . Update ( int . Parse ( cardId ) , monetaryAccountCurrentId : int . Parse ( accountId ) ) ;
29+
30+
31+ Card . Update ( int . Parse ( cardId ) , pinCodeAssignment : new List < CardPinAssignment >
32+ {
33+ new CardPinAssignment ( "PRIMARY" ) { MonetaryAccountId = int . Parse ( accountId ) }
34+ } ) ;
2935
3036 Console . Out . WriteLine ( ) ;
3137 Console . Out . WriteLine ( " | Account switched" ) ;
Original file line number Diff line number Diff line change 44 <TargetFramework >netcoreapp1.1</TargetFramework >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Bunq.Sdk" Version =" 0.13.1-beta " />
7+ <PackageReference Include =" Bunq.Sdk" Version =" 1.1.0 " />
88 <PackageReference Include =" Mono.Options" Version =" 5.3.0.1" />
99 </ItemGroup >
1010</Project >
You can’t perform that action at this time.
0 commit comments