public final class StatusApi
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
callStatus(java.lang.String clientKey,
java.lang.String paymentData,
StatusConnectionTask.StatusCallback callback)
Starts a request to to the Status endpoing.
|
static StatusApi |
getInstance(Environment environment)
Get the instance of the
StatusApi for the specified environment. |
public static StatusApi getInstance(Environment environment)
StatusApi
for the specified environment.environment
- The URL of the server for making the calls. Should be the same used in the Payment.StatusApi
.public void callStatus(java.lang.String clientKey, java.lang.String paymentData, StatusConnectionTask.StatusCallback callback)
clientKey
- The clientKey that identifies the merchant.paymentData
- The paymentData that identifies the payment.callback
- The callback to receive the result.