Class SubscriptionPauseParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.SubscriptionPauseParams

public class SubscriptionPauseParams extends ApiRequestParams
  • Method Details

    • builder

      public static SubscriptionPauseParams.Builder builder()
    • getBillFor

      public SubscriptionPauseParams.BillFor getBillFor()
      Controls what to bill for when pausing the subscription.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getInvoicingBehavior

      public SubscriptionPauseParams.InvoicingBehavior getInvoicingBehavior()
      Determines how to handle debits and credits when pausing. The default is pending_invoice_item.
    • getType

      public SubscriptionPauseParams.Type getType()
      Required. The type of pause to apply.
    • 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