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