Package com.stripe.param.reporting
Class ReportRunCreateParams.Parameters.Builder
- java.lang.Object
-
- com.stripe.param.reporting.ReportRunCreateParams.Parameters.Builder
-
- Enclosing class:
- ReportRunCreateParams.Parameters
public static class ReportRunCreateParams.Parameters.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportRunCreateParams.Parameters.BuilderaddAllColumn(java.util.List<java.lang.String> elements)Add all elements to `columns` list.ReportRunCreateParams.Parameters.BuilderaddColumn(java.lang.String element)Add an element to `columns` list.ReportRunCreateParams.Parametersbuild()Finalize and obtain parameter instance from this builder.ReportRunCreateParams.Parameters.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.ReportRunCreateParams.Parameters.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.ReportRunCreateParams.Parameters.BuildersetConnectedAccount(java.lang.String connectedAccount)Connected account ID to filter for in the report run.ReportRunCreateParams.Parameters.BuildersetCurrency(java.lang.String currency)Currency of objects to be included in the report run.ReportRunCreateParams.Parameters.BuildersetIntervalEnd(java.lang.Long intervalEnd)Ending timestamp of data to be included in the report run (exclusive).ReportRunCreateParams.Parameters.BuildersetIntervalStart(java.lang.Long intervalStart)Starting timestamp of data to be included in the report run.ReportRunCreateParams.Parameters.BuildersetPayout(java.lang.String payout)Payout ID by which to filter the report run.ReportRunCreateParams.Parameters.BuildersetReportingCategory(ReportRunCreateParams.Parameters.ReportingCategory reportingCategory)Category of balance transactions to be included in the report run.ReportRunCreateParams.Parameters.BuildersetTimezone(ReportRunCreateParams.Parameters.Timezone timezone)Defaults toEtc/UTC.
-
-
-
Method Detail
-
build
public ReportRunCreateParams.Parameters build()
Finalize and obtain parameter instance from this builder.
-
addColumn
public ReportRunCreateParams.Parameters.Builder addColumn(java.lang.String element)
Add an element to `columns` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeReportRunCreateParams.Parameters.columnsfor the field documentation.
-
addAllColumn
public ReportRunCreateParams.Parameters.Builder addAllColumn(java.util.List<java.lang.String> elements)
Add all elements to `columns` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeReportRunCreateParams.Parameters.columnsfor the field documentation.
-
setConnectedAccount
public ReportRunCreateParams.Parameters.Builder setConnectedAccount(java.lang.String connectedAccount)
Connected account ID to filter for in the report run.
-
setCurrency
public ReportRunCreateParams.Parameters.Builder setCurrency(java.lang.String currency)
Currency of objects to be included in the report run.
-
putExtraParam
public ReportRunCreateParams.Parameters.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeReportRunCreateParams.Parameters.extraParamsfor the field documentation.
-
putAllExtraParam
public ReportRunCreateParams.Parameters.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeReportRunCreateParams.Parameters.extraParamsfor the field documentation.
-
setIntervalEnd
public ReportRunCreateParams.Parameters.Builder setIntervalEnd(java.lang.Long intervalEnd)
Ending timestamp of data to be included in the report run (exclusive).
-
setIntervalStart
public ReportRunCreateParams.Parameters.Builder setIntervalStart(java.lang.Long intervalStart)
Starting timestamp of data to be included in the report run.
-
setPayout
public ReportRunCreateParams.Parameters.Builder setPayout(java.lang.String payout)
Payout ID by which to filter the report run.
-
setReportingCategory
public ReportRunCreateParams.Parameters.Builder setReportingCategory(ReportRunCreateParams.Parameters.ReportingCategory reportingCategory)
Category of balance transactions to be included in the report run.
-
setTimezone
public ReportRunCreateParams.Parameters.Builder setTimezone(ReportRunCreateParams.Parameters.Timezone timezone)
Defaults toEtc/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. Has no effect oninterval_startorinterval_end.
-
-