@@ -527,7 +527,7 @@ public ApiResponse<Object> DeleteCustomerPaymentInstrumentWithHttpInfo (string c
527527
528528 if ( ExceptionFactory != null )
529529 {
530- ApiException exception = ( ApiException ) ExceptionFactory ( "DeleteCustomerPaymentInstrument" , localVarResponse ) ;
530+ Exception exception = ExceptionFactory ( "DeleteCustomerPaymentInstrument" , localVarResponse ) ;
531531 if ( exception != null )
532532 {
533533 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -639,7 +639,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteCustomerPaym
639639
640640 if ( ExceptionFactory != null )
641641 {
642- ApiException exception = ( ApiException ) ExceptionFactory ( "DeleteCustomerPaymentInstrument" , localVarResponse ) ;
642+ Exception exception = ExceptionFactory ( "DeleteCustomerPaymentInstrument" , localVarResponse ) ;
643643 if ( exception != null )
644644 {
645645 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -752,7 +752,7 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > GetCustomer
752752
753753 if ( ExceptionFactory != null )
754754 {
755- ApiException exception = ( ApiException ) ExceptionFactory ( "GetCustomerPaymentInstrument" , localVarResponse ) ;
755+ Exception exception = ExceptionFactory ( "GetCustomerPaymentInstrument" , localVarResponse ) ;
756756 if ( exception != null )
757757 {
758758 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -866,7 +866,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
866866
867867 if ( ExceptionFactory != null )
868868 {
869- ApiException exception = ( ApiException ) ExceptionFactory ( "GetCustomerPaymentInstrument" , localVarResponse ) ;
869+ Exception exception = ExceptionFactory ( "GetCustomerPaymentInstrument" , localVarResponse ) ;
870870 if ( exception != null )
871871 {
872872 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -979,7 +979,7 @@ public ApiResponse< PaymentInstrumentList > GetCustomerPaymentInstrumentsListWit
979979
980980 if ( ExceptionFactory != null )
981981 {
982- ApiException exception = ( ApiException ) ExceptionFactory ( "GetCustomerPaymentInstrumentsList" , localVarResponse ) ;
982+ Exception exception = ExceptionFactory ( "GetCustomerPaymentInstrumentsList" , localVarResponse ) ;
983983 if ( exception != null )
984984 {
985985 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -1094,7 +1094,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PaymentInstrumentList>> Get
10941094
10951095 if ( ExceptionFactory != null )
10961096 {
1097- ApiException exception = ( ApiException ) ExceptionFactory ( "GetCustomerPaymentInstrumentsList" , localVarResponse ) ;
1097+ Exception exception = ExceptionFactory ( "GetCustomerPaymentInstrumentsList" , localVarResponse ) ;
10981098 if ( exception != null )
10991099 {
11001100 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -1229,7 +1229,7 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PatchCustom
12291229
12301230 if ( ExceptionFactory != null )
12311231 {
1232- ApiException exception = ( ApiException ) ExceptionFactory ( "PatchCustomersPaymentInstrument" , localVarResponse ) ;
1232+ Exception exception = ExceptionFactory ( "PatchCustomersPaymentInstrument" , localVarResponse ) ;
12331233 if ( exception != null )
12341234 {
12351235 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -1366,7 +1366,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
13661366
13671367 if ( ExceptionFactory != null )
13681368 {
1369- ApiException exception = ( ApiException ) ExceptionFactory ( "PatchCustomersPaymentInstrument" , localVarResponse ) ;
1369+ Exception exception = ExceptionFactory ( "PatchCustomersPaymentInstrument" , localVarResponse ) ;
13701370 if ( exception != null )
13711371 {
13721372 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -1482,7 +1482,7 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PostCustome
14821482
14831483 if ( ExceptionFactory != null )
14841484 {
1485- ApiException exception = ( ApiException ) ExceptionFactory ( "PostCustomerPaymentInstrument" , localVarResponse ) ;
1485+ Exception exception = ExceptionFactory ( "PostCustomerPaymentInstrument" , localVarResponse ) ;
14861486 if ( exception != null )
14871487 {
14881488 logger . Error ( $ "Exception : { exception . Message } ") ;
@@ -1600,7 +1600,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
16001600
16011601 if ( ExceptionFactory != null )
16021602 {
1603- ApiException exception = ( ApiException ) ExceptionFactory ( "PostCustomerPaymentInstrument" , localVarResponse ) ;
1603+ Exception exception = ExceptionFactory ( "PostCustomerPaymentInstrument" , localVarResponse ) ;
16041604 if ( exception != null )
16051605 {
16061606 logger . Error ( $ "Exception : { exception . Message } ") ;
0 commit comments