C# Class Nop.Services.Messages.MessageTokenProvider

Inheritance: IMessageTokenProvider
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
AddBackInStockTokens ( IList tokens, Nop.Core.Domain.Catalog.BackInStockSubscription subscription ) : void
AddBlogCommentTokens ( IList tokens, Nop.Core.Domain.Blogs.BlogComment blogComment ) : void
AddCustomerTokens ( IList tokens, Customer customer ) : void
AddForumPostTokens ( IList tokens, Nop.Core.Domain.Forums.ForumPost forumPost ) : void
AddForumTokens ( IList tokens, Nop.Core.Domain.Forums.Forum forum ) : void
AddForumTopicTokens ( IList tokens, Nop.Core.Domain.Forums.ForumTopic forumTopic, int friendlyForumTopicPageIndex = null, int appendedPostIdentifierAnchor = null ) : void
AddGiftCardTokens ( IList tokens, GiftCard giftCard ) : void
AddNewsCommentTokens ( IList tokens, Nop.Core.Domain.News.NewsComment newsComment ) : void
AddNewsLetterSubscriptionTokens ( IList tokens, Nop.Core.Domain.Messages.NewsLetterSubscription subscription ) : void
AddOrderNoteTokens ( IList tokens, Nop.Core.Domain.Orders.OrderNote orderNote ) : void
AddOrderTokens ( IList tokens, Nop.Core.Domain.Orders.Order order, int languageId ) : void
AddPrivateMessageTokens ( IList tokens, Nop.Core.Domain.Forums.PrivateMessage privateMessage ) : void
AddProductReviewTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductReview productReview ) : void
AddProductTokens ( IList tokens, Product product ) : void
AddProductVariantTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductVariant productVariant ) : void
AddRecurringPaymentTokens ( IList tokens, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
AddReturnRequestTokens ( IList tokens, Nop.Core.Domain.Orders.ReturnRequest returnRequest, Nop.Core.Domain.Orders.OrderProductVariant opv ) : void
AddShipmentTokens ( IList tokens, Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : void
AddStoreTokens ( IList tokens ) : void
GetListOfAllowedTokens ( ) : string[]
GetListOfCampaignAllowedTokens ( ) : string[]

Gets list of allowed (supported) message tokens for campaigns

MessageTokenProvider ( ILanguageService languageService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, IPriceFormatter priceFormatter, ICurrencyService currencyService, IWebHelper webHelper, IWorkContext workContext, IDownloadService downloadService, IOrderService orderService, IPaymentService paymentService, Nop.Core.Domain.StoreInformationSettings storeSettings, Nop.Core.Domain.Messages.MessageTemplatesSettings templatesSettings, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, IEventPublisher eventPublisher ) : System

Méthodes protégées

Méthode Description
ProductListToHtmlTable ( Nop.Core.Domain.Orders.Order order, int languageId ) : string

Convert a collection to a HTML table

ProductListToHtmlTable ( Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : string

Convert a collection to a HTML table

Method Details

AddBackInStockTokens() public méthode

public AddBackInStockTokens ( IList tokens, Nop.Core.Domain.Catalog.BackInStockSubscription subscription ) : void
tokens IList
subscription Nop.Core.Domain.Catalog.BackInStockSubscription
Résultat void

AddBlogCommentTokens() public méthode

public AddBlogCommentTokens ( IList tokens, Nop.Core.Domain.Blogs.BlogComment blogComment ) : void
tokens IList
blogComment Nop.Core.Domain.Blogs.BlogComment
Résultat void

AddCustomerTokens() public méthode

public AddCustomerTokens ( IList tokens, Customer customer ) : void
tokens IList
customer Nop.Core.Domain.Customers.Customer
Résultat void

AddForumPostTokens() public méthode

public AddForumPostTokens ( IList tokens, Nop.Core.Domain.Forums.ForumPost forumPost ) : void
tokens IList
forumPost Nop.Core.Domain.Forums.ForumPost
Résultat void

AddForumTokens() public méthode

public AddForumTokens ( IList tokens, Nop.Core.Domain.Forums.Forum forum ) : void
tokens IList
forum Nop.Core.Domain.Forums.Forum
Résultat void

AddForumTopicTokens() public méthode

public AddForumTopicTokens ( IList tokens, Nop.Core.Domain.Forums.ForumTopic forumTopic, int friendlyForumTopicPageIndex = null, int appendedPostIdentifierAnchor = null ) : void
tokens IList
forumTopic Nop.Core.Domain.Forums.ForumTopic
friendlyForumTopicPageIndex int
appendedPostIdentifierAnchor int
Résultat void

AddGiftCardTokens() public méthode

public AddGiftCardTokens ( IList tokens, GiftCard giftCard ) : void
tokens IList
giftCard Nop.Core.Domain.Orders.GiftCard
Résultat void

AddNewsCommentTokens() public méthode

public AddNewsCommentTokens ( IList tokens, Nop.Core.Domain.News.NewsComment newsComment ) : void
tokens IList
newsComment Nop.Core.Domain.News.NewsComment
Résultat void

AddNewsLetterSubscriptionTokens() public méthode

public AddNewsLetterSubscriptionTokens ( IList tokens, Nop.Core.Domain.Messages.NewsLetterSubscription subscription ) : void
tokens IList
subscription Nop.Core.Domain.Messages.NewsLetterSubscription
Résultat void

AddOrderNoteTokens() public méthode

public AddOrderNoteTokens ( IList tokens, Nop.Core.Domain.Orders.OrderNote orderNote ) : void
tokens IList
orderNote Nop.Core.Domain.Orders.OrderNote
Résultat void

AddOrderTokens() public méthode

public AddOrderTokens ( IList tokens, Nop.Core.Domain.Orders.Order order, int languageId ) : void
tokens IList
order Nop.Core.Domain.Orders.Order
languageId int
Résultat void

AddPrivateMessageTokens() public méthode

public AddPrivateMessageTokens ( IList tokens, Nop.Core.Domain.Forums.PrivateMessage privateMessage ) : void
tokens IList
privateMessage Nop.Core.Domain.Forums.PrivateMessage
Résultat void

AddProductReviewTokens() public méthode

public AddProductReviewTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductReview productReview ) : void
tokens IList
productReview Nop.Core.Domain.Catalog.ProductReview
Résultat void

AddProductTokens() public méthode

public AddProductTokens ( IList tokens, Product product ) : void
tokens IList
product Nop.Core.Domain.Catalog.Product
Résultat void

AddProductVariantTokens() public méthode

public AddProductVariantTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductVariant productVariant ) : void
tokens IList
productVariant Nop.Core.Domain.Catalog.ProductVariant
Résultat void

AddRecurringPaymentTokens() public méthode

public AddRecurringPaymentTokens ( IList tokens, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
tokens IList
recurringPayment Nop.Core.Domain.Orders.RecurringPayment
Résultat void

AddReturnRequestTokens() public méthode

public AddReturnRequestTokens ( IList tokens, Nop.Core.Domain.Orders.ReturnRequest returnRequest, Nop.Core.Domain.Orders.OrderProductVariant opv ) : void
tokens IList
returnRequest Nop.Core.Domain.Orders.ReturnRequest
opv Nop.Core.Domain.Orders.OrderProductVariant
Résultat void

AddShipmentTokens() public méthode

public AddShipmentTokens ( IList tokens, Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : void
tokens IList
shipment Nop.Core.Domain.Shipping.Shipment
languageId int
Résultat void

AddStoreTokens() public méthode

public AddStoreTokens ( IList tokens ) : void
tokens IList
Résultat void

GetListOfAllowedTokens() public méthode

public GetListOfAllowedTokens ( ) : string[]
Résultat string[]

GetListOfCampaignAllowedTokens() public méthode

Gets list of allowed (supported) message tokens for campaigns
public GetListOfCampaignAllowedTokens ( ) : string[]
Résultat string[]

MessageTokenProvider() public méthode

public MessageTokenProvider ( ILanguageService languageService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, IPriceFormatter priceFormatter, ICurrencyService currencyService, IWebHelper webHelper, IWorkContext workContext, IDownloadService downloadService, IOrderService orderService, IPaymentService paymentService, Nop.Core.Domain.StoreInformationSettings storeSettings, Nop.Core.Domain.Messages.MessageTemplatesSettings templatesSettings, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, IEventPublisher eventPublisher ) : System
languageService ILanguageService
localizationService ILocalizationService
dateTimeHelper IDateTimeHelper
emailAccountService IEmailAccountService
priceFormatter IPriceFormatter
currencyService ICurrencyService
webHelper IWebHelper
workContext IWorkContext
downloadService IDownloadService
orderService IOrderService
paymentService IPaymentService
storeSettings Nop.Core.Domain.StoreInformationSettings
templatesSettings Nop.Core.Domain.Messages.MessageTemplatesSettings
emailAccountSettings Nop.Core.Domain.Messages.EmailAccountSettings
catalogSettings Nop.Core.Domain.Catalog.CatalogSettings
taxSettings Nop.Core.Domain.Tax.TaxSettings
eventPublisher IEventPublisher
Résultat System

ProductListToHtmlTable() protected méthode

Convert a collection to a HTML table
protected ProductListToHtmlTable ( Nop.Core.Domain.Orders.Order order, int languageId ) : string
order Nop.Core.Domain.Orders.Order Order
languageId int Language identifier
Résultat string

ProductListToHtmlTable() protected méthode

Convert a collection to a HTML table
protected ProductListToHtmlTable ( Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : string
shipment Nop.Core.Domain.Shipping.Shipment Shipment
languageId int Language identifier
Résultat string