stripe/model/
financial_reporting_finance_report_run_run_parameters.rs

1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct FinancialReportingFinanceReportRunRunParameters {
5    ///The set of output columns requested for inclusion in the report run.
6    #[serde(skip_serializing_if = "Option::is_none")]
7    pub columns: Option<Vec<String>>,
8    ///Connected account ID by which to filter the report run.
9    #[serde(skip_serializing_if = "Option::is_none")]
10    pub connected_account: Option<String>,
11    ///Currency of objects to be included in the report run.
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub currency: Option<String>,
14    ///Ending timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after the user specified `interval_start` and 1 second before this report's last `data_available_end` value.
15    #[serde(skip_serializing_if = "Option::is_none")]
16    pub interval_end: Option<i64>,
17    ///Starting timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after this report's `data_available_start` and 1 second before the user specified `interval_end` value.
18    #[serde(skip_serializing_if = "Option::is_none")]
19    pub interval_start: Option<i64>,
20    ///Payout ID by which to filter the report run.
21    #[serde(skip_serializing_if = "Option::is_none")]
22    pub payout: Option<String>,
23    ///Category of balance transactions to be included in the report run.
24    #[serde(skip_serializing_if = "Option::is_none")]
25    pub reporting_category: Option<String>,
26    ///Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.
27    #[serde(skip_serializing_if = "Option::is_none")]
28    pub timezone: Option<String>,
29}
30impl std::fmt::Display for FinancialReportingFinanceReportRunRunParameters {
31    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
32        write!(f, "{}", serde_json::to_string(self).unwrap())
33    }
34}