Class MeterEventSession

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.MeterEventSession
All Implemented Interfaces:
HasId, StripeObjectInterface

public class MeterEventSession extends StripeObject implements HasId
  • Constructor Details

    • MeterEventSession

      public MeterEventSession()
  • Method Details

    • getAuthenticationToken

      public String getAuthenticationToken()
      The authentication token for this session. Use this token when calling the high-throughput meter event API.
    • getCreated

      public Instant getCreated()
      The creation time of this session.
    • getExpiresAt

      public Instant getExpiresAt()
      The time at which this session will expire.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String 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

      public void setAuthenticationToken(String authenticationToken)
      The authentication token for this session. Use this token when calling the high-throughput meter event API.
    • setCreated

      public void setCreated(Instant created)
      The creation time of this session.
    • setExpiresAt

      public void setExpiresAt(Instant expiresAt)
      The time at which this session will expire.
    • setId

      public void setId(String id)
      The unique id of this auth session.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      The unique id of this auth session.
      Specified by:
      getId in interface HasId