Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Container        Path: <cwt><PAYMENT><personalAccount>

A default Personal Account (global) can be configured in cwtconfig.xml. For instance, if some tariffs are to be hidden from the default users and only be visible for account users a default Personal Account (global) with tariff access restrictions can be given.

 

Element        Path: <cwt><PAYMENT><personalAccount><purchaseTerms>

attribute

purchaseAllowedInTerminal

Value:true / false
Default:True
Description:Controls if purchase are allowed in the terminal

 

Element        Path: <cwt><PAYMENT><personalAccount><purchaseTerms><purchaseTimePermission>

attributes

availableTime

Value:0–10000
Default:0
Description:Available time [min]

creditType

Value:NoCredit, UnrestrictedCredit, OneCreditPurchaseAllowed
Description:Describes what kind of credit are allowed in Terminal.

NoCredit: No credit, no overdraw allowed

UnrestrictedCredit: No restriction on overdraw

OneCreditPurchaseAllowed: One purchase with overdraw available if account balance is positive

displayAvailableTime

Value:true / false
Description:Controls if available time are shown in Terminal UI

 

Element        Path: <cwt><PAYMENT><personalAccount><purchaseTerms><purchaseTimePermission>
 <paymentServiceAccess>

attribute

rule

Value:AllowAll, AllowNone
Description:General access rule for payment service selection

 

Element        Path: <cwt><PAYMENT><personalAccount><purchaseTerms><purchaseTimePermission>
 <paymentServiceAccess><except>

attribute

id

Value:0–10000
Description:Exceptions from the general rule above, if AllowNone is set in the rule above, the exceptions is allowed and the other way around.

Example:

The Example: allows purchases in terminal with PaymentserviceId “0”, all articles and tariff packages except id “1”, “2” and “3”.

<personalAccount>
  <purchaseTerms purchaseAllowedInTerminal="true">
    <purchaseTimePermission availableTime="200"
            displayAvailableTime="true"
            creditType="OneCreditPurchaseAllowed">
        <paymentServiceAccess rule="AllowNone">
          <except id="0" />
        </paymentServiceAccess>
        <articleAccess rule="AllowAll">
          <except id="1" />
          <except id="2" />
          <except id="3" />
        </articleAccess>
        <tariffPackageAccess rule="AllowNone">
          <except id="1" />
          <except id="2" />
          <except id="3" />
        </tariffPackageAccess>
    </purchaseTimePermission>
  </purchaseTerms>
</personalAccount>