Class: Stripe::Reporting::ReportRun::CreateParams::Parameters

Inherits:
Stripe::RequestParams show all
Defined in:
lib/stripe/resources/reporting/report_run.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

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 = 
  @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.



89
90
91
# File 'lib/stripe/resources/reporting/report_run.rb', line 89

def columns
  @columns
end

#connected_accountObject

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
end

#currencyObject

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_endObject

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_startObject

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

#payoutObject

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_categoryObject

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

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



103
104
105
# File 'lib/stripe/resources/reporting/report_run.rb', line 103

def timezone
  @timezone
end