Payment Handling: Unterschied zwischen den Versionen

Aus DRV STRING
Wechseln zu: Navigation, Suche
Zeile 10: Zeile 10:
  
  
In both, request and response the underlying basic structure/complex of a concrete payment is from '''PaymentType''', with different characteristics for request and response. To enabling the handling of more than one payment with one request/response these are provided by a '''PaymentsRequestType/PaymentsResponseType'''. In both of them we have the attribute '''@Collection''' attached to the payments of the booking as a whole or to the single payments appearing in the request/respone.  
+
In both, request and response the underlying basic structure/complex of a concrete payment is from '''PaymentType''', with different characteristics for request and response. To enabling the handling of more than one payment with one request/response these are provided by a '''PaymentsRequestType/PaymentsResponseType'''. In both of them and the PaymentType as well we have the attribute '''@Collection''' attached to the payments of the booking as a whole or to the single payments appearing in the request/respone.  
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Zeile 32: Zeile 32:
  
 
|}
 
|}
 +
 +
'''''If a Tour Operator likes to restrict the payments on a specific encashment type he can do it on Payments level; e.g.: To prohibit agency debiting he can provide "TourOperator" here, with the consequence that all payments must directly be handled between customer and Tour Operator.'''''
 +
 +
In all other cases the Tour Opertor can use "Mixed". The user then can decide per payment which encashment to be used, i.e. it also allows the switch of encashment types.
  
 
== Payment Request ==
 
== Payment Request ==
Zeile 48: Zeile 52:
 
| @Identifier|| This is a unique identifier within one message, which can be used to reference on a concrete payment
 
| @Identifier|| This is a unique identifier within one message, which can be used to reference on a concrete payment
 
|-
 
|-
| @Collection|| Compare with above, please  
+
| @Collection|| Compare with explanations given above, please  
  
 
|}
 
|}

Version vom 25. Mai 2018, 15:23 Uhr

With payments there is meant to inform on expected, desired and effected payments AND to enter payments as well; this all in line with the valid data protection requirements.

Whereby with a request one might enter one or more payments whereas the responses will inform you on the status of the payments and that for all existing payments (payment positions) of the "booking" at that point in time respectively rather than for the latest entered payments only.


Capture PaymentsRequest(Type).PNG


Capture PaymentsResponse(Type).PNG


In both, request and response the underlying basic structure/complex of a concrete payment is from PaymentType, with different characteristics for request and response. To enabling the handling of more than one payment with one request/response these are provided by a PaymentsRequestType/PaymentsResponseType. In both of them and the PaymentType as well we have the attribute @Collection attached to the payments of the booking as a whole or to the single payments appearing in the request/respone.

Attribute Values / Explanation
@Collection This is used to inform on the available encashment types supported/allowed by the Tour Operator for the treated operation or the encashment type chosen by the user
Agency For agency debiting
TourOperator For tour operator debiting; i.e. the customer directely pays to the tour operator
OnSite In case the payment must be made on site, e.g. a sports course offered by the hotel
Mixed Signals that the Tour Operator excepts any encashement method, which here - for a concrete payment requested - must not be entered. But of course in an according response it might be an important information

If a Tour Operator likes to restrict the payments on a specific encashment type he can do it on Payments level; e.g.: To prohibit agency debiting he can provide "TourOperator" here, with the consequence that all payments must directly be handled between customer and Tour Operator.

In all other cases the Tour Opertor can use "Mixed". The user then can decide per payment which encashment to be used, i.e. it also allows the switch of encashment types.

Payment Request

Capture PaymentRequest(Type).PNG


A brief explanation of some information displayed here

Here we show the information only which is helpful for a general understanding. The detailed information on all available elements, attributes, values etc. can be taken from the XSD Documentation.

Attribute Values / Explanation
@Identifier This is a unique identifier within one message, which can be used to reference on a concrete payment
@Collection Compare with explanations given above, please


Payment Response

As extension of the request we here have the following additional information

Capture PaymentResponse(Type).PNG


A brief explanation of some information displayed here

Here we show the information only which is helpful for a general understanding. The detailed information on all available elements, attributes, values etc. can be taken from the XSD Documentation.

Furthermore we don't repeat the information here which is identical with the request part documented above.


Visualization

So we might follow the following workflow:

1. Pricing request / quote This will display the expected payments with a status "open" which at least is the total payable amount of the booking. In that case the

2. Book Within the request you can enter one or more payments With the according response one will receive back the correspondign status from Tour Operator perspective

3. Retrieve / display the booking Herewith you will receive back respectively the latest status of the (entered) payments at that time