Package com.stripe.model.v2.billing
Class MeterEventSession
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.MeterEventSession
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The authentication token for this session.The creation time of this session.The time at which this session will expire.getId()
The unique id of this auth session.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.int
hashCode()
void
setAuthenticationToken
(String authenticationToken) The authentication token for this session.void
setCreated
(Instant created) The creation time of this session.void
setExpiresAt
(Instant expiresAt) The time at which this session will expire.void
The unique id of this auth session.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MeterEventSession
public MeterEventSession()
-
-
Method Details
-
getAuthenticationToken
The authentication token for this session. Use this token when calling the high-throughput meter event API. -
getCreated
The creation time of this session. -
getExpiresAt
The time at which this session will expire. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.meter_event_session
. -
setAuthenticationToken
The authentication token for this session. Use this token when calling the high-throughput meter event API. -
setCreated
The creation time of this session. -
setExpiresAt
The time at which this session will expire. -
setId
The unique id of this auth session. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.meter_event_session
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The unique id of this auth session.
-