Skip to content

Commit

Permalink
Merge pull request #15 from gritse/main
Browse files Browse the repository at this point in the history
Fix wrong type for BankAccountDetails.OwnerAddressUnstructured
  • Loading branch information
RobinTTY authored May 4, 2024
2 parents eb4ca3f + d0786c1 commit 24bac4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class BankAccountDetails
/// Address of the legal account owner.
/// </summary>
[JsonPropertyName("ownerAddressUnstructured")]
public string? OwnerAddressUnstructured { get; }
public List<string>? OwnerAddressUnstructured { get; }

/// <summary>
/// Name of the account, as assigned by the bank, in agreement with the account owner in
Expand Down Expand Up @@ -150,7 +150,7 @@ public class BankAccountDetails
/// </param>
[JsonConstructor]
public BankAccountDetails(string resourceId, string iban, string? bic, string? bban, string currency,
string ownerName, string? ownerAddressUnstructured, string name, string product,
string ownerName, List<string>? ownerAddressUnstructured, string name, string product,
CashAccountType? cashAccountType, string? details, string? linkedAccounts, string? msisdn,
IsoBankAccountStatus? status, BankAccountUsage? usage, string? maskedPan)
{
Expand Down

0 comments on commit 24bac4c

Please sign in to comment.