Rate

An interface called IThirdPartyOrderOperations from the namespace XendBridgeSDK.Services.Interfaces is provided, in which the method GetRate would be called from. An object argument is passed called GetRateRequestModel fetch the order rate.

A generic BaseResponse<T> class is returned on all the method calls.

The response returned from fetching the rate is BaseResponse<LPRateModel> finally, get your response using the example snippet below;

// Populate the model with necessary values
GetRateRequestModel model = new GetRateRequestModel(){};

// Make the call by passing the model
BaseResponse<LPRateModel> response = thirdPartyOrderOperations.GetRate(model);

Please see the function from your IDE or visit here to see the request and response models in detail.

Last updated