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