Skip to content

Commit 39b9448

Browse files
aaronmdennyAaron Denny
andauthored
add pdf get options (#133)
Co-authored-by: Aaron Denny <[email protected]>
1 parent 9c19e7f commit 39b9448

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/Plaid/AssetReport/AssetReportPdfGetRequest.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ public partial class AssetReportPdfGetRequest : RequestBase
1010
/// </summary>
1111
[JsonPropertyName("asset_report_token")]
1212
public string AssetReportToken { get; set; } = default!;
13+
14+
/// <summary>
15+
/// <para>An optional object to filter or add data to <c>/asset_report/pdf/get</c> results. If provided, must be non-<c>null</c>.</para>
16+
/// </summary>
17+
[JsonPropertyName("options")]
18+
public Entity.AssetReportPdfGetRequestOptions Options { get; set; } = default!;
1319
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace Going.Plaid.Entity;
2+
3+
/// <summary>
4+
/// <para>An optional object to filter or add data to <c>/asset_report/pdf/get</c> results. If provided, must be non-<c>null</c>.</para>
5+
/// </summary>
6+
public class AssetReportPdfGetRequestOptions
7+
{
8+
/// <summary>
9+
/// <para>The maximum integer number of days of history to include in the Asset Report.</para>
10+
/// </summary>
11+
[JsonPropertyName("days_to_include")]
12+
public int? DaysToInclude { get; set; } = default!;
13+
}

0 commit comments

Comments
 (0)