Class EphemeralKey

    • Constructor Detail

      • EphemeralKey

        public EphemeralKey()
    • Method Detail

      • getCreated

        public java.lang.Long getCreated()
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • getExpires

        public java.lang.Long getExpires()
        Time at which the key will expire. Measured in seconds since the Unix epoch.
      • getLivemode

        public java.lang.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 java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.
      • getSecret

        public java.lang.String getSecret()
        The key's secret. You can use this value to make authorized requests to the Stripe API.
      • getRawJson

        public java.lang.String getRawJson()
      • setCreated

        public void setCreated​(java.lang.Long created)
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • setExpires

        public void setExpires​(java.lang.Long expires)
        Time at which the key will expire. Measured in seconds since the Unix epoch.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setLivemode

        public void setLivemode​(java.lang.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​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.
      • setSecret

        public void setSecret​(java.lang.String secret)
        The key's secret. You can use this value to make authorized requests to the Stripe API.
      • setRawJson

        public void setRawJson​(java.lang.String rawJson)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId