4D Payments SDK 2016 .NET Edition

Questions / Feedback?

GetHotelDataAggregate Method

Returns an aggregate containing the Hotel/Lodging data of this transaction, which is then used for reversals.

Syntax

public string GetHotelDataAggregate();
Public Function GetHotelDataAggregate() As String

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:

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();
  }

.NET Standard Notes

To call this method in an asynchronous manner call GetHotelDataAggregateAsync instead. When the method completes (or an error is encountered) the GetHotelDataAggregateCompleted event will fire.

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]