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