updateSupportedGatewayWithHttpInfo method
Future<Response>
updateSupportedGatewayWithHttpInfo(
- String id,
- SupportedGatewayRequestBody supportedGatewayRequestBody
Update an existing supported gateway by ID
Note: This method returns the HTTP Response.
Parameters:
-
String id (required): Path param: id
-
SupportedGatewayRequestBody supportedGatewayRequestBody (required):
Implementation
Future<Response> updateSupportedGatewayWithHttpInfo(
String id,
SupportedGatewayRequestBody supportedGatewayRequestBody,
) async {
// ignore: prefer_const_declarations
final path = r'/ga/supported-gateway/{id}'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = supportedGatewayRequestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}