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 booleanbooleanThe 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 valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.inthashCode()voidsetAuthenticationToken(String authenticationToken) The authentication token for this session.voidsetCreated(Instant created) The creation time of this session.voidsetExpiresAt(Instant expiresAt) The time at which this session will expire.voidThe unique id of this auth session.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString 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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-