Interface PaymentClient

    • Method Detail

      • pspUrl

        @HEAD
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/hpfurl")
        com.hybris.charon.RawResponse<java.lang.String> pspUrl​(@HeaderParam("X-CIS-Client-Ref")
                                                               java.lang.String xCisClientRef,
                                                               @HeaderParam("X-tenantId")
                                                               java.lang.String tenantId)
      • handleExternalAuthorization

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizations")
        CisPaymentTransactionResult handleExternalAuthorization​(@HeaderParam("X-CIS-Client-Ref")
                                                                java.lang.String xCisClientRef,
                                                                @HeaderParam("X-tenantId")
                                                                java.lang.String tenantId,
                                                                CisExternalPaymentRequest cisExternalPayment)
      • authorizeWithProfile

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/profiles/{profileId}/authorizations")
        CisPaymentTransactionResult authorizeWithProfile​(@HeaderParam("X-CIS-Client-Ref")
                                                         java.lang.String xCisClientRef,
                                                         @HeaderParam("X-tenantId")
                                                         java.lang.String tenantId,
                                                         @PathParam("profileId")
                                                         java.lang.String profileId,
                                                         CisPaymentAuthorization cisPaymentAuthorization)
      • capture

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizations/{authId}/{transactionId}/captures")
        CisPaymentTransactionResult capture​(@HeaderParam("X-CIS-Client-Ref")
                                            java.lang.String xCisClientRef,
                                            @HeaderParam("X-tenantId")
                                            java.lang.String tenantId,
                                            @PathParam("authId")
                                            java.lang.String authId,
                                            @PathParam("transactionId")
                                            java.lang.String transactionId,
                                            CisPaymentRequest paymentRequest)
      • reverse

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizations/{authId}/{transactionId}/reverses")
        CisPaymentTransactionResult reverse​(@HeaderParam("X-CIS-Client-Ref")
                                            java.lang.String xCisClientRef,
                                            @HeaderParam("X-tenantId")
                                            java.lang.String tenantId,
                                            @PathParam("authId")
                                            java.lang.String authId,
                                            @PathParam("transactionId")
                                            java.lang.String transactionId,
                                            CisPaymentRequest paymentRequest)
      • refund

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizations/{authId}/{transactionId}/refunds")
        CisPaymentTransactionResult refund​(@HeaderParam("X-CIS-Client-Ref")
                                           java.lang.String xCisClientRef,
                                           @HeaderParam("X-tenantId")
                                           java.lang.String tenantId,
                                           @PathParam("authId")
                                           java.lang.String authId,
                                           @PathParam("transactionId")
                                           java.lang.String transactionId,
                                           CisPaymentRequest paymentRequest)
      • addCustomerProfile

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/profiles/{documentId}")
        com.hybris.charon.RawResponse<CisPaymentProfileResult> addCustomerProfile​(@HeaderParam("X-CIS-Client-Ref")
                                                                                  java.lang.String xCisClientRef,
                                                                                  @HeaderParam("X-tenantId")
                                                                                  java.lang.String tenantId,
                                                                                  @PathParam("documentId")
                                                                                  java.lang.String documentId,
                                                                                  CisExternalPaymentRequest cisExternalPayment)
      • updateCustomerProfile

        @PUT
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/profiles/{profileId}")
        CisPaymentProfileResult updateCustomerProfile​(@HeaderParam("X-CIS-Client-Ref")
                                                      java.lang.String xCisClientRef,
                                                      @HeaderParam("X-tenantId")
                                                      java.lang.String tenantId,
                                                      @PathParam("profileId")
                                                      java.lang.String profileId,
                                                      CisPaymentProfileRequest cisPaymentProfileRequest)
      • deleteCustomerProfile

        @DELETE
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/profiles/{profileId}")
        java.lang.String deleteCustomerProfile​(@HeaderParam("X-CIS-Client-Ref")
                                               java.lang.String xCisClientRef,
                                               @HeaderParam("X-tenantId")
                                               java.lang.String tenantId,
                                               @PathParam("profileId")
                                               java.lang.String profileId)
      • initPaymentSession

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/paymentsessions")
        CisTokenizedPaymentTransactionResult initPaymentSession​(@HeaderParam("X-CIS-Client-Ref")
                                                                java.lang.String xCisClientRef,
                                                                @HeaderParam("X-tenantId")
                                                                java.lang.String tenantId,
                                                                CisPaymentSessionInitRequest cisPaymentSessionInitRequest)
      • paymentOrderSetup

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizationsgroups/{authGroupId}/authorizations")
        CisTokenizedPaymentTransactionResult paymentOrderSetup​(@HeaderParam("X-CIS-Client-Ref")
                                                               java.lang.String xCisClientRef,
                                                               @HeaderParam("X-tenantId")
                                                               java.lang.String tenantId,
                                                               @PathParam("authGroupId")
                                                               java.lang.String authGroupId,
                                                               CisTokenizedPaymentAuthorization cisTokenizedPaymentAuthorization)
      • tokenizedPaymentAuthorization

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizationsgroups")
        CisTokenizedPaymentTransactionResult tokenizedPaymentAuthorization​(@HeaderParam("X-CIS-Client-Ref")
                                                                           java.lang.String xCisClientRef,
                                                                           @HeaderParam("X-tenantId")
                                                                           java.lang.String tenantId,
                                                                           CisTokenizedPaymentAuthorization cisTokenizedPaymentAuthorization)
      • tokenizedPaymentCapture

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizationsgroups/{authGroupId}/authorizations/{authId}/captures")
        CisTokenizedPaymentTransactionResult tokenizedPaymentCapture​(@HeaderParam("X-CIS-Client-Ref")
                                                                     java.lang.String xCisClientRef,
                                                                     @HeaderParam("X-tenantId")
                                                                     java.lang.String tenantId,
                                                                     @PathParam("authGroupId")
                                                                     java.lang.String authGroupId,
                                                                     @PathParam("authId")
                                                                     java.lang.String authId,
                                                                     CisTokenizedPaymentCapture cisTokenizedPaymentCapture)
      • tokenizedPaymentRefund

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizationsgroups/{authGroupId}/authorizations/{authId}/captures/{transactionId}/refunds")
        CisTokenizedPaymentTransactionResult tokenizedPaymentRefund​(@HeaderParam("X-CIS-Client-Ref")
                                                                    java.lang.String xCisClientRef,
                                                                    @HeaderParam("X-tenantId")
                                                                    java.lang.String tenantId,
                                                                    @PathParam("authGroupId")
                                                                    java.lang.String authGroupId,
                                                                    @PathParam("authId")
                                                                    java.lang.String authId,
                                                                    @PathParam("transactionId")
                                                                    java.lang.String transactionId,
                                                                    CisTokenizedPaymentRefund cisTokenizedPaymentRefund)
      • tokenizedPaymentReverse

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("/authorizationsgroups/{authGroupId}/authorizations/{authId}/reverses")
        CisTokenizedPaymentTransactionResult tokenizedPaymentReverse​(@HeaderParam("X-CIS-Client-Ref")
                                                                     java.lang.String xCisClientRef,
                                                                     @HeaderParam("X-tenantId")
                                                                     java.lang.String tenantId,
                                                                     @PathParam("authGroupId")
                                                                     java.lang.String authGroupId,
                                                                     @PathParam("authId")
                                                                     java.lang.String authId,
                                                                     CisTokenizedPaymentReverse cisTokenizedPaymentReverse)