public net . minidev . ovh . api . billing . OvhPaymentMethod payment_thod_paymentMethodId_PUT ( Long paymentMethodId , Long billingContactId , Boolean _default , String description ) throws IOException { String qPath = "/me/payment/method/{paymentMethodId}" ; StringBuilder sb = path ( qPath , paymentMethodId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "billingContactId" , billingContactId ) ; addBody ( o , "default" , _default ) ; addBody ( o , "description" , description ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , net . minidev . ovh . api . billing . OvhPaymentMethod . class ) ; }
Edit payment method