java.lang.Object
com.broadleafcommerce.promotion.offer.web.context.CustomerFields

@ConfigurationProperties("broadleaf.offer.customer.fields") public class CustomerFields extends Object
Configuration properties for defining the names of the customer fields that can be targeted by UserTarget.targetTypes.
Author:
Chad Harchar (charchar)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Name of the field passed in as part of UserTarget.targetType that maps to the account.
    protected String
    Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.
    protected String
    Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the field passed in as part of UserTarget.targetType that maps to the account.
    Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.
    Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.
    void
    setAccount(String account)
    Name of the field passed in as part of UserTarget.targetType that maps to the account.
    void
    setCustomer(String customer)
    Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.
    void
    setSegment(String segment)
    Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • customer

      protected String customer

      Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.

    • account

      protected String account

      Name of the field passed in as part of UserTarget.targetType that maps to the account.

    • segment

      protected String segment

      Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.

  • Constructor Details

    • CustomerFields

      public CustomerFields()
  • Method Details

    • getCustomer

      public String getCustomer()

      Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.

    • getAccount

      public String getAccount()

      Name of the field passed in as part of UserTarget.targetType that maps to the account.

    • getSegment

      public String getSegment()

      Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.

    • setCustomer

      public void setCustomer(String customer)

      Name of the field passed in as part of UserTarget.targetType that maps to the individual customer.

    • setAccount

      public void setAccount(String account)

      Name of the field passed in as part of UserTarget.targetType that maps to the account.

    • setSegment

      public void setSegment(String segment)

      Name of the field passed in as part of UserTarget.targetType that maps to the customer segment.

    • toString

      public String toString()
      Overrides:
      toString in class Object