OrderRecord

PackageAcme.Docs

Order

Order is the sample's basic domain type. It gives the generated reference a record and a same-named module whose functions construct and price values.

Use Order.create to validate a subtotal and create an order. Use Order.total to apply a fractional tax rate.

The implementation of create is also transcluded into the deep-reference guide. Its checked XML example shows how generated member documentation and executable-looking transcripts stay together.

Fields

NameTypeDescription
IdIdNo description available.
SubtotalSubtotalNo description available.