| Package | Description |
|---|---|
| com.apruve | |
| com.apruve.models |
| Modifier and Type | Method and Description |
|---|---|
<T> ApruveResponse<T> |
ApruveClient.delete(String path,
Class<T> responseType) |
<T> ApruveResponse<T> |
ApruveClient.get(String path,
Class<T> resultType)
Issues a GET request against to the Apruve REST API, using the specified
path.
|
<T> ApruveResponse<List<T>> |
ApruveClient.index(String path,
javax.ws.rs.core.GenericType<List<T>> resultType)
As get(), but specialized to return lists of objects for REST index
operations
|
<T,RT> ApruveResponse<RT> |
ApruveClient.post(String path,
T payload,
Class<RT> responseType) |
<T,RT> ApruveResponse<RT> |
ApruveClient.put(String path,
T payload,
Class<RT> responseType) |
| Modifier and Type | Method and Description |
|---|---|
static ApruveResponse<SubscriptionCancelResponse> |
Subscription.cancel(String subscriptionId)
Cancels the Subscription with the given ID.
|
ApruveResponse<PaymentCreateResponse> |
Payment.create()
Create a new Payment on the Apruve servers.
|
ApruveResponse<SubscriptionAdjustmentCreateResponse> |
SubscriptionAdjustment.create(String subscriptionId)
Create this SubscriptionAdjustment on the Apruve servers.
|
static ApruveResponse<SubscriptionAdjustmentDeleteResponse> |
SubscriptionAdjustment.delete(String subscriptionId,
String adjustmentId)
Delete the specified SubscriptionAdjustment from the Apruve servers.
|
ApruveResponse<PaymentRequestUpdateResponse> |
PaymentRequest.finalizeRequest()
Invokes the "finalize" action on the payment request.
|
static ApruveResponse<Subscription> |
Subscription.get(String suscriptionId)
Get the Subscription with the given ID
|
static ApruveResponse<PaymentRequest> |
PaymentRequest.get(String paymentRequestId)
Fetches the PaymentRequest with the given ID from Apruve.
|
static ApruveResponse<SubscriptionAdjustment> |
SubscriptionAdjustment.get(String subscriptionId,
String adjustmentId)
Get the SubscriptionAdjustment with the given ID
|
static ApruveResponse<? extends LineItem> |
LineItem.get(String paymentRequestId,
String lineItemId) |
static ApruveResponse<Payment> |
Payment.get(String paymentRequestId,
String paymentId)
Fetches the Payment with the given ID from Apruve.
|
static ApruveResponse<List<LineItem>> |
LineItem.getAll(String paymentRequestId) |
static ApruveResponse<List<Payment>> |
Payment.getAll(String paymentRequestId)
Fetches all Payments belonging to the PaymentRequest with the specified
ID.
|
static ApruveResponse<List<SubscriptionAdjustment>> |
SubscriptionAdjustment.getAllAdjustments(String subscriptionId)
Get all SubscriptionAdjustments for the specified Subscription.
|
ApruveResponse<SubscriptionUpdateResponse> |
Subscription.update()
Updates the Subscription state at Apruve to match the current object
state.
|
ApruveResponse<PaymentRequestUpdateResponse> |
PaymentRequest.update()
Updates the PaymentRequest state at Apruve to match the current object
state.
|
Copyright © 2014. All rights reserved.