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