Example #1
0
 public PreAuthorization cancelPreAuthorization(String preAuthorizationId) {
   return fromJson(
       httpClient.put(
           format(ApiPath.PRE_AUTHORIZATION_CANCEL, preAuthorizationId), headers(), null),
       PreAuthorization.class);
 }
Example #2
0
 public Bill cancelBill(String billId) {
   return fromJson(
       httpClient.put(format(ApiPath.BILL_CANCEL, billId), headers(), null), Bill.class);
 }
Example #3
0
 public Subscription cancelSubscription(String subscriptionId) {
   return fromJson(
       httpClient.put(format(ApiPath.SUBSCRIPTION_CANCEL, subscriptionId), headers(), null),
       Subscription.class);
 }