Class DefaultMyFatoorahInitiatePaymentService
java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahInitiatePaymentService
- All Implemented Interfaces:
- MyFatoorahInitiatePaymentService
public class DefaultMyFatoorahInitiatePaymentService
extends Object
implements MyFatoorahInitiatePaymentService
This service is responsible for making call to the MyFatoorah init-payment endpoint through
 
MyFatoorahProvider- Author:
- Divyank Chavan.
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultMyFatoorahInitiatePaymentService(MyFatoorahProvider myFatoorahProvider) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected MyFatoorahProviderinitiatePayment(@NonNull MyFatoorahInitiatePaymentRequest initPaymentRequest, String applicationId, String tenantId) This method is responsible for calling MyFatoorah init-payment endpoint.
- 
Constructor Details- 
DefaultMyFatoorahInitiatePaymentService
 
- 
- 
Method Details- 
initiatePaymentpublic MyFatoorahInitiatePaymentResponse initiatePayment(@NonNull @NonNull MyFatoorahInitiatePaymentRequest initPaymentRequest, @Nullable String applicationId, @Nullable String tenantId) Description copied from interface:MyFatoorahInitiatePaymentServiceThis method is responsible for calling MyFatoorah init-payment endpoint.- Specified by:
- initiatePaymentin interface- MyFatoorahInitiatePaymentService
- Parameters:
- initPaymentRequest- initiate payment request
- applicationId- the application ID
- tenantId- the tenant ID
- Returns:
- The MyFatoorahInitiatePaymentResponse
 
- 
getMyFatoorahProvider
 
-