ProductVariantPrice
ProductVariantPrice
A ProductVariantPrice is a Channel-specific price for a ProductVariant. For every Channel to which a ProductVariant is assigned, there will be a corresponding ProductVariantPrice entity.
Signature
class ProductVariantPrice extends VendureEntity {
constructor(input?: DeepPartial<ProductVariantPrice>)
@Column() price: number;
@EntityId() channelId: ID;
@ManyToOne(type => ProductVariant, variant => variant.productVariantPrices)
variant: ProductVariant;
}
Extends
Members
constructor
(input?: DeepPartial<ProductVariantPrice>) => ProductVariantPrice
price
number
channelId
ID
variant
ProductVariant