메소드 | 설명 | |
---|---|---|
CustomerService ( ICacheManager cacheManager, IRepository |
||
DeleteAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
DeleteCustomer ( |
Delete a customer
|
|
DeleteCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void |
Delete a customer role
|
|
DeleteCustomerRoleInCustomer ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
DeleteCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void |
Delete a customer role product
|
|
DeleteGuestCustomers ( System.DateTime createdFromUtc, System.DateTime createdToUtc, bool onlyWithoutShoppingCart ) : int |
Delete guest customer records
|
|
DeleteShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void | ||
GetAllCustomerRoles ( bool showHidden = false ) : IList |
Gets all customer roles
|
|
GetAllCustomers ( System.DateTime createdFromUtc = null, System.DateTime createdToUtc = null, int affiliateId, int vendorId, int customerRoleIds = null, string email = null, string username = null, string firstName = null, string lastName = null, int dayOfBirth, int monthOfBirth, string company = null, string phone = null, string zipPostalCode = null, bool loadOnlyWithShoppingCart = false, ShoppingCartType sct = null, int pageIndex, int pageSize = 2147483647 ) : IPagedList |
Gets all customers
|
|
GetAllCustomersByPasswordFormat ( PasswordFormat passwordFormat ) : IList |
Gets all customers by customer format (including deleted ones)
|
|
GetCustomerByEmail ( string email ) : |
Get customer by email
|
|
GetCustomerByGuid ( System.Guid customerGuid ) : |
Gets a customer by GUID
|
|
GetCustomerById ( int customerId ) : |
Gets a customer
|
|
GetCustomerBySystemName ( string systemName ) : |
Get customer by system name
|
|
GetCustomerByUsername ( string username ) : |
Get customer by username
|
|
GetCustomerRoleById ( int customerRoleId ) : Nop.Core.Domain.Customers.CustomerRole |
Gets a customer role
|
|
GetCustomerRoleBySystemName ( string systemName ) : Nop.Core.Domain.Customers.CustomerRole |
Gets a customer role
|
|
GetCustomerRoleProduct ( int customerRoleId, int productId ) : Nop.Core.Domain.Customers.CustomerRoleProduct |
Gets customer roles products for customer role
|
|
GetCustomerRoleProductById ( int id ) : Nop.Core.Domain.Customers.CustomerRoleProduct |
Gets customer roles product
|
|
GetCustomerRoleProducts ( int customerRoleId ) : IList |
Gets customer roles products for customer role
|
|
GetCustomersByIds ( int customerIds ) : IList |
Get customers by identifiers
|
|
GetOnlineCustomers ( System.DateTime lastActivityFromUtc, int customerRoleIds, int pageIndex, int pageSize = int.MaxValue ) : IPagedList |
Gets online customers
|
|
InsertAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
InsertCustomer ( |
Insert a customer
|
|
InsertCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void |
Inserts a customer role
|
|
InsertCustomerRoleInCustomer ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
InsertCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void |
Inserts a customer role product
|
|
InsertGuestCustomer ( ) : |
Insert a guest customer
|
|
InsertShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void | ||
RemoveShippingAddress ( int customerId ) : void | ||
ResetCheckoutData ( |
Reset data required for checkout
|
|
UpdateActive ( |
||
UpdateAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
UpdateAffiliate ( |
Updates the customer - last activity date
|
|
UpdateBillingAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
UpdateCustomer ( |
Updates the customer
|
|
UpdateCustomerLastActivityDate ( |
Updates the customer - last activity date
|
|
UpdateCustomerLastIpAddress ( |
Updates the customer - last activity date
|
|
UpdateCustomerLastLoginDate ( |
Updates the customer - last activity date
|
|
UpdateCustomerPassword ( |
Updates the customer - password
|
|
UpdateCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void |
Updates the customer role
|
|
UpdateCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void |
Updates the customer role product
|
|
UpdateCustomerVendor ( |
||
UpdateCustomerinAdminPanel ( |
||
UpdateHasBlogComments ( int customerId ) : void | ||
UpdateHasForumPost ( int customerId ) : void | ||
UpdateHasForumTopic ( int customerId ) : void | ||
UpdateHasOrders ( int customerId ) : void | ||
UpdateHasPoolVoting ( int customerId ) : void | ||
UpdateHasProductReview ( int customerId ) : void | ||
UpdateHasProductReviewH ( int customerId ) : void | ||
UpdateHasShoppingCartItems ( |
||
UpdateNewsItem ( |
||
UpdateShippingAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
UpdateShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void |
public CustomerService ( ICacheManager cacheManager, IRepository |
||
cacheManager | ICacheManager | |
customerRepository | IRepository |
|
customerRoleRepository | IRepository |
|
customerRoleProductRepository | IRepository |
|
orderRepository | IRepository |
|
forumPostRepository | IRepository |
|
forumTopicRepository | IRepository |
|
blogCommentRepository | IRepository |
|
newsCommentRepository | IRepository |
|
pollVotingRecordRepository | IRepository |
|
productReviewRepository | IRepository |
|
productReviewHelpfulnessRepository | IRepository |
|
genericAttributeService | IGenericAttributeService | |
dataProvider | IDataProvider | |
eventPublisher | IEventPublisher | |
customerSettings | ||
commonSettings | ||
리턴 | System |
public DeleteAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
address | Nop.Core.Domain.Common.Address | |
리턴 | void |
public DeleteCustomer ( |
||
customer | Customer | |
리턴 | void |
public DeleteCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
customerRole | Nop.Core.Domain.Customers.CustomerRole | Customer role |
리턴 | void |
public DeleteCustomerRoleInCustomer ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
customerRole | Nop.Core.Domain.Customers.CustomerRole | |
리턴 | void |
public DeleteCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void | ||
customerRoleProduct | Nop.Core.Domain.Customers.CustomerRoleProduct | Customer role product |
리턴 | void |
public DeleteGuestCustomers ( System.DateTime createdFromUtc, System.DateTime createdToUtc, bool onlyWithoutShoppingCart ) : int | ||
createdFromUtc | System.DateTime | Created date from (UTC); null to load all records |
createdToUtc | System.DateTime | Created date to (UTC); null to load all records |
onlyWithoutShoppingCart | bool | A value indicating whether to delete customers only without shopping cart |
리턴 | int |
public DeleteShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void | ||
shoppingCartItem | Nop.Core.Domain.Orders.ShoppingCartItem | |
리턴 | void |
public GetAllCustomerRoles ( bool showHidden = false ) : IList |
||
showHidden | bool | A value indicating whether to show hidden records |
리턴 | IList |
public GetAllCustomers ( System.DateTime createdFromUtc = null, System.DateTime createdToUtc = null, int affiliateId, int vendorId, int customerRoleIds = null, string email = null, string username = null, string firstName = null, string lastName = null, int dayOfBirth, int monthOfBirth, string company = null, string phone = null, string zipPostalCode = null, bool loadOnlyWithShoppingCart = false, ShoppingCartType sct = null, int pageIndex, int pageSize = 2147483647 ) : IPagedList |
||
createdFromUtc | System.DateTime | Created date from (UTC); null to load all records |
createdToUtc | System.DateTime | Created date to (UTC); null to load all records |
affiliateId | int | Affiliate identifier |
vendorId | int | Vendor identifier |
customerRoleIds | int | A list of customer role identifiers to filter by (at least one match); pass null or empty list in order to load all customers; |
string | Email; null to load all customers | |
username | string | Username; null to load all customers |
firstName | string | First name; null to load all customers |
lastName | string | Last name; null to load all customers |
dayOfBirth | int | Day of birth; 0 to load all customers |
monthOfBirth | int | Month of birth; 0 to load all customers |
company | string | Company; null to load all customers |
phone | string | Phone; null to load all customers |
zipPostalCode | string | Phone; null to load all customers |
loadOnlyWithShoppingCart | bool | Value indicating whether to load customers only with shopping cart |
sct | ShoppingCartType | Value indicating what shopping cart type to filter; userd when 'loadOnlyWithShoppingCart' param is 'true' |
pageIndex | int | Page index |
pageSize | int | Page size |
리턴 | IPagedList |
public GetAllCustomersByPasswordFormat ( PasswordFormat passwordFormat ) : IList |
||
passwordFormat | PasswordFormat | Password format |
리턴 | IList |
public GetCustomerByEmail ( string email ) : |
||
string | ||
리턴 |
public GetCustomerByGuid ( System.Guid customerGuid ) : |
||
customerGuid | System.Guid | Customer GUID |
리턴 |
public GetCustomerById ( int customerId ) : |
||
customerId | int | Customer identifier |
리턴 |
public GetCustomerBySystemName ( string systemName ) : |
||
systemName | string | System name |
리턴 |
public GetCustomerByUsername ( string username ) : |
||
username | string | Username |
리턴 |
public GetCustomerRoleById ( int customerRoleId ) : Nop.Core.Domain.Customers.CustomerRole | ||
customerRoleId | int | Customer role identifier |
리턴 | Nop.Core.Domain.Customers.CustomerRole |
public GetCustomerRoleBySystemName ( string systemName ) : Nop.Core.Domain.Customers.CustomerRole | ||
systemName | string | Customer role system name |
리턴 | Nop.Core.Domain.Customers.CustomerRole |
public GetCustomerRoleProduct ( int customerRoleId, int productId ) : Nop.Core.Domain.Customers.CustomerRoleProduct | ||
customerRoleId | int | Customer role id |
productId | int | Product id |
리턴 | Nop.Core.Domain.Customers.CustomerRoleProduct |
public GetCustomerRoleProductById ( int id ) : Nop.Core.Domain.Customers.CustomerRoleProduct | ||
id | int | |
리턴 | Nop.Core.Domain.Customers.CustomerRoleProduct |
public GetCustomerRoleProducts ( int customerRoleId ) : IList |
||
customerRoleId | int | Customer role id |
리턴 | IList |
public GetCustomersByIds ( int customerIds ) : IList |
||
customerIds | int | Customer identifiers |
리턴 | IList |
public GetOnlineCustomers ( System.DateTime lastActivityFromUtc, int customerRoleIds, int pageIndex, int pageSize = int.MaxValue ) : IPagedList |
||
lastActivityFromUtc | System.DateTime | Customer last activity date (from) |
customerRoleIds | int | A list of customer role identifiers to filter by (at least one match); pass null or empty list in order to load all customers; |
pageIndex | int | Page index |
pageSize | int | Page size |
리턴 | IPagedList |
public InsertAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
address | Nop.Core.Domain.Common.Address | |
리턴 | void |
public InsertCustomer ( |
||
customer | Customer | |
리턴 | void |
public InsertCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
customerRole | Nop.Core.Domain.Customers.CustomerRole | Customer role |
리턴 | void |
public InsertCustomerRoleInCustomer ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
customerRole | Nop.Core.Domain.Customers.CustomerRole | |
리턴 | void |
public InsertCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void | ||
customerRoleProduct | Nop.Core.Domain.Customers.CustomerRoleProduct | Customer role product |
리턴 | void |
public InsertGuestCustomer ( ) : |
||
리턴 |
public InsertShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void | ||
shoppingCartItem | Nop.Core.Domain.Orders.ShoppingCartItem | |
리턴 | void |
public RemoveShippingAddress ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public ResetCheckoutData ( |
||
customer | Customer | |
storeId | int | Store identifier |
clearCouponCodes | bool | A value indicating whether to clear coupon code |
clearCheckoutAttributes | bool | A value indicating whether to clear selected checkout attributes |
clearRewardPoints | bool | A value indicating whether to clear "Use reward points" flag |
clearShippingMethod | bool | A value indicating whether to clear selected shipping method |
clearPaymentMethod | bool | A value indicating whether to clear selected payment method |
리턴 | void |
public UpdateActive ( |
||
customer | ||
리턴 | void |
public UpdateAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
address | Nop.Core.Domain.Common.Address | |
리턴 | void |
public UpdateAffiliate ( |
||
customer | Customer | |
리턴 | void |
public UpdateBillingAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
address | Nop.Core.Domain.Common.Address | |
리턴 | void |
public UpdateCustomer ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerLastActivityDate ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerLastIpAddress ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerLastLoginDate ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerPassword ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerRole ( Nop.Core.Domain.Customers.CustomerRole customerRole ) : void | ||
customerRole | Nop.Core.Domain.Customers.CustomerRole | Customer role |
리턴 | void |
public UpdateCustomerRoleProduct ( Nop.Core.Domain.Customers.CustomerRoleProduct customerRoleProduct ) : void | ||
customerRoleProduct | Nop.Core.Domain.Customers.CustomerRoleProduct | Customer role product |
리턴 | void |
public UpdateCustomerVendor ( |
||
customer | Customer | |
리턴 | void |
public UpdateCustomerinAdminPanel ( |
||
customer | ||
리턴 | void |
public UpdateHasBlogComments ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasForumPost ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasForumTopic ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasPoolVoting ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasProductReview ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasProductReviewH ( int customerId ) : void | ||
customerId | int | |
리턴 | void |
public UpdateHasShoppingCartItems ( |
||
customer | ||
리턴 | void |
public UpdateNewsItem ( |
||
customer | ||
리턴 | void |
public UpdateShippingAddress ( Nop.Core.Domain.Common.Address address ) : void | ||
address | Nop.Core.Domain.Common.Address | |
리턴 | void |
public UpdateShoppingCartItem ( Nop.Core.Domain.Orders.ShoppingCartItem shoppingCartItem ) : void | ||
shoppingCartItem | Nop.Core.Domain.Orders.ShoppingCartItem | |
리턴 | void |