Package co.dapi

Class Payment


  • public class Payment
    extends java.lang.Object
    • Constructor Detail

      • Payment

        public Payment​(Config config)
    • Method Detail

      • createBeneficiary

        public CreateBeneficiaryResponse createBeneficiary​(Payment.BeneficiaryInfo beneficiary,
                                                           java.lang.String accessToken,
                                                           java.lang.String userSecret,
                                                           java.lang.String operationID,
                                                           UserInput[] userInputs)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getBeneficiaries

        public GetBeneficiariesResponse getBeneficiaries​(java.lang.String accessToken,
                                                         java.lang.String userSecret,
                                                         java.lang.String operationID,
                                                         UserInput[] userInputs)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • createTransfer

        public CreateTransferResponse createTransfer​(Payment.Transfer transfer,
                                                     java.lang.String accessToken,
                                                     java.lang.String userSecret,
                                                     java.lang.String operationID,
                                                     UserInput[] userInputs)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • transferAutoflow

        public TransferAutoflowResponse transferAutoflow​(Payment.TransferAutoflow transferAutoflow,
                                                         java.lang.String accessToken,
                                                         java.lang.String userSecret,
                                                         java.lang.String operationID,
                                                         UserInput[] userInputs)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException