Пример #1
0
        public System.Threading.Tasks.Task <PaymentRequestWithExtraResponse> PaymentRequestWithExtraAsync(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL)
        {
            PaymentRequestWithExtraRequest inValue = new PaymentRequestWithExtraRequest();

            inValue.Body                = new PaymentRequestWithExtraRequestBody();
            inValue.Body.MerchantID     = MerchantID;
            inValue.Body.Amount         = Amount;
            inValue.Body.Description    = Description;
            inValue.Body.AdditionalData = AdditionalData;
            inValue.Body.Email          = Email;
            inValue.Body.Mobile         = Mobile;
            inValue.Body.CallbackURL    = CallbackURL;
            return(((PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtraAsync(inValue));
        }
Пример #2
0
        public int PaymentRequestWithExtra(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL, out string Authority)
        {
            PaymentRequestWithExtraRequest inValue = new PaymentRequestWithExtraRequest();

            inValue.Body                = new PaymentRequestWithExtraRequestBody();
            inValue.Body.MerchantID     = MerchantID;
            inValue.Body.Amount         = Amount;
            inValue.Body.Description    = Description;
            inValue.Body.AdditionalData = AdditionalData;
            inValue.Body.Email          = Email;
            inValue.Body.Mobile         = Mobile;
            inValue.Body.CallbackURL    = CallbackURL;
            PaymentRequestWithExtraResponse retVal = ((PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtra(inValue);

            Authority = retVal.Body.Authority;
            return(retVal.Body.Status);
        }
Пример #3
0
 System.Threading.Tasks.Task <PaymentRequestWithExtraResponse> PaymentGatewayImplementationServicePortType.PaymentRequestWithExtraAsync(PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtraAsync(request));
 }
Пример #4
0
 PaymentRequestWithExtraResponse PaymentGatewayImplementationServicePortType.PaymentRequestWithExtra(PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtra(request));
 }