public SubscriptionSchedule cancel() throws StripeException {
    return cancel((Map<String, Object>) null, (RequestOptions) null);
  }
public SubscriptionSchedule cancel ( ) throws StripeException { return cancel ( ( Map < String , Object > ) null , ( RequestOptions ) null ) ; }
Cancels a subscription schedule and its associated subscription immediately (if the
subscription schedule has an active subscription). A subscription schedule can only be canceled
if its status is <code>not_started</code> or <code>active</code>.