PaymentMethodService
public class PaymentMethodService : EntityServiceBase, IPaymentMethodService
Inheritance
- class EntityServiceBase
- interface IPaymentMethodService
Namespace
Constructors
PaymentMethodService
public PaymentMethodService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider,
ILogger logger, ICache cache, IEntityStateCacheAccessor entityStateCacheAccessor)
Methods
DeletePaymentMethod (1 of 2)
public void DeletePaymentMethod(Guid id)
DeletePaymentMethod (2 of 2)
public void DeletePaymentMethod(PaymentMethod entity)
GetPaymentMethod (1 of 2)
public PaymentMethodReadOnly GetPaymentMethod(Guid id)
GetPaymentMethod (2 of 2)
public PaymentMethodReadOnly GetPaymentMethod(Guid storeId, string alias)
GetPaymentMethods
public IEnumerable<PaymentMethodReadOnly> GetPaymentMethods(Guid storeId)
GetPaymentMethodsAllowedIn
public IEnumerable<PaymentMethodReadOnly> GetPaymentMethodsAllowedIn(Guid countryId, Guid? regionId)
PaymentMethodExists
public bool PaymentMethodExists(Guid storeId, string alias)
SavePaymentMethod
public void SavePaymentMethod(PaymentMethod entity)
SortPaymentMethods
public void SortPaymentMethods(Guid[] sortedIds)