public class PaymentLinksApi extends Object
| Constructor and Description |
|---|
PaymentLinksApi() |
PaymentLinksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PblPaymentLinksPost201Response |
createPaymentLink(CreatePaymentLinkRequest createPaymentLinkRequest)
Create a Payment Link
Create a new payment link.
|
okhttp3.Call |
createPaymentLinkAsync(CreatePaymentLinkRequest createPaymentLinkRequest,
ApiCallback<PblPaymentLinksPost201Response> callback)
Create a Payment Link (asynchronously)
Create a new payment link.
|
okhttp3.Call |
createPaymentLinkCall(CreatePaymentLinkRequest createPaymentLinkRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createPaymentLink
|
ApiResponse<PblPaymentLinksPost201Response> |
createPaymentLinkWithHttpInfo(CreatePaymentLinkRequest createPaymentLinkRequest)
Create a Payment Link
Create a new payment link.
|
PblPaymentLinksAllGet200Response |
getAllPaymentLinks(Integer offset,
Integer limit,
String status)
Get a List of Payment Links
Provides a (filtered) list of payment links that have been created in your account.
|
okhttp3.Call |
getAllPaymentLinksAsync(Integer offset,
Integer limit,
String status,
ApiCallback<PblPaymentLinksAllGet200Response> callback)
Get a List of Payment Links (asynchronously)
Provides a (filtered) list of payment links that have been created in your account.
|
okhttp3.Call |
getAllPaymentLinksCall(Integer offset,
Integer limit,
String status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllPaymentLinks
|
ApiResponse<PblPaymentLinksAllGet200Response> |
getAllPaymentLinksWithHttpInfo(Integer offset,
Integer limit,
String status)
Get a List of Payment Links
Provides a (filtered) list of payment links that have been created in your account.
|
ApiClient |
getApiClient() |
PblPaymentLinksGet200Response |
getPaymentLink(String id)
Get Payment Link Details
You can retrieve details of a specific payment link.
|
okhttp3.Call |
getPaymentLinkAsync(String id,
ApiCallback<PblPaymentLinksGet200Response> callback)
Get Payment Link Details (asynchronously)
You can retrieve details of a specific payment link.
|
okhttp3.Call |
getPaymentLinkCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getPaymentLink
|
ApiResponse<PblPaymentLinksGet200Response> |
getPaymentLinkWithHttpInfo(String id)
Get Payment Link Details
You can retrieve details of a specific payment link.
|
void |
setApiClient(ApiClient apiClient) |
PblPaymentLinksPost201Response |
updatePaymentLink(String id,
UpdatePaymentLinkRequest updatePaymentLinkRequest)
Update a Payment Link
You can update all information except the payment link number until any payment is received for a payment link.
|
okhttp3.Call |
updatePaymentLinkAsync(String id,
UpdatePaymentLinkRequest updatePaymentLinkRequest,
ApiCallback<PblPaymentLinksPost201Response> callback)
Update a Payment Link (asynchronously)
You can update all information except the payment link number until any payment is received for a payment link.
|
okhttp3.Call |
updatePaymentLinkCall(String id,
UpdatePaymentLinkRequest updatePaymentLinkRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updatePaymentLink
|
ApiResponse<PblPaymentLinksPost201Response> |
updatePaymentLinkWithHttpInfo(String id,
UpdatePaymentLinkRequest updatePaymentLinkRequest)
Update a Payment Link
You can update all information except the payment link number until any payment is received for a payment link.
|
public PaymentLinksApi()
public PaymentLinksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createPaymentLinkCall(CreatePaymentLinkRequest createPaymentLinkRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createPaymentLinkRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PblPaymentLinksPost201Response createPaymentLink(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException
createPaymentLinkRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PblPaymentLinksPost201Response> createPaymentLinkWithHttpInfo(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException
createPaymentLinkRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createPaymentLinkAsync(CreatePaymentLinkRequest createPaymentLinkRequest, ApiCallback<PblPaymentLinksPost201Response> callback) throws ApiException
createPaymentLinkRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAllPaymentLinksCall(Integer offset, Integer limit, String status, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. Maximum limit: 1000 (required)status - The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PblPaymentLinksAllGet200Response getAllPaymentLinks(Integer offset, Integer limit, String status) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. Maximum limit: 1000 (required)status - The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PblPaymentLinksAllGet200Response> getAllPaymentLinksWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. Maximum limit: 1000 (required)status - The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllPaymentLinksAsync(Integer offset, Integer limit, String status, ApiCallback<PblPaymentLinksAllGet200Response> callback) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. Maximum limit: 1000 (required)status - The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getPaymentLinkCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The purchase number. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PblPaymentLinksGet200Response getPaymentLink(String id) throws ApiException
id - The purchase number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PblPaymentLinksGet200Response> getPaymentLinkWithHttpInfo(String id) throws ApiException
id - The purchase number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getPaymentLinkAsync(String id, ApiCallback<PblPaymentLinksGet200Response> callback) throws ApiException
id - The purchase number. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updatePaymentLinkCall(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The purchase number. (required)updatePaymentLinkRequest - Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PblPaymentLinksPost201Response updatePaymentLink(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException
id - The purchase number. (required)updatePaymentLinkRequest - Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PblPaymentLinksPost201Response> updatePaymentLinkWithHttpInfo(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException
id - The purchase number. (required)updatePaymentLinkRequest - Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updatePaymentLinkAsync(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, ApiCallback<PblPaymentLinksPost201Response> callback) throws ApiException
id - The purchase number. (required)updatePaymentLinkRequest - Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2025. All rights reserved.