Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

PaymentMethodService

API reference for PaymentMethodService in Vendr, the eCommerce solution for Umbraco v8+

PaymentMethodService

public class PaymentMethodService : EntityServiceBase, IPaymentMethodService

Inheritance

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)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.