Interface PendingPayment
-
- All Superinterfaces:
PrettyPrintable
public interface PendingPayment extends PrettyPrintable
The interface that represents a pending payment.- Author:
- soknight
- See Also:
EasyDonateClient.createPayment()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Payment
getPayment()
Get the generated payment instance.@NotNull String
getUrl()
Get the customer URL to pay this purchase.-
Methods inherited from interface ru.easydonate.easydonate4j.data.model.PrettyPrintable
toPrettyString
-
-
-
-
Method Detail
-
getUrl
@NotNull @NotNull String getUrl()
Get the customer URL to pay this purchase.- Returns:
- The payment URL.
-
getPayment
@NotNull @NotNull Payment getPayment()
Get the generated payment instance.
You can use that to get the payment ID and check current payment status in the future.- Returns:
- The generated pending payment.
-
-