Interface PaymentService
- All Known Implementing Classes:
PaymentServiceImpl
public interface PaymentService
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
createOrder
(String toOrderType, String toOrderKey, String paymentMethodKey) Creates an order if required by payment type.getOrderInfo
(String orderKey, @Nullable String emailAddress) Flow requires this information for setup.
-
Method Details
-
createOrder
@Nullable @Nullable String createOrder(String toOrderType, String toOrderKey, String paymentMethodKey) throws InterruptedException Creates an order if required by payment type. Otherwise retuns null.- Throws:
InterruptedException
-
getOrderInfo
Flow requires this information for setup.
-