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)); }
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); }
System.Threading.Tasks.Task <WebApp.ZarinPal.PaymentRequestResponse> WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(WebApp.ZarinPal.PaymentRequestRequest request) { return(base.Channel.PaymentRequestAsync(request)); }
WebApp.ZarinPal.PaymentRequestResponse WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequest(WebApp.ZarinPal.PaymentRequestRequest request) { return(base.Channel.PaymentRequest(request)); }