code: public CreditNote voidCreditNote() throws StripeException {
      return voidCreditNote((Map<String, Object>) null, (RequestOptions) null);
    }
docs: Marks a credit note as void. Learn more about <a
  href="/docs/billing/invoices/credit-notes#voiding">voiding credit notes</a>.