Interface IProductOrVariant
- Namespace
- Rescope.Commerce.Core.Models
- Assembly
- Rescope.Commerce.Core.dll
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public interface IProductOrVariant
Properties
CustomisationFields
CustomisationFields? CustomisationFields { get; }
Property Value
- CustomisationFields
ForceShippingMethod
ShippingMethod? ForceShippingMethod { get; }
Property Value
- ShippingMethod
Name
Property Value
- string
Prices
PriceData Prices { get; }
Property Value
- PriceData
PrimaryImageUrl
string? PrimaryImageUrl { get; }
Property Value
- string
Sku
Property Value
- string
TaxRate
ITaxRate? TaxRate { get; }
Property Value
- ITaxRate
WeightInGrams
int WeightInGrams { get; }
Property Value
- int
Methods
Content()
IPublishedContent? Content()
Returns
- IPublishedContent
Content<T>()
T? Content<T>() where T : IPublishedContent
Returns
- T
Type Parameters
T