DiscountAmount Property
Amount of any discount subtracted from the line item totals.
Syntax
char* GetDiscountAmount();
int SetDiscountAmount(char* lpszDiscountAmount);
Default Value
""
Remarks
This property contains the amount of any discount applied by the merchant. This field should be empty if no line item discount applies, or if Level 3 data is attached to the transaction, and contains discount amounts for individual items on an item-by-item basis.
This amount is to be presented with an implied decimal point. For example, US $10.00 must be represented as 1000, and $0.10 is likewise simply 10. The allowable number of significant digits as well as the positioning of any implied decimal point is dictated by the designated CurrencyCode configuration setting. In the United States (default), the number of allowable significant digits is seven. Thus the maximum TransactionAmount is "9999999", yielding a US dollar amount of $99,999.99. This field may not contain a negative number.
This property is only used for Visa Corporate Purchasing Cards (CardType = ctVisa).
Data Type
String