@@ -146,8 +146,8 @@ public PaymentIntent cancel(Map<String, Object> params)
146
146
public PaymentIntent cancel (Map <String , Object > params , RequestOptions options )
147
147
throws AuthenticationException , InvalidRequestException ,
148
148
APIConnectionException , CardException , APIException {
149
- return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/cancel" , params ,
150
- PaymentIntent .class , options );
149
+ return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/cancel" ,
150
+ params , PaymentIntent .class , options );
151
151
}
152
152
// </editor-fold>
153
153
@@ -176,8 +176,8 @@ public PaymentIntent capture(Map<String, Object> params)
176
176
public PaymentIntent capture (Map <String , Object > params , RequestOptions options )
177
177
throws AuthenticationException , InvalidRequestException ,
178
178
APIConnectionException , CardException , APIException {
179
- return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/capture" , params ,
180
- PaymentIntent .class , options );
179
+ return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/capture" ,
180
+ params , PaymentIntent .class , options );
181
181
}
182
182
// </editor-fold>
183
183
@@ -206,8 +206,8 @@ public PaymentIntent confirm(Map<String, Object> params)
206
206
public PaymentIntent confirm (Map <String , Object > params , RequestOptions options )
207
207
throws AuthenticationException , InvalidRequestException ,
208
208
APIConnectionException , CardException , APIException {
209
- return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/confirm" , params ,
210
- PaymentIntent .class , options );
209
+ return request (RequestMethod .POST , instanceURL (PaymentIntent .class , this .id ) + "/confirm" ,
210
+ params , PaymentIntent .class , options );
211
211
}
212
212
// </editor-fold>
213
213
0 commit comments