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