<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ms-0100:Discount beforeTaxInd="true" value="3.00" valueType="Amount" xmlns:ms-0100="http://www.modeldev.restauranttechnologynetwork.com/models/v1"> <ms-0100:Application>Example String Value</ms-0100:Application> <ms-0100:Description>Senior discount.</ms-0100:Description> </ms-0100:Discount>
{ "Discount" : { "valueType" : "Amount", "value" : 3.00, "beforeTaxInd" : true, "Application" : [ "Example String Value" ], "Description" : "Senior discount." } }
Name | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Application |
A discount that applies to the item.
|
||||||||||||
|
|||||||||||||
Description |
A description of the discount.
|
||||||||||||
|
Name | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
valueType |
Specifies if the discount is expressed as an amount or a percent.
|
||||||||||||
|
|||||||||||||
value |
The discount amount or percentage. The value type defines whether the value is an amount or a percent.
|
||||||||||||
|
Name | Description |
---|---|
beforeTaxInd |
When true, the discount is applied before tax. When false, the discount applies after tax.
|