OrderLineAttributeInput

One charge on an order line. Name a charge of the product to take its pricing, then adjust it with a quantity, discount or credits; or send the whole pricing.

  • The charge's name. When pricing is left out, the product's charge of this name prices it.

  • Credits the charge includes each billing period, replacing its first credit benefit's amount.

  • A fixed amount off the charge for each billing period (once for a one-time charge), never more than the charge comes to for that period. In minor units (cents for USD). Billed as a negative line of its own under the charge; the charge keeps its list price. Stored on the charge's pricing as discount.amountMinor. discountPercent wins when you send both.

  • Percentage off the charge, from 0 to 100, for example 10 for 10%. Billed as a negative line of its own under each of the charge's amounts; the charge keeps its list price. Stored on the charge's pricing as discount.percent.

  • Price per credit used past the included credits, replacing its first credit benefit's. In minor units (cents for USD); fractions allowed.

  • The charge's pricing. Required, with chargeType, unless the product has a charge named name.

    Properties: 18
  • Units of the charge; for a seat-based charge, the number of seats (at most 10,000).