public OvhPaymentMethod payment_thod_paymentMethodId_finalize_POST ( Long paymentMethodId , Long expirationMonth , Long expirationYear , String registrationId ) throws IOException { String qPath = "/me/payment/method/{paymentMethodId}/finalize" ; StringBuilder sb = path ( qPath , paymentMethodId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "expirationMonth" , expirationMonth ) ; addBody ( o , "expirationYear" , expirationYear ) ; addBody ( o , "registrationId" , registrationId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPaymentMethod . class ) ; }
Finalize one payment method registration