Class CustomerFields
- java.lang.Object
-
- com.broadleafcommerce.promotion.offer.web.context.CustomerFields
-
@ConfigurationProperties("broadleaf.offer.customer.fields") public class CustomerFields extends ObjectConfiguration properties for defining the names of the customer fields that can be targeted byUserTarget.targetTypes.- Author:
- Chad Harchar (charchar)
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountName of the field passed in as part ofUserTarget.targetTypethat maps to the account.protected StringcustomerName of the field passed in as part ofUserTarget.targetTypethat maps to the individual customer.protected StringsegmentName of the field passed in as part ofUserTarget.targetTypethat maps to the customer segment.
-
Constructor Summary
Constructors Constructor Description CustomerFields()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccount()Name of the field passed in as part ofUserTarget.targetTypethat maps to the account.StringgetCustomer()Name of the field passed in as part ofUserTarget.targetTypethat maps to the individual customer.StringgetSegment()Name of the field passed in as part ofUserTarget.targetTypethat maps to the customer segment.voidsetAccount(String account)Name of the field passed in as part ofUserTarget.targetTypethat maps to the account.voidsetCustomer(String customer)Name of the field passed in as part ofUserTarget.targetTypethat maps to the individual customer.voidsetSegment(String segment)Name of the field passed in as part ofUserTarget.targetTypethat maps to the customer segment.StringtoString()
-
-
-
Field Detail
-
customer
protected String customer
Name of the field passed in as part of
UserTarget.targetTypethat maps to the individual customer.
-
account
protected String account
Name of the field passed in as part of
UserTarget.targetTypethat maps to the account.
-
segment
protected String segment
Name of the field passed in as part of
UserTarget.targetTypethat maps to the customer segment.
-
-
Method Detail
-
getCustomer
public String getCustomer()
Name of the field passed in as part of
UserTarget.targetTypethat maps to the individual customer.
-
getAccount
public String getAccount()
Name of the field passed in as part of
UserTarget.targetTypethat maps to the account.
-
getSegment
public String getSegment()
Name of the field passed in as part of
UserTarget.targetTypethat maps to the customer segment.
-
setCustomer
public void setCustomer(String customer)
Name of the field passed in as part of
UserTarget.targetTypethat maps to the individual customer.
-
setAccount
public void setAccount(String account)
Name of the field passed in as part of
UserTarget.targetTypethat maps to the account.
-
setSegment
public void setSegment(String segment)
Name of the field passed in as part of
UserTarget.targetTypethat maps to the customer segment.
-
-