Class: Stripe::Reporting::ReportRunService::CreateParams::Parameters

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



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



54
55
56
# File 'lib/stripe/services/reporting/report_run_service.rb', line 54

def columns
  @columns
end

#connected_accountObject

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
end

#currencyObject

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_endObject

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_startObject

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

#payoutObject

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_categoryObject

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

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



68
69
70
# File 'lib/stripe/services/reporting/report_run_service.rb', line 68

def timezone
  @timezone
end