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