Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 3.58 KB

getinvoicediscounts.md

File metadata and controls

27 lines (21 loc) · 3.58 KB

GetInvoiceDiscounts

Invoice discounts.

Example Usage

import { GetInvoiceDiscounts } from "@vercel/sdk/models/getinvoiceop.js";

let value: GetInvoiceDiscounts = {
  billingPlanId: "<id>",
  name: "<value>",
  amount: "266.19",
};

Fields

Field Type Required Description
billingPlanId string ✔️ Partner's billing plan ID.
resourceId string Partner's resource ID. If not specified, indicates installation-wide discount.
start string Start and end are only needed if different from the period's start/end. ISO 8601 timestamp.
end string Start and end are only needed if different from the period's start/end. ISO 8601 timestamp.
name string ✔️ Discount name.
details string Additional discount details.
amount string ✔️ Discount amount. A dollar-based decimal string.