Class: Stripe::Reporting::ReportRunService::CreateParams::Parameters
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Reporting::ReportRunService::CreateParams::Parameters
- Defined in:
- lib/stripe/services/reporting/report_run_service.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.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 70 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.
54 55 56 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 54 def columns @columns end |
#connected_account ⇒ Object
Connected account ID to filter for in the report run.
56 57 58 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 56 def connected_account @connected_account end |
#currency ⇒ Object
Currency of objects to be included in the report run.
58 59 60 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 58 def currency @currency end |
#interval_end ⇒ Object
Ending timestamp of data to be included in the report run (exclusive).
60 61 62 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 60 def interval_end @interval_end end |
#interval_start ⇒ Object
Starting timestamp of data to be included in the report run.
62 63 64 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 62 def interval_start @interval_start end |
#payout ⇒ Object
Payout ID by which to filter the report run.
64 65 66 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 64 def payout @payout end |
#reporting_category ⇒ Object
Category of balance transactions to be included in the report run.
66 67 68 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 66 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`.
68 69 70 |
# File 'lib/stripe/services/reporting/report_run_service.rb', line 68 def timezone @timezone end |