PersonalizationOption

public protocol PersonalizationOption

PersonalizationOption protocol

  • Identifier of product.

    Declaration

    Swift

    var resourceId: String
  • The type of the personalization field.

    Declaration

    Swift

    var label: String
  • The type of the personalization field.

    Declaration

    Swift

    var type: String
  • Array containing the possible values for this field. Only set when type == ‘options’.

    Declaration

    Swift

    var options: [String]?
  • Link to an image for instructions, not all fields have this.

    Declaration

    Swift

    var instructionsURL: String?
  • Value that has been selected for that field. Will always be null in the product object, and not null in the cart.

    Declaration

    Swift

    var selectedValue: String?