Example #1
0
 public System.Threading.Tasks.Task <WebApp.ZarinPal.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL)
 {
     WebApp.ZarinPal.PaymentRequestRequest inValue = new WebApp.ZarinPal.PaymentRequestRequest();
     inValue.Body             = new WebApp.ZarinPal.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     return(((WebApp.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue));
 }
Example #2
0
 public int PaymentRequest(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     WebApp.ZarinPal.PaymentRequestRequest inValue = new WebApp.ZarinPal.PaymentRequestRequest();
     inValue.Body             = new WebApp.ZarinPal.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     WebApp.ZarinPal.PaymentRequestResponse retVal = ((WebApp.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequest(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Example #3
0
 System.Threading.Tasks.Task <WebApp.ZarinPal.PaymentRequestResponse> WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(WebApp.ZarinPal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequestAsync(request));
 }
Example #4
0
 WebApp.ZarinPal.PaymentRequestResponse WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequest(WebApp.ZarinPal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequest(request));
 }