Class: Stripe::Reporting::ReportRunCreateParams::Parameters

Inherits:
Stripe::RequestParams show all
Defined in:
lib/stripe/params/reporting/report_run_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Stripe::RequestParams

#to_h

Constructor Details

#initialize(columns: nil, connected_account: nil, currency: nil, interval_end: nil, interval_start: nil, payout: nil, reporting_category: nil, timezone: nil) ⇒ Parameters



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 25

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 = 
  @currency = currency
  @interval_end = interval_end
  @interval_start = interval_start
  @payout = payout
  @reporting_category = reporting_category
  @timezone = timezone
end

Instance Attribute Details

#columnsObject

The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set.



9
10
11
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 9

def columns
  @columns
end

#connected_accountObject

Connected account ID to filter for in the report run.



11
12
13
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 11

def 
  @connected_account
end

#currencyObject

Currency of objects to be included in the report run.



13
14
15
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 13

def currency
  @currency
end

#interval_endObject

Ending timestamp of data to be included in the report run (exclusive).



15
16
17
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 15

def interval_end
  @interval_end
end

#interval_startObject

Starting timestamp of data to be included in the report run.



17
18
19
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 17

def interval_start
  @interval_start
end

#payoutObject

Payout ID by which to filter the report run.



19
20
21
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 19

def payout
  @payout
end

#reporting_categoryObject

Category of balance transactions to be included in the report run.



21
22
23
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 21

def reporting_category
  @reporting_category
end

#timezoneObject

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`.



23
24
25
# File 'lib/stripe/params/reporting/report_run_create_params.rb', line 23

def timezone
  @timezone
end