Skip to content

Commit

Permalink
added transactionDate prop on transactions response model (#5)
Browse files Browse the repository at this point in the history
* added transactionDate prop on TransactionResponse

* Version 1.1.1

Co-authored-by: LioneL Christopher Chetty <lionel@lionelchetty.dev>
  • Loading branch information
dalion619 and LioneL Christopher Chetty authored Aug 2, 2020
1 parent 78780cc commit 1187e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageTags>investec;openbanking;dotnetcore;netcore;netstandard</PackageTags>
<Company />
<Product>Investec Open Banking</Product>
<Version>1.1.0-preview</Version>
<Version>1.1.1</Version>
<PackageLicenseUrl>https://github.com/dalion619/investec-openbanking-dotnet/blob/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ public class TransactionResponse
public string postingDate { get; set; }
public string valueDate { get; set; }
public string actionDate { get; set; }
public string transactionDate { get; set; }
public TransactionClassification classification { get; set; }
public decimal amount { get; set; }
public DateTime postingDateTime => DateTime.Parse(postingDate);
public DateTime valueDateTime => DateTime.Parse(valueDate);
public DateTime actionDateTime => DateTime.Parse(actionDate);
public DateTime transactionDateTime => DateTime.Parse(transactionDate);

public TransactionStatuses transactionStatus
{
Expand Down

0 comments on commit 1187e50

Please sign in to comment.