@@ -32,8 +32,9 @@ public interface IKeyGenerationApi : IApiAccessor
3232 /// </remarks>
3333 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
3434 /// <param name="generatePublicKeyRequest"></param>
35+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
3536 /// <returns>FlexV1KeysPost200Response</returns>
36- FlexV1KeysPost200Response GeneratePublicKey ( GeneratePublicKeyRequest generatePublicKeyRequest ) ;
37+ FlexV1KeysPost200Response GeneratePublicKey ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null ) ;
3738
3839 /// <summary>
3940 /// Generate Key
@@ -43,8 +44,9 @@ public interface IKeyGenerationApi : IApiAccessor
4344 /// </remarks>
4445 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
4546 /// <param name="generatePublicKeyRequest"></param>
47+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
4648 /// <returns>ApiResponse of FlexV1KeysPost200Response</returns>
47- ApiResponse < FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest ) ;
49+ ApiResponse < FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null ) ;
4850 #endregion Synchronous Operations
4951 #region Asynchronous Operations
5052 /// <summary>
@@ -55,8 +57,9 @@ public interface IKeyGenerationApi : IApiAccessor
5557 /// </remarks>
5658 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
5759 /// <param name="generatePublicKeyRequest"></param>
60+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
5861 /// <returns>Task of FlexV1KeysPost200Response</returns>
59- System . Threading . Tasks . Task < FlexV1KeysPost200Response > GeneratePublicKeyAsync ( GeneratePublicKeyRequest generatePublicKeyRequest ) ;
62+ System . Threading . Tasks . Task < FlexV1KeysPost200Response > GeneratePublicKeyAsync ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null ) ;
6063
6164 /// <summary>
6265 /// Generate Key
@@ -66,8 +69,9 @@ public interface IKeyGenerationApi : IApiAccessor
6669 /// </remarks>
6770 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
6871 /// <param name="generatePublicKeyRequest"></param>
72+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
6973 /// <returns>Task of ApiResponse (FlexV1KeysPost200Response)</returns>
70- System . Threading . Tasks . Task < ApiResponse < FlexV1KeysPost200Response > > GeneratePublicKeyAsyncWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest ) ;
74+ System . Threading . Tasks . Task < ApiResponse < FlexV1KeysPost200Response > > GeneratePublicKeyAsyncWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null ) ;
7175 #endregion Asynchronous Operations
7276 }
7377
@@ -181,10 +185,11 @@ public void AddDefaultHeader(string key, string value)
181185 /// </summary>
182186 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
183187 /// <param name="generatePublicKeyRequest"></param>
188+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
184189 /// <returns>FlexV1KeysPost200Response</returns>
185- public FlexV1KeysPost200Response GeneratePublicKey ( GeneratePublicKeyRequest generatePublicKeyRequest )
190+ public FlexV1KeysPost200Response GeneratePublicKey ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null )
186191 {
187- ApiResponse < FlexV1KeysPost200Response > localVarResponse = GeneratePublicKeyWithHttpInfo ( generatePublicKeyRequest ) ;
192+ ApiResponse < FlexV1KeysPost200Response > localVarResponse = GeneratePublicKeyWithHttpInfo ( generatePublicKeyRequest , format ) ;
188193 return localVarResponse . Data ;
189194 }
190195
@@ -193,8 +198,9 @@ public FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest gen
193198 /// </summary>
194199 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
195200 /// <param name="generatePublicKeyRequest"></param>
201+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
196202 /// <returns>ApiResponse of FlexV1KeysPost200Response</returns>
197- public ApiResponse < FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest )
203+ public ApiResponse < FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null )
198204 {
199205 // verify the required parameter 'generatePublicKeyRequest' is set
200206 if ( generatePublicKeyRequest == null )
@@ -222,6 +228,7 @@ public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (G
222228 if ( localVarHttpHeaderAccept != null )
223229 localVarHeaderParams . Add ( "Accept" , localVarHttpHeaderAccept ) ;
224230
231+ if ( format != null ) localVarQueryParams . Add ( "format" , Configuration . ApiClient . ParameterToString ( format ) ) ; // query parameter
225232 if ( generatePublicKeyRequest != null && generatePublicKeyRequest . GetType ( ) != typeof ( byte [ ] ) )
226233 {
227234 localVarPostBody = Configuration . ApiClient . Serialize ( generatePublicKeyRequest ) ; // http body (model) parameter
@@ -255,10 +262,11 @@ public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (G
255262 /// </summary>
256263 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
257264 /// <param name="generatePublicKeyRequest"></param>
265+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
258266 /// <returns>Task of FlexV1KeysPost200Response</returns>
259- public async System . Threading . Tasks . Task < FlexV1KeysPost200Response > GeneratePublicKeyAsync ( GeneratePublicKeyRequest generatePublicKeyRequest )
267+ public async System . Threading . Tasks . Task < FlexV1KeysPost200Response > GeneratePublicKeyAsync ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null )
260268 {
261- ApiResponse < FlexV1KeysPost200Response > localVarResponse = await GeneratePublicKeyAsyncWithHttpInfo ( generatePublicKeyRequest ) ;
269+ ApiResponse < FlexV1KeysPost200Response > localVarResponse = await GeneratePublicKeyAsyncWithHttpInfo ( generatePublicKeyRequest , format ) ;
262270 return localVarResponse . Data ;
263271
264272 }
@@ -268,8 +276,9 @@ public async System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePubl
268276 /// </summary>
269277 /// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
270278 /// <param name="generatePublicKeyRequest"></param>
279+ /// <param name="format">Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (optional, default to legacy)</param>
271280 /// <returns>Task of ApiResponse (FlexV1KeysPost200Response)</returns>
272- public async System . Threading . Tasks . Task < ApiResponse < FlexV1KeysPost200Response > > GeneratePublicKeyAsyncWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest )
281+ public async System . Threading . Tasks . Task < ApiResponse < FlexV1KeysPost200Response > > GeneratePublicKeyAsyncWithHttpInfo ( GeneratePublicKeyRequest generatePublicKeyRequest , string format = null )
273282 {
274283 // verify the required parameter 'generatePublicKeyRequest' is set
275284 if ( generatePublicKeyRequest == null )
@@ -297,6 +306,7 @@ public async System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>>
297306 if ( localVarHttpHeaderAccept != null )
298307 localVarHeaderParams . Add ( "Accept" , localVarHttpHeaderAccept ) ;
299308
309+ if ( format != null ) localVarQueryParams . Add ( "format" , Configuration . ApiClient . ParameterToString ( format ) ) ; // query parameter
300310 if ( generatePublicKeyRequest != null && generatePublicKeyRequest . GetType ( ) != typeof ( byte [ ] ) )
301311 {
302312 localVarPostBody = Configuration . ApiClient . Serialize ( generatePublicKeyRequest ) ; // http body (model) parameter
0 commit comments