public System.Threading.Tasks.Task <DataLayer.ZarinPal.PaymentRequestWithExtraResponse> PaymentRequestWithExtraAsync(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL) { DataLayer.ZarinPal.PaymentRequestWithExtraRequest inValue = new DataLayer.ZarinPal.PaymentRequestWithExtraRequest(); inValue.Body = new DataLayer.ZarinPal.PaymentRequestWithExtraRequestBody(); inValue.Body.MerchantID = MerchantID; inValue.Body.Amount = Amount; inValue.Body.Description = Description; inValue.Body.AdditionalData = AdditionalData; inValue.Body.Email = Email; inValue.Body.Mobile = Mobile; inValue.Body.CallbackURL = CallbackURL; return(((DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtraAsync(inValue)); }
public int PaymentRequestWithExtra(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL, out string Authority) { DataLayer.ZarinPal.PaymentRequestWithExtraRequest inValue = new DataLayer.ZarinPal.PaymentRequestWithExtraRequest(); inValue.Body = new DataLayer.ZarinPal.PaymentRequestWithExtraRequestBody(); inValue.Body.MerchantID = MerchantID; inValue.Body.Amount = Amount; inValue.Body.Description = Description; inValue.Body.AdditionalData = AdditionalData; inValue.Body.Email = Email; inValue.Body.Mobile = Mobile; inValue.Body.CallbackURL = CallbackURL; DataLayer.ZarinPal.PaymentRequestWithExtraResponse retVal = ((DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtra(inValue); Authority = retVal.Body.Authority; return(retVal.Body.Status); }
System.Threading.Tasks.Task <DataLayer.ZarinPal.PaymentRequestWithExtraResponse> DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtraAsync(DataLayer.ZarinPal.PaymentRequestWithExtraRequest request) { return(base.Channel.PaymentRequestWithExtraAsync(request)); }
DataLayer.ZarinPal.PaymentRequestWithExtraResponse DataLayer.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtra(DataLayer.ZarinPal.PaymentRequestWithExtraRequest request) { return(base.Channel.PaymentRequestWithExtra(request)); }