Class TrialOffer.Duration

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.productcatalog.TrialOffer.Duration
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
TrialOffer

public static class TrialOffer.Duration extends StripeObject
For more details about Duration, please refer to the API Reference.
  • Constructor Details

    • Duration

      public Duration()
  • Method Details

    • getRelative

      public TrialOffer.Duration.Relative getRelative()
    • getType

      public String getType()
      The type of trial offer duration.

      One of relative, or timestamp.

    • setRelative

      public void setRelative(TrialOffer.Duration.Relative relative)
    • setType

      public void setType(String type)
      The type of trial offer duration.

      One of relative, or timestamp.

    • 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