Skip to content

Commit

Permalink
Issue #72: Added a parameterless constructor for the Amount class
Browse files Browse the repository at this point in the history
  • Loading branch information
Viincenttt committed Aug 30, 2018
1 parent 5ab7f18 commit 9601143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mollie.Api/Models/Amount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public Amount(string currency, string value) {
this.Value = value;
}

public Amount() { }

public override string ToString() {
return $"{this.Value} {this.Currency}";
}
Expand Down

0 comments on commit 9601143

Please sign in to comment.