Class SubscriptionCancelParams


public class SubscriptionCancelParams extends ApiRequestParams
  • Method Details

    • builder

      public static SubscriptionCancelParams.Builder builder()
    • getCancellationDetails

      public SubscriptionCancelParams.CancellationDetails getCancellationDetails()
      Details about why this subscription was cancelled.
    • 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.
    • getInvoiceNow

      public Boolean getInvoiceNow()
      Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items.
    • getProrate

      public Boolean getProrate()
      Will generate a proration invoice item that credits remaining unused time until the subscription period end.