Class LicenseFeeSubscription

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

public class LicenseFeeSubscription extends StripeObject implements HasId
  • Constructor Details

    • LicenseFeeSubscription

      public LicenseFeeSubscription()
  • Method Details

    • getBillingCadence

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

      public Instant getCreated()
      Timestamp of when the object was created.
    • getLicenseFee

      public String getLicenseFee()
      The ID of the License Fee.
    • getLicenseFeeVersion

      public String getLicenseFeeVersion()
      The ID of the License Fee Version.
    • 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.license_fee_subscription.

    • getQuantity

      public Integer getQuantity()
      Quantity of the License Fee subscribed to.
    • getTestClock

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

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

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

      public void setId(String id)
      Unique identifier for the object.
    • setLicenseFee

      public void setLicenseFee(String licenseFee)
      The ID of the License Fee.
    • setLicenseFeeVersion

      public void setLicenseFeeVersion(String licenseFeeVersion)
      The ID of the License Fee Version.
    • 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.license_fee_subscription.

    • setQuantity

      public void setQuantity(Integer quantity)
      Quantity of the License Fee subscribed to.
    • 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