Class: Stripe::Reporting::ReportRun::CreateParams::Parameters
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Reporting::ReportRun::CreateParams::Parameters
- Defined in:
- lib/stripe/resources/reporting/report_run.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
The set of report columns to include in the report output.
-
#connected_account ⇒ Object
Connected account ID to filter for in the report run.
-
#currency ⇒ Object
Currency of objects to be included in the report run.
-
#interval_end ⇒ Object
Ending timestamp of data to be included in the report run (exclusive).
-
#interval_start ⇒ Object
Starting timestamp of data to be included in the report run.
-
#payout ⇒ Object
Payout ID by which to filter the report run.
-
#reporting_category ⇒ Object
Category of balance transactions to be included in the report run.
-
#timezone ⇒ Object
Defaults to ‘Etc/UTC`.
Instance Method Summary collapse
-
#initialize(columns: nil, connected_account: nil, currency: nil, interval_end: nil, interval_start: nil, payout: nil, reporting_category: nil, timezone: nil) ⇒ Parameters
constructor
A new instance of Parameters.
Methods inherited from Stripe::RequestParams
Constructor Details
#initialize(columns: nil, connected_account: nil, currency: nil, interval_end: nil, interval_start: nil, payout: nil, reporting_category: nil, timezone: nil) ⇒ Parameters
Returns a new instance of Parameters.
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 105 def initialize( columns: nil, connected_account: nil, currency: nil, interval_end: nil, interval_start: nil, payout: nil, reporting_category: nil, timezone: nil ) @columns = columns @connected_account = connected_account @currency = currency @interval_end = interval_end @interval_start = interval_start @payout = payout @reporting_category = reporting_category @timezone = timezone end |
Instance Attribute Details
#columns ⇒ Object
The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set.
89 90 91 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 89 def columns @columns end |
#connected_account ⇒ Object
Connected account ID to filter for in the report run.
91 92 93 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 91 def connected_account @connected_account end |
#currency ⇒ Object
Currency of objects to be included in the report run.
93 94 95 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 93 def currency @currency end |
#interval_end ⇒ Object
Ending timestamp of data to be included in the report run (exclusive).
95 96 97 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 95 def interval_end @interval_end end |
#interval_start ⇒ Object
Starting timestamp of data to be included in the report run.
97 98 99 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 97 def interval_start @interval_start end |
#payout ⇒ Object
Payout ID by which to filter the report run.
99 100 101 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 99 def payout @payout end |
#reporting_category ⇒ Object
Category of balance transactions to be included in the report run.
101 102 103 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 101 def reporting_category @reporting_category end |
#timezone ⇒ Object
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](www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.
103 104 105 |
# File 'lib/stripe/resources/reporting/report_run.rb', line 103 def timezone @timezone end |