public class FreeCreatePaymentMethodProvider extends CreatePaymentMethodBase implements CreatePaymentMethod
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<CreatePaymentData,java.util.concurrent.CompletionStage<PaymentCreationResult>> |
create()
Provides a function that handles the creation of a payment object within the CTP plattform.
|
static FreeCreatePaymentMethodProvider |
of() |
addNewPayment, createPaymentDraft, getLanguageFromCartpublic static FreeCreatePaymentMethodProvider of()
public java.util.function.Function<CreatePaymentData,java.util.concurrent.CompletionStage<PaymentCreationResult>> create()
CreatePaymentMethodcreate in interface CreatePaymentMethod