Represents a dynamic product field with methods to retrieve and update its text, and to get detailed information about the field.

interface DynamicProductField {
    GetFieldDetails(): DynamicFieldModel;
    GetFieldText(): string;
    SetFieldText(text: string): boolean;
}

Methods

  • Retrieves detailed information about the field.

    Returns DynamicFieldModel

    An object containing detailed information about the field, including its type, custom data, name, and current value.

  • Retrieves the text content of the field.

    Returns string

    The current text of the field.

  • Updates the field's text content.

    Parameters

    • text: string

      {string} The new text to set for the field.

    Returns boolean

    Returns true if the text was successfully updated, false otherwise.