Open the Portico Developer Guide site
PosGateway Schema
DiscountTreatment Element
PosGateway Schema > VisaType Complex Type : DiscountTreatment Element
Description

Indicates how the merchant is managing discount.

Valid values:

0 - no invoice level discount provided

1 - tax was calculated on the post-discount invoice total.

2 - tax was calculated on the pre-discount invoice total.

Namespace http://Hps.Exchange.PosGateway
Type
Restriction of xs:int
Overview
DiscountTreatment optional Restriction of xs:int

Indicates how the merchant is managing discount.

Valid values:

0 - no invoice level discount provided

1 - tax was calculated on the post-discount invoice total.

2 - tax was calculated on the pre-discount invoice total.

Source
<xs:element name="DiscountTreatment" minOccurs="0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
      <p xmlns="http://Hps.Exchange.PosGateway">Indicates how the merchant is managing discount.</p>
      <p xmlns="http://Hps.Exchange.PosGateway">Valid values:</p>
      <p xmlns="http://Hps.Exchange.PosGateway">0 - no invoice level discount provided</p>
      <p xmlns="http://Hps.Exchange.PosGateway">1 - tax was calculated on the post-discount invoice total.</p>
      <p xmlns="http://Hps.Exchange.PosGateway">2 - tax was calculated on the pre-discount invoice total.</p>
    </xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="0" />
      <xs:maxInclusive value="2" />
    </xs:restriction>
  </xs:simpleType>
</xs:element>
See Also
VisaType Complex TypePosGateway Schema