Helpful
    Preparing search index...

    Represents a builder that outputs a brand object.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Initializes a new instance of this object.

      The default brand will have the empty string as the id, the empty string as the name, and founded with be NaN.

      Returns ZBrandBuilder

    Properties

    active: (...args: []) => ZBrandBuilder = ...

    Sets the brand as active.

    Type Declaration

    inactive: (...args: []) => ZBrandBuilder = ...

    Sets the brand as inactive.

    Type Declaration

    Methods

    • Returns the brand that is built by this builder.

      Returns IZBrand

      A deep copy of the built brand object.

    • Sets the calendar date the brand was founded (aka created).

      Parameters

      • val: string

        The value to set.

      Returns this

      A reference to this object.

    • Sets the id of the brand.

      Parameters

      • val: string

        The value to set.

      Returns this

      A reference to this object.

    • Sets the name of the brand.

      Parameters

      • val: string

        The value to set.

      Returns this

      A reference to this object.

    • Sets the parent or umbrella company of the brand.

      Parameters

      • val: string

        The value to set.

      Returns this

      A reference to this object.