C# Class RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Helpers

Mostra file Open project: RoastedBytes/NopCommerceExtendedVendor

Public Methods

Method Description
GetPictureUrl ( int pictureId, ICacheManager _cacheManager, IPictureService _pictureService ) : string
ToListModel ( this ExtendedVendor, IPictureService _pictureService, ICacheManager _cacheManager, ICountryService _countryService, IStateProvinceService _stateProvinceService ) : ExtendedVendorListModel
ToListModel ( this VendorReviews, IPictureService _pictureService, IProductService _productService, IVendorService _vendorService, ICustomerService _customerService ) : IList
ToListModel ( this Payout, IOrderService _orderService ) : VendorPayoutListModel
ToListModel ( this Review, IPictureService _pictureService, IProductService _productService, IVendorService _vendorService, ICustomerService _customerService ) : VendorReviewListModel
ToListModel ( this Review, IPictureService _pictureService, Product Product, Vendor Vendor, Nop.Core.Domain.Orders.Order Order ) : VendorReviewListModel
ToModel ( this ExtendedVendor ) : ExtendedVendorModel
ToModel ( this ProductReviews, IPictureService _pictureService ) : IList
ToModel ( this ProductReview, IPictureService _pictureService ) : ProductReviewListModel
ToModel ( this Payout, IOrderService _orderService ) : VendorPayoutModel
ToModel ( this Review, Nop.Core.Domain.Orders.Order Order, Product Product ) : VendorReviewModel

Private Methods

Method Description
GetPayoutAmount ( decimal SellingPrice, decimal CommissionPercentage ) : decimal

Method Details

GetPictureUrl() public static method

public static GetPictureUrl ( int pictureId, ICacheManager _cacheManager, IPictureService _pictureService ) : string
pictureId int
_cacheManager ICacheManager
_pictureService IPictureService
return string

ToListModel() public static method

public static ToListModel ( this ExtendedVendor, IPictureService _pictureService, ICacheManager _cacheManager, ICountryService _countryService, IStateProvinceService _stateProvinceService ) : ExtendedVendorListModel
ExtendedVendor this
_pictureService IPictureService
_cacheManager ICacheManager
_countryService ICountryService
_stateProvinceService IStateProvinceService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.ExtendedVendorListModel

ToListModel() public static method

public static ToListModel ( this VendorReviews, IPictureService _pictureService, IProductService _productService, IVendorService _vendorService, ICustomerService _customerService ) : IList
VendorReviews this
_pictureService IPictureService
_productService IProductService
_vendorService IVendorService
_customerService ICustomerService
return IList

ToListModel() public static method

public static ToListModel ( this Payout, IOrderService _orderService ) : VendorPayoutListModel
Payout this
_orderService IOrderService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.VendorPayoutListModel

ToListModel() public static method

public static ToListModel ( this Review, IPictureService _pictureService, IProductService _productService, IVendorService _vendorService, ICustomerService _customerService ) : VendorReviewListModel
Review this
_pictureService IPictureService
_productService IProductService
_vendorService IVendorService
_customerService ICustomerService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.VendorReviewListModel

ToListModel() public static method

public static ToListModel ( this Review, IPictureService _pictureService, Product Product, Vendor Vendor, Nop.Core.Domain.Orders.Order Order ) : VendorReviewListModel
Review this
_pictureService IPictureService
Product Nop.Core.Domain.Catalog.Product
Vendor Vendor
Order Nop.Core.Domain.Orders.Order
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.VendorReviewListModel

ToModel() public static method

public static ToModel ( this ExtendedVendor ) : ExtendedVendorModel
ExtendedVendor this
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.ExtendedVendorModel

ToModel() public static method

public static ToModel ( this ProductReviews, IPictureService _pictureService ) : IList
ProductReviews this
_pictureService IPictureService
return IList

ToModel() public static method

public static ToModel ( this ProductReview, IPictureService _pictureService ) : ProductReviewListModel
ProductReview this
_pictureService IPictureService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.ProductReviewListModel

ToModel() public static method

public static ToModel ( this Payout, IOrderService _orderService ) : VendorPayoutModel
Payout this
_orderService IOrderService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.VendorPayoutModel

ToModel() public static method

public static ToModel ( this Review, Nop.Core.Domain.Orders.Order Order, Product Product ) : VendorReviewModel
Review this
Order Nop.Core.Domain.Orders.Order
Product Nop.Core.Domain.Catalog.Product
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Models.VendorReviewModel