diff --git a/src/Plaid/AssetReport/AssetReportPdfGetRequest.cs b/src/Plaid/AssetReport/AssetReportPdfGetRequest.cs index 7d1d1b40..99753153 100644 --- a/src/Plaid/AssetReport/AssetReportPdfGetRequest.cs +++ b/src/Plaid/AssetReport/AssetReportPdfGetRequest.cs @@ -10,4 +10,10 @@ public partial class AssetReportPdfGetRequest : RequestBase /// [JsonPropertyName("asset_report_token")] public string AssetReportToken { get; set; } = default!; + + /// + /// An optional object to filter or add data to /asset_report/pdf/get results. If provided, must be non-null. + /// + [JsonPropertyName("options")] + public Entity.AssetReportPdfGetRequestOptions Options { get; set; } = default!; } diff --git a/src/Plaid/Entity/AssetReportPdfGetRequestOptions.cs b/src/Plaid/Entity/AssetReportPdfGetRequestOptions.cs new file mode 100644 index 00000000..303f01eb --- /dev/null +++ b/src/Plaid/Entity/AssetReportPdfGetRequestOptions.cs @@ -0,0 +1,13 @@ +namespace Going.Plaid.Entity; + +/// +/// An optional object to filter or add data to /asset_report/pdf/get results. If provided, must be non-null. +/// +public class AssetReportPdfGetRequestOptions +{ + /// + /// The maximum integer number of days of history to include in the Asset Report. + /// + [JsonPropertyName("days_to_include")] + public int? DaysToInclude { get; set; } = default!; +}