Search Results for

    Show / Hide Table of Contents

    Class Product

    A product as published to PAPI in one context.

    Inheritance
    object
    Product
    Implements
    IEquatable<Product>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Activout.Blue5
    Assembly: Activout.Blue5.dll
    Syntax
    public sealed record Product : IEquatable<Product>
    Remarks

    Properties are init so you can build products yourself in tests.

    Properties

    | Edit this page View Source

    Attributes

    The product's attribute values, indexed by attribute number.

    Declaration
    public ProductAttributes Attributes { get; init; }
    Property Value
    Type Description
    ProductAttributes
    | Edit this page View Source

    Bundles

    The products a Bundle consists of.

    Declaration
    public IReadOnlyList<ProductBundleItem> Bundles { get; init; }
    Property Value
    Type Description
    IReadOnlyList<ProductBundleItem>
    | Edit this page View Source

    Categories

    Ids of the categories the product is assigned to.

    Declaration
    public IReadOnlyList<string> Categories { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | Edit this page View Source

    CreateDate

    When the product was created.

    Declaration
    public DateTimeOffset? CreateDate { get; init; }
    Property Value
    Type Description
    DateTimeOffset?
    | Edit this page View Source

    Description

    Product description, if any.

    Declaration
    public string? Description { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    GroupParentId

    Id of the parent product when this belongs to a group.

    Declaration
    public string? GroupParentId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Groups

    Ids of the group members of this product.

    Declaration
    public IReadOnlyList<string> Groups { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | Edit this page View Source

    Id

    PIM-generated identifier.

    Declaration
    public required string Id { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Labels

    Label names.

    Declaration
    public IReadOnlyList<string> Labels { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | Edit this page View Source

    LastUpdate

    When the product was last updated.

    Declaration
    public DateTimeOffset? LastUpdate { get; init; }
    Property Value
    Type Description
    DateTimeOffset?
    | Edit this page View Source

    Media

    Media assets (images, documents, ...) attached to the product, in PAPI order.

    Declaration
    public IReadOnlyList<MediaAsset> Media { get; init; }
    Property Value
    Type Description
    IReadOnlyList<MediaAsset>
    | Edit this page View Source

    Metadata

    Product metadata entries.

    Declaration
    public IReadOnlyList<ProductMetadata> Metadata { get; init; }
    Property Value
    Type Description
    IReadOnlyList<ProductMetadata>
    | Edit this page View Source

    Name

    Product name in the current context.

    Declaration
    public string Name { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Number

    Unique business key. Always a string; never treat it as numeric.

    Declaration
    public required string Number { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RelationSortingOrderSource

    Where the order of the related products comes from.

    Declaration
    public RelationSortingOrderSource RelationSortingOrderSource { get; init; }
    Property Value
    Type Description
    RelationSortingOrderSource
    | Edit this page View Source

    Relations

    Relations to other products.

    Declaration
    public IReadOnlyList<ProductRelation> Relations { get; init; }
    Property Value
    Type Description
    IReadOnlyList<ProductRelation>
    | Edit this page View Source

    Type

    Product type.

    Declaration
    public ProductType Type { get; init; }
    Property Value
    Type Description
    ProductType
    | Edit this page View Source

    VariantParentId

    Id of the parent product when this is a variant.

    Declaration
    public string? VariantParentId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Variants

    Ids of the variants of this product.

    Declaration
    public IReadOnlyList<string> Variants { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX