7.14 PaymentModeType definition
7.14.1 Overview
The PaymentModeType provides information on selections with specific Options and baskets. It is provided by the payment service and the price service. It is formally defined in Table 46.
7.14.2 ObjectType definition
| Attribute | Value | ||||
| BrowseName | PaymentModeType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Other |
|---|---|---|---|---|---|
| Subtype of the 0:BaseObjectType | |||||
| 0:HasComponent | Variable | Status | PaymentModeOrDeviceStatusEnum | 0:BaseDataVariableType | M |
| 0:HasComponent | Variable | PaymentModeId | 0:String | 0:BaseDataVariableType | M |
| 0:HasComponent | Variable | CurrentlyUsedUserId | 0:String | 0:BaseDataVariableType | O |
| 0:HasComponent | Variable | AvailableCredit | PriceDataType | 0:BaseDataVariableType | M |
| 0:HasComponent | Method | EscrowRefund | O | ||
| Conformance Units | |||||
|---|---|---|---|---|---|
| UnattendedRetail PaymentService | |||||
The Status represents the current status of the payment system supporting the payment mode (see 8.21 for details).
The PaymentModeId represents a unique identification of the payment mode, that is used in the DeliverRequest Method of the Delivery Object. It is recommended, that this string is also used for the text part of the DisplayName Attribute of the Object for the default locale. The PaymentMode "NoCheck" has a special meaning and shall not be used as PaymentModeId. The recommended PaymentModeId values are: "Cash" and "Cashless".
The optional CurrentlyUsedUserId provides information about the UserId currently used in the payment mode (e.g., when a customer card is used).
The optional AvailableCredit Variable contains the currently managed amount (e.g., coins already added to the machine, pre-charged credit card, etc.).
7.14.3 EscrowRefund Method
The optional EscrowRefund Method is provided when the payment mode contains an escrow area (e.g., a special area to keep coins). When called, the escrow gets returned.
The signature of this Method is specified below. Table 47 and Table 48 specify the Arguments and AddressSpace representation, respectively.
Signature
EscrowRefund ();| Argument | Description |
Method Result Codes (defined in Call Service)
| Result Code | Description |
| Bad_UserAccessDenied | See OPC 10000-4 for a general description. |
| Attribute | Value | ||||
| BrowseName | EscrowRefund | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
|---|---|---|---|---|---|