PaymentMethodReadOnly
public class PaymentMethodReadOnly :
StoreAggregateBase<PaymentMethodReadOnly, PaymentMethod, PaymentMethodState>, IHasName,
IHasReadableAllowedCountryRegions, IHasReadableServicePrices
Inheritance
- class StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>
- interface IHasName
- interface IHasReadableAllowedCountryRegions
- interface IHasReadableServicePrices
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)