Class RateCardSubscription

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

public class RateCardSubscription extends StripeObject implements HasId
  • Constructor Details

    • RateCardSubscription

      public RateCardSubscription()
  • Method Details

    • getBillingCadence

      public String getBillingCadence()
      The ID of the Billing Cadence.
    • getCollectionStatus

      public String getCollectionStatus()
      The payment status of a Rate Card Subscription.

      One of awaiting_customer_action, current, past_due, paused, or unpaid.

    • getCollectionStatusTransitions

      public RateCardSubscription.CollectionStatusTransitions getCollectionStatusTransitions()
      The collection status transitions of the Rate Card Subscription.
    • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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_subscription.

    • getRateCard

      public String getRateCard()
      The ID of the Rate Card.
    • getRateCardVersion

      public String getRateCardVersion()
      The ID of the Rate Card Version.
    • getServicingStatus

      public String getServicingStatus()
      The servicing status of a Rate Card Subscription.

      One of active, canceled, paused, or pending.

    • getServicingStatusTransitions

      public RateCardSubscription.ServicingStatusTransitions getServicingStatusTransitions()
      The servicing status transitions of the Rate Card Subscription.
    • getTestClock

      public String getTestClock()
      The ID of the Test Clock, if any.
    • setBillingCadence

      public void setBillingCadence(String billingCadence)
      The ID of the Billing Cadence.
    • setCollectionStatus

      public void setCollectionStatus(String collectionStatus)
      The payment status of a Rate Card Subscription.

      One of awaiting_customer_action, current, past_due, paused, or unpaid.

    • setCollectionStatusTransitions

      public void setCollectionStatusTransitions(RateCardSubscription.CollectionStatusTransitions collectionStatusTransitions)
      The collection status transitions of the Rate Card Subscription.
    • 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.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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_subscription.

    • setRateCard

      public void setRateCard(String rateCard)
      The ID of the Rate Card.
    • setRateCardVersion

      public void setRateCardVersion(String rateCardVersion)
      The ID of the Rate Card Version.
    • setServicingStatus

      public void setServicingStatus(String servicingStatus)
      The servicing status of a Rate Card Subscription.

      One of active, canceled, paused, or pending.

    • setServicingStatusTransitions

      public void setServicingStatusTransitions(RateCardSubscription.ServicingStatusTransitions servicingStatusTransitions)
      The servicing status transitions of the Rate Card Subscription.
    • setTestClock

      public void setTestClock(String testClock)
      The ID of the Test Clock, if any.
    • 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