Interface SapDigitalPaymentClient

  • All Superinterfaces:
    CisClient

    public interface SapDigitalPaymentClient
    extends CisClient
    Client to connect to SAP Digital payment using Charon API.
    • Method Detail

      • getRegistrationUrl

        @GET
        @Produces("application/json")
        @Path("/cards/getregistrationurl?CompanyCode=${CompanyCode}&CustomerCountry=${CustomerCountry}&PaymentMethod=${PaymentMethod}&RoutingCustomParameterValue=${RoutingCustomParameterValue}")
        rx.Observable<CisSapDigitalPaymentRegistrationUrlResult> getRegistrationUrl()
                                                                             throws java.util.concurrent.TimeoutException
        Fetch the Registration URL and the session ID from SAP Digital payment
        Parameters:
        CompanyCode -
        CustomerCountry -
        PaymentMethod -
        PaymentType -
        Returns:
        CisSapDigitalPaymentRegistrationUrlResult
        Throws:
        java.util.concurrent.TimeoutException
      • pollRegisteredCard

        @GET
        @Produces("application/json")
        @Path("/cards/poll/{sessionId}")
        rx.Observable<CisSapDigitalPaymentPollRegisteredCardResult> pollRegisteredCard​(@PathParam("sessionId")
                                                                                       java.lang.String sessionId)
        Poll the registered card using the session ID
        Parameters:
        sessionId -
        Returns:
        CisSapDigitalPaymentPollRegisteredCardResult