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