GetHotelDataAggregate Method
Returns an aggregate containing the Hotel/Lodging data of this transaction, which is then used for reversals.
Syntax
public String getHotelDataAggregate();
Remarks
This method returns an aggregate containing all of the hotel/lodging industry data to reverse a transaction. This aggregate must be passed to the FDMSReversal component's HotelDataAggregate config in order to reverse the transaction.
The industry data included in the aggregate is:
- ArrivalDate
- CardholderName
- DepartureDate
- ExtraCharges
- InvoiceNumber
- NoShow
- PrestigiousIndicator
- ProgramIndicator
- ReferenceNumber
- RoomNumber
- RoomRate
- StayDuration
An example of how this method is used is shown below:
FDMSRetail.Authorize(); if (FDMSRetail.ResponseCaptureFlag) { // Set Additional FDMSReverse properties as shown within the FDMSReverse help FDMSReverse.Config("HotelDataAggregate=" + FDMSRetail.GetHotelDataAggregate()); FDMSReverse.Reverse(); }