public System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL) { ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest(); inValue.Body = new ZarinPal_MVC_Test.ZarinPalTest.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(((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue)); }
public int PaymentRequest(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL, out string Authority) { ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest(); inValue.Body = new ZarinPal_MVC_Test.ZarinPalTest.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; ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse retVal = ((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequest(inValue); Authority = retVal.Body.Authority; return(retVal.Body.Status); }
System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse> ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest request) { return(base.Channel.PaymentRequestAsync(request)); }
ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequest(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest request) { return(base.Channel.PaymentRequest(request)); }