Class IServiceFeeService.Default

    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • payServiceFee

        public PaymentResponse payServiceFee​(ServiceFeeRequest request,
                                             ResultStatus resultStatus)
                                      throws RemoteException
        Calling this method will result in a payment being submitted on behalf of the associated MID that collects the service fees for your merchant. The request object must contain the amount, the source payment id (that the service fee is related to), and the populated vaulted card object including the token The orderId will be populated internal to the implementation The PaymentResponse will indicate if the request was successful or no. If successful, it will contain a payment object, if not, it should include an error message
        Specified by:
        payServiceFee in interface IServiceFeeService
        Throws:
        RemoteException
      • refundServiceFee

        public RefundResponse refundServiceFee​(ServiceFeeRefundRequest request,
                                               ResultStatus resultStatus)
                                        throws RemoteException
        Calling this method will refund the service fee previously charged The ServiceFeeRefundRequest.refund object must be populated as below: refund.amount : must match the amount of the original service charge refund.payment : populated with the original payment The RefundResponse object will indicate success or failure. In the case of failure there will be an error message set. In the case of success the refund object will be echo'ed back with additional attributes (e.g id) populated
        Specified by:
        refundServiceFee in interface IServiceFeeService
        Throws:
        RemoteException