Element Path: <cwt><PAYMENTSERVICE><payUnit>
|
The pay unit element in PAYMENTSERVICE defines which one of the pay units defined in the <cwt><PAYUNIT> element can be used for the Payment Service. For example, to be able to set up a terminal that allows payment of certain articles with coins and payment of other articles by card, there must be two different payment services where one allows the card pay unit and the other one allows the coin pay unit.
See PAYUNIT element regarding the two different categories of pay units in CWT.
attribute
name
Value: | Coin, Card, Ext0, Ext1, Ext2, Ext3 |
Default: | – |
Description: | Defines the name of the pay unit that shall be possible to use for payment in the payment service. |
Example:
Set-up where the terminal has one payment service that allows payment with both coin and card:
<PAYMENTSERVICE paymentServiceId="0" name="CoinAndCardPaymentService">
<payUnit name="Coin"/>
<payUnit name="Card"/>
</PAYMENTSERVICE>
Example:
Set-up where the terminal has two different payment services defined. One for coin payment to which articles to be paid by coin shall be connected and one for card payment to which articles to be paid by card shall be connected:
<PAYMENTSERVICE paymentServiceId="0" name="CoinPaymentService">
<payUnit name="Coin"/>
</PAYMENTSERVICE>
<PAYMENTSERVICE paymentServiceId="1" name="CardPaymentService">
<payUnit name="Card"/>
</PAYMENTSERVICE>