Package com.stripe.model.reporting
Class ReportType
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.reporting.ReportType
-
- All Implemented Interfaces:
HasId,StripeObjectInterface
public class ReportType extends ApiResource implements HasId
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ReportType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetDataAvailableEnd()Most recent time for which this Report Type is available.java.lang.LonggetDataAvailableStart()Earliest time for which this Report Type is available.java.util.List<java.lang.String>getDefaultColumns()List of column names that are included by default when this Report Type gets run.java.lang.StringgetId()The ID of the Report Type, such asbalance.summary.1.java.lang.StringgetName()Human-readable name of the Report Type.java.lang.StringgetObject()String representing the object's type.java.lang.LonggetUpdated()When this Report Type was latest updated.java.lang.LonggetVersion()Version of the Report Type.inthashCode()static ReportTypeCollectionlist(ReportTypeListParams params)Returns a full list of Report Types.static ReportTypeCollectionlist(ReportTypeListParams params, RequestOptions options)Returns a full list of Report Types.static ReportTypeCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params)Returns a full list of Report Types.static ReportTypeCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Returns a full list of Report Types.static ReportTyperetrieve(java.lang.String reportType)Retrieves the details of a Report Type.static ReportTyperetrieve(java.lang.String reportType, RequestOptions options)Retrieves the details of a Report Type.static ReportTyperetrieve(java.lang.String reportType, ReportTypeRetrieveParams params, RequestOptions options)Retrieves the details of a Report Type.static ReportTyperetrieve(java.lang.String reportType, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Retrieves the details of a Report Type.voidsetDataAvailableEnd(java.lang.Long dataAvailableEnd)Most recent time for which this Report Type is available.voidsetDataAvailableStart(java.lang.Long dataAvailableStart)Earliest time for which this Report Type is available.voidsetDefaultColumns(java.util.List<java.lang.String> defaultColumns)List of column names that are included by default when this Report Type gets run.voidsetId(java.lang.String id)The ID of the Report Type, such asbalance.summary.1.voidsetName(java.lang.String name)Human-readable name of the Report Type.voidsetObject(java.lang.String object)String representing the object's type.voidsetUpdated(java.lang.Long updated)When this Report Type was latest updated.voidsetVersion(java.lang.Long version)Version of the Report Type.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
retrieve
public static ReportType retrieve(java.lang.String reportType) throws StripeException
Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)- Throws:
StripeException
-
retrieve
public static ReportType retrieve(java.lang.String reportType, RequestOptions options) throws StripeException
Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)- Throws:
StripeException
-
retrieve
public static ReportType retrieve(java.lang.String reportType, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)- Throws:
StripeException
-
retrieve
public static ReportType retrieve(java.lang.String reportType, ReportTypeRetrieveParams params, RequestOptions options) throws StripeException
Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)- Throws:
StripeException
-
list
public static ReportTypeCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Returns a full list of Report Types.- Throws:
StripeException
-
list
public static ReportTypeCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Returns a full list of Report Types.- Throws:
StripeException
-
list
public static ReportTypeCollection list(ReportTypeListParams params) throws StripeException
Returns a full list of Report Types.- Throws:
StripeException
-
list
public static ReportTypeCollection list(ReportTypeListParams params, RequestOptions options) throws StripeException
Returns a full list of Report Types.- Throws:
StripeException
-
getDataAvailableEnd
public java.lang.Long getDataAvailableEnd()
Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.
-
getDataAvailableStart
public java.lang.Long getDataAvailableStart()
Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.
-
getDefaultColumns
public java.util.List<java.lang.String> getDefaultColumns()
List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support thecolumnsparameter, this will be null.)
-
getName
public java.lang.String getName()
Human-readable name of the Report Type.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
reporting.report_type.
-
getUpdated
public java.lang.Long getUpdated()
When this Report Type was latest updated. Measured in seconds since the Unix epoch.
-
getVersion
public java.lang.Long getVersion()
Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas.
-
setDataAvailableEnd
public void setDataAvailableEnd(java.lang.Long dataAvailableEnd)
Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.
-
setDataAvailableStart
public void setDataAvailableStart(java.lang.Long dataAvailableStart)
Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.
-
setDefaultColumns
public void setDefaultColumns(java.util.List<java.lang.String> defaultColumns)
List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support thecolumnsparameter, this will be null.)
-
setId
public void setId(java.lang.String id)
The ID of the Report Type, such asbalance.summary.1.
-
setName
public void setName(java.lang.String name)
Human-readable name of the Report Type.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
reporting.report_type.
-
setUpdated
public void setUpdated(java.lang.Long updated)
When this Report Type was latest updated. Measured in seconds since the Unix epoch.
-
setVersion
public void setVersion(java.lang.Long version)
Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getId
public java.lang.String getId()
The ID of the Report Type, such asbalance.summary.1.
-
-