Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Mvc;
using Nop.Web.Framework.Components;
namespace Nop.Plugin.Payments.PayPalCommerce.Components.Public;
/// <summary>
/// Represents the view component to display payment info in the public store
/// </summary>
public class PaymentInfoViewComponent : NopViewComponent
{
#region Methods
/// <summary>
/// Invoke view component
/// </summary>
/// <param name="widgetZone">Widget zone name</param>
/// <param name="additionalData">Additional data</param>
/// <returns>
/// A task that represents the asynchronous operation
/// The task result contains the view component result
/// </returns>
public IViewComponentResult Invoke(string widgetZone, object additionalData)
{
return View("~/Plugins/Payments.PayPalCommerce/Views/Public/PaymentInfo.cshtml");
}
#endregion
}