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.

PaymentMethodReadOnly

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

PaymentMethodReadOnly

public class PaymentMethodReadOnly : 
    StoreAggregateBase<PaymentMethodReadOnly, PaymentMethod, PaymentMethodState>, IHasName, 
    IHasReadableAllowedCountryRegions, IHasReadableServicePrices

Inheritance

Namespace

Properties

Alias

public string Alias { get; }

AllowedCountryRegions

public IReadOnlyList<AllowedCountryRegion> AllowedCountryRegions { get; }

CanCancelPayments

public bool CanCancelPayments { get; }

CanCapturePayments

public bool CanCapturePayments { get; }

CanFetchPaymentStatuses

public bool CanFetchPaymentStatuses { get; }

CanRefundPayments

public bool CanRefundPayments { get; }

ImageId

public string ImageId { get; }

IsDeleted

public bool IsDeleted { get; }

Name

public string Name { get; }

PaymentProviderAlias

public string PaymentProviderAlias { get; }

PaymentProviderSettings

public IReadOnlyDictionary<string, string> PaymentProviderSettings { get; }

Prices

public IReadOnlyList<ServicePrice> Prices { get; }

Sku

public string Sku { get; }

SortOrder

public int SortOrder { get; }

TaxClassId

public Guid? TaxClassId { get; }

Methods

GetCountryPriceForCurrency (1 of 2)

public decimal GetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency)

GetCountryPriceForCurrency (2 of 2)

public decimal GetCountryPriceForCurrency(Guid countryId, Guid currencyId)

GetDefaultPriceForCurrency (1 of 2)

public decimal GetDefaultPriceForCurrency(CurrencyReadOnly currency)

GetDefaultPriceForCurrency (2 of 2)

public decimal GetDefaultPriceForCurrency(Guid currencyId)

GetPrice

public decimal GetPrice(Guid currencyId, Guid? countryId = default(Guid?), 
    Guid? regionId = default(Guid?))

GetRegionPriceForCurrency (1 of 2)

public decimal GetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency)

GetRegionPriceForCurrency (2 of 2)

public decimal GetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId)

IsAllowedInCountry (1 of 2)

public bool IsAllowedInCountry(CountryReadOnly country)

IsAllowedInCountry (2 of 2)

public bool IsAllowedInCountry(Guid countryId)

IsAllowedInRegion (1 of 2)

public bool IsAllowedInRegion(RegionReadOnly region)

IsAllowedInRegion (2 of 2)

public bool IsAllowedInRegion(Guid countryId, Guid regionId)

Edit this page on GitHub

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