Пример #1
0
        /// <summary>
        /// The CardInfo function creates a configured datarequest with an CustomGiftcardCardInfoRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A CustomGiftcardCardInfoRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest CardInfo(CustomGiftcardCardInfoRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request, this.ServiceName.ToString());
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService(this.ServiceName.ToString(), parameters, "CardInfo");

            return(configuredServiceDataReqeust);
        }
Пример #2
0
        /// <summary>
        /// The UpdateReservation function creates a configured datarequest with an KlarnaUpdateReservationRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A KlarnaUpdateReservationRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest UpdateReservation(KlarnaUpdateReservationRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("klarna", parameters, "UpdateReservation");

            return(configuredServiceDataReqeust);
        }
Пример #3
0
        /// <summary>
        /// The Generate function creates a configured datarequest with an IdealQrGenerateRequest,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">An IdealQrGenerateRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest Generate(IdealQrGenerateRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataRequest = new ConfiguredServiceDataRequest(ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataRequest.BaseData.AddService("IdealQr", parameters, "Generate");

            return(configuredServiceDataRequest);
        }
        /// <summary>
        /// The ModifyMandate function creates a configured datarequest with an EMandateModifyMandateRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A EMandateModifyMandateRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest ModifyMandate(EMandateModifyMandateRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("emandate", parameters, "ModifyMandate");

            return(configuredServiceDataReqeust);
        }
Пример #5
0
        /// <summary>
        /// The GetPClasses function creates a configured datarequest with an KlarnaGetPClassesRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A KlarnaGetPClassesRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest GetPClasses(KlarnaGetPClassesRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("klarna", parameters, "GetPClasses");

            return(configuredServiceDataReqeust);
        }
        /// <summary>
        /// The TerminatePaymentPlan function creates a configured data requestwith an CreditManagementCreatePaymentPlanRequest,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest TerminatePaymentPlan(CreditManagementCreatePaymentPlanRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataRequest = new ConfiguredServiceDataRequest(ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataRequest.BaseData.AddService("CreditManagement3", parameters, "TerminatePaymentPlan");

            return(configuredServiceDataRequest);
        }
        /// <summary>
        /// The GetStatus function creates a configured datarequest with an EMandateGetStatusRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A EMandateGetStatusRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest GetStatus(EMandateGetStatusRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("emandate", parameters, "GetStatus");

            return(configuredServiceDataReqeust);
        }
        /// <summary>
        /// The AddOrUpdateDebtor function creates a configured data requestwith an CreditManagementAddOrUpdateDebtorRequest,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest AddOrUpdateDebtor(CreditManagementAddOrUpdateDebtorRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataRequest = new ConfiguredServiceDataRequest(ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataRequest.BaseData.AddService("CreditManagement3", parameters, "AddOrUpdateDebtor");

            return(configuredServiceDataRequest);
        }
        /// <summary>
        /// The CreateCombinedInvoice function creates a configured data request with an
        /// CreditManagementInvoiceRequest, that is ready to be executed.
        /// </summary>
        /// <param name="request">A CreditManagementCreateCreditNoteRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest CreateCreditNote(CreditManagementCreateCreditNoteRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataRequest = new ConfiguredServiceDataRequest(ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataRequest.BaseData.AddService("CreditManagement3", parameters, "CreateCombinedInvoice");

            return(configuredServiceDataRequest);
        }
        /// <summary>
        /// The CreateInvoice function creates a configured transaction with an
        /// CreditManagementCreateInvoiceRequest, that is ready to be executed.
        /// </summary>
        /// <param name="request">A CreditManagementCreateInvoiceRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest CreateInvoice(CreditManagementCreateInvoiceRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceTransaction = new ConfiguredServiceDataRequest(ConfiguredDataRequest.BaseDataRequest);

            configuredServiceTransaction.BaseData.AddService("CreditManagement3", parameters, "CreateInvoice");

            return(configuredServiceTransaction);
        }
        /// <summary>
        /// The CreateApplication function creates a configured datarequest with an BuckarooWalletCreateApplicationRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A BuckarooWalletCreateApplicationRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest CreateApplication(BuckarooWalletCreateApplicationRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("buckaroowallet", parameters, "CreateApplication");

            return(configuredServiceDataReqeust);
        }
        /// <summary>
        /// The GetBalance function creates a configured datarequest with an BuckarooWalletGetBalanceRequest request,
        /// that is ready to be executed.
        /// </summary>
        /// <param name="request">A BuckarooWalletGetBalanceRequest</param>
        /// <returns></returns>
        public ConfiguredServiceDataRequest GetBalance(BuckarooWalletGetBalanceRequest request)
        {
            var parameters = ServiceHelper.CreateServiceParameters(request);
            var configuredServiceDataReqeust = new ConfiguredServiceDataRequest(this.ConfiguredDataRequest.BaseDataRequest);

            configuredServiceDataReqeust.BaseData.AddService("buckaroowallet", parameters, "GetBalance");

            return(configuredServiceDataReqeust);
        }