Class RateCardVersion

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

public class RateCardVersion extends StripeObject implements HasId
  • Constructor Details

    • RateCardVersion

      public RateCardVersion()
  • Method Details

    • getCreated

      public Instant getCreated()
      Timestamp of when the object was created.
    • 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.rate_card_version.

    • getRateCardId

      public String getRateCardId()
      The ID of the Rate Card that this version belongs to.
    • setCreated

      public void setCreated(Instant created)
      Timestamp of when the object was created.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • 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.rate_card_version.

    • setRateCardId

      public void setRateCardId(String rateCardId)
      The ID of the Rate Card that this version belongs to.
    • 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()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId