C# Class RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Services.ExtendedVendorService

Inheritance: IExtendedVendorService
Datei anzeigen Open project: RoastedBytes/NopCommerceExtendedVendor

Public Methods

Method Description
CanCustomerReviewVendor ( int VendorId, int CustomerId, int OrderId ) : bool
CheckVendorReviewAndHelpfulnessEnabled ( int VendorId, bool &ReviewEnabled, bool &HelpfulnessEnabled ) : void
DeleteVendorPayout ( VendorPayout VendorPayout ) : void
DeleteVendorReview ( VendorReview VendorReview ) : void
ExtendedVendorService ( IRepository extendedVendorRepository, IRepository vendorPayoutRepository, IRepository vendorReviewRepository, ICacheManager cacheManager, IOrderService orderService ) : RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain
GetExtendedVendor ( int VendorId ) : Domain.ExtendedVendor
GetProductsWithPendingReviews ( IList Orders, int CustomerId ) : List>.Dictionary
GetVendorPayout ( int VendorPayoutId ) : VendorPayout
GetVendorPayouts ( int VendorId, PayoutStatus PayoutStatus, int PageNumber = 1, int PageSize = int.MaxValue ) : IPagedList
GetVendorPayoutsByOrder ( int OrderId ) : IList
GetVendorReview ( int VendorReviewId ) : VendorReview
GetVendorReview ( int VendorId, int CustomerId, int OrderId, int ProductId ) : VendorReview
GetVendorReviews ( int VendorId, int CustomerId, bool IsApproved, int PageNumber = 1, int PageSize = int.MaxValue ) : IPagedList
IsVendorReviewDone ( int VendorId, int CustomerId, int OrderId, int ProductId ) : bool
SaveExtendedVendor ( Domain ExtendedVendor ) : void
SaveVendorPayout ( VendorPayout VendorPayout ) : void
SaveVendorReview ( VendorReview VendorReview ) : void

Method Details

CanCustomerReviewVendor() public method

public CanCustomerReviewVendor ( int VendorId, int CustomerId, int OrderId ) : bool
VendorId int
CustomerId int
OrderId int
return bool

CheckVendorReviewAndHelpfulnessEnabled() public method

public CheckVendorReviewAndHelpfulnessEnabled ( int VendorId, bool &ReviewEnabled, bool &HelpfulnessEnabled ) : void
VendorId int
ReviewEnabled bool
HelpfulnessEnabled bool
return void

DeleteVendorPayout() public method

public DeleteVendorPayout ( VendorPayout VendorPayout ) : void
VendorPayout RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorPayout
return void

DeleteVendorReview() public method

public DeleteVendorReview ( VendorReview VendorReview ) : void
VendorReview RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorReview
return void

ExtendedVendorService() public method

public ExtendedVendorService ( IRepository extendedVendorRepository, IRepository vendorPayoutRepository, IRepository vendorReviewRepository, ICacheManager cacheManager, IOrderService orderService ) : RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain
extendedVendorRepository IRepository
vendorPayoutRepository IRepository
vendorReviewRepository IRepository
cacheManager ICacheManager
orderService IOrderService
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain

GetExtendedVendor() public method

public GetExtendedVendor ( int VendorId ) : Domain.ExtendedVendor
VendorId int
return Domain.ExtendedVendor

GetProductsWithPendingReviews() public method

public GetProductsWithPendingReviews ( IList Orders, int CustomerId ) : List>.Dictionary
Orders IList
CustomerId int
return List>.Dictionary

GetVendorPayout() public method

public GetVendorPayout ( int VendorPayoutId ) : VendorPayout
VendorPayoutId int
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorPayout

GetVendorPayouts() public method

public GetVendorPayouts ( int VendorId, PayoutStatus PayoutStatus, int PageNumber = 1, int PageSize = int.MaxValue ) : IPagedList
VendorId int
PayoutStatus PayoutStatus
PageNumber int
PageSize int
return IPagedList

GetVendorPayoutsByOrder() public method

public GetVendorPayoutsByOrder ( int OrderId ) : IList
OrderId int
return IList

GetVendorReview() public method

public GetVendorReview ( int VendorReviewId ) : VendorReview
VendorReviewId int
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorReview

GetVendorReview() public method

public GetVendorReview ( int VendorId, int CustomerId, int OrderId, int ProductId ) : VendorReview
VendorId int
CustomerId int
OrderId int
ProductId int
return RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorReview

GetVendorReviews() public method

public GetVendorReviews ( int VendorId, int CustomerId, bool IsApproved, int PageNumber = 1, int PageSize = int.MaxValue ) : IPagedList
VendorId int
CustomerId int
IsApproved bool
PageNumber int
PageSize int
return IPagedList

IsVendorReviewDone() public method

public IsVendorReviewDone ( int VendorId, int CustomerId, int OrderId, int ProductId ) : bool
VendorId int
CustomerId int
OrderId int
ProductId int
return bool

SaveExtendedVendor() public method

public SaveExtendedVendor ( Domain ExtendedVendor ) : void
ExtendedVendor Domain
return void

SaveVendorPayout() public method

public SaveVendorPayout ( VendorPayout VendorPayout ) : void
VendorPayout RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorPayout
return void

SaveVendorReview() public method

public SaveVendorReview ( VendorReview VendorReview ) : void
VendorReview RoastedBytes.Nop.Plugin.Misc.ExtendedVendor.Domain.VendorReview
return void