Skip to content

Commit

Permalink
Supplier creditTerms (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
sierdweidema authored Jul 11, 2023
1 parent f7981a7 commit 22e3427
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Visma.net/Models/Supplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public string corporateId

public CreditTerms creditTerms
{
get => Get("creditTermsId", new CreditTerms("30"));
set => Set(value);
get => Get("creditTermsId", new CreditTerms());
set => Set(value, "creditTermsId");
}

public string currencyId
Expand All @@ -88,7 +88,8 @@ public string documentLanguage

[JsonProperty] public JObject extras { get; private set; }

public SupplierGLAccountDto glAccounts {
public SupplierGLAccountDto glAccounts
{
get => Get<SupplierGLAccountDto>();
set => Set(value);
}
Expand Down

0 comments on commit 22e3427

Please sign in to comment.