public class FSecurityProfile extends APIParam<FSecurityProfile>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivHashCode, ivHashFlds, ivObjFlds
Constructor and Description |
---|
FSecurityProfile()
Constructs a
FSecurityProfile object with all field values set to
null . |
FSecurityProfile(java.util.HashMap<java.lang.String,java.lang.Object> source)
Constructs a
FSecurityProfile object with field values based on the
supplied hash map. |
FSecurityProfile(java.lang.String source)
Constructs a
FSecurityProfile object with field values based on the
supplied JSON text string. |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowAcctAccess()
Returns the allow access to account flag.
|
boolean |
getAllowAddToCart()
Returns the allow add to cart flag.
|
boolean |
getAllowAddToFavorites()
Returns the allow add to favorites flag.
|
boolean |
getAllowBuyFromCart()
Returns the allow buy from cart flag.
|
boolean |
getAllowCheckOut()
Returns the allow check out flag.
|
boolean |
getAllowCreateQuotes()
Returns the allow quote creation flag.
|
boolean |
getAllowEditBillto()
Returns the allow editing of billing information flag.
|
boolean |
getAllowEditContact()
Returns the allow editing of contact information flag.
|
boolean |
getAllowEditCrCard()
Returns the allow editing of credit card information flag.
|
boolean |
getAllowEditLogon()
Returns the allow editing of logon information flag.
|
boolean |
getAllowEditShipto()
Returns the allow editing of shipping information flag.
|
boolean |
getAllowInvoiceHistory()
Returns the allow user to access invoice history flag.
|
boolean |
getAllowOrderHistory()
Returns the allow user to access order history flag.
|
boolean |
getAllowPlaceOrders()
Returns the allow placing orders flag.
|
boolean |
getAllowPriceOverride()
Returns the allow price overrides flag.
|
boolean |
getBuyFromFavoritesOnly()
Returns the allow user to buy from favorites only flag.
|
java.lang.String |
getCode()
Returns the unique code for the profile.
|
java.lang.String |
getDescription()
Returns the description.
|
boolean |
getDisplayNegativeWhseQtys()
Returns the display negative warehouse quantities flag.
|
boolean |
getDisplayWhseQtys()
Returns the display warehouse quantities flag.
|
java.lang.String |
getSettings()
Returns the concatenated string of settings (Y/N).
|
protected boolean |
getSettingsFlag(int index)
Returns the settings flag at the given index.
|
boolean |
getShowNoPrices()
Returns the don't show prices flag.
|
boolean |
getShowNoQuantities()
Returns the don't show available quantities flag.
|
protected void |
removeUnwantedFields()
Removes unwanted fields from a JSON object or from an array of JSON objects.
|
void |
setAllowAcctAccess(boolean allow)
Sets the allow access to account flag.
|
void |
setAllowAddToCart(boolean allow)
Sets the allow add to cart flag.
|
void |
setAllowAddToFavorites(boolean allow)
Sets the allow add to favorites flag.
|
void |
setAllowCreateQuotes(boolean allow)
Sets the allow quote creation flag.
|
void |
setAllowEditBillto(boolean allow)
Sets the allow editing of billing information flag.
|
void |
setAllowEditContact(boolean allow)
Sets the allow editing of contact information flag.
|
void |
setAllowEditCrCard(boolean allow)
Sets the allow editing of credit card information flag.
|
void |
setAllowEditLogon(boolean allow)
Sets the allow editing of logon information flag.
|
void |
setAllowEditShipto(boolean allow)
Sets the allow editing of shipping information flag.
|
void |
setAllowInvoiceHistory(boolean allow)
Sets the allow user to access invoice history flag.
|
void |
setAllowOrderHistory(boolean allow)
Sets the allow user to access order history flag.
|
void |
setAllowPlaceOrders(boolean allow)
Sets the allow placing orders flag.
|
void |
setAllowPriceOverride(boolean allow)
Sets the allow price overrides flag.
|
void |
setBuyFromFavoritesOnly(boolean allow)
Sets the allow user to buy from favorites only flag.
|
void |
setCode(java.lang.String value)
Sets the unique code for the profile.
|
void |
setDescription(java.lang.String value)
Sets the description.
|
void |
setDisplayNegativeWhseQtys(boolean display)
Sets the display negative warehouse quantities flag.
|
void |
setDisplayWhseQtys(boolean display)
Sets the display warehouse quantities flag.
|
void |
setSettings(java.lang.String value)
Sets the concatenated string of settings (Y/N).
|
protected void |
setSettingsFlag(boolean flag,
int index)
Sets the settings flag at the given index.
|
void |
setShowNoPrices(boolean noprices)
Sets the don't show prices flag.
|
void |
setShowNoQuantities(boolean noqtys)
Sets the don't show available quantities flag.
|
after, before, compareTo, equals, getHashFields, getObjectFields, hashCode, removeStringWhitespace, removeUnwantedFields, setHashFields, setObjectFields, toJSONString, toString
private static final long serialVersionUID
public FSecurityProfile()
FSecurityProfile
object with all field values set to
null
.public FSecurityProfile(java.util.HashMap<java.lang.String,java.lang.Object> source)
FSecurityProfile
object with field values based on the
supplied hash map.source
- (HashMap) A hash map of field names and values.public FSecurityProfile(java.lang.String source)
FSecurityProfile
object with field values based on the
supplied JSON text string.source
- (String) A string beginning with {
(left brace) and ending with }
(right brace).protected void removeUnwantedFields()
removeUnwantedFields
in class APIParam<FSecurityProfile>
public java.lang.String getCode()
public void setCode(java.lang.String value)
value
- (String) The unique code for the profile.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- (String) The description.public java.lang.String getSettings()
public void setSettings(java.lang.String value)
value
- (String) The concatenated string of settings (Y/N).protected boolean getSettingsFlag(int index)
index
- (int) The index of the flag to return.false
if
a flag for the index does not exist.protected void setSettingsFlag(boolean flag, int index)
flag
- (boolean) The flag to set.index
- (int) The index of the flag to set.public boolean getAllowPlaceOrders()
public void setAllowPlaceOrders(boolean allow)
allow
- (boolean) The allow placing orders flag.public boolean getAllowCreateQuotes()
public void setAllowCreateQuotes(boolean allow)
allow
- (boolean) The allow quote creation flag.public boolean getAllowAcctAccess()
public void setAllowAcctAccess(boolean allow)
allow
- (boolean) The allow access to account flag.public boolean getAllowEditBillto()
public void setAllowEditBillto(boolean allow)
allow
- (boolean) The allow editing of billing information flag.public boolean getAllowEditShipto()
public void setAllowEditShipto(boolean allow)
allow
- (boolean) The editing of shipping information flag.public boolean getAllowEditContact()
public void setAllowEditContact(boolean allow)
allow
- (boolean) The editing of contact information flag.public boolean getAllowEditLogon()
public void setAllowEditLogon(boolean allow)
allow
- (boolean) The editing of logon information flag.public boolean getAllowEditCrCard()
public void setAllowEditCrCard(boolean allow)
allow
- (boolean) The editing of credit card information flag.public boolean getAllowPriceOverride()
public void setAllowPriceOverride(boolean allow)
allow
- (boolean) The allow price overrides flag.public boolean getAllowAddToCart()
public void setAllowAddToCart(boolean allow)
allow
- (boolean) The allow add to cart flag.public boolean getAllowAddToFavorites()
public void setAllowAddToFavorites(boolean allow)
allow
- (boolean) The allow add to favorites flag.public boolean getDisplayWhseQtys()
public void setDisplayWhseQtys(boolean display)
display
- (boolean) The display warehouse quantities flag.public boolean getDisplayNegativeWhseQtys()
public void setDisplayNegativeWhseQtys(boolean display)
display
- (boolean) The display negative warehouse quantities flag.public boolean getShowNoPrices()
public void setShowNoPrices(boolean noprices)
noprices
- (boolean) The don't show prices flag.public boolean getBuyFromFavoritesOnly()
public void setBuyFromFavoritesOnly(boolean allow)
allow
- (boolean) The allow user to buy from favorites only flag.public boolean getAllowOrderHistory()
public void setAllowOrderHistory(boolean allow)
allow
- (boolean) The allow user to access order history flag.public boolean getAllowInvoiceHistory()
public void setAllowInvoiceHistory(boolean allow)
allow
- (boolean) The allow user to access invoice history flag.public boolean getShowNoQuantities()
public void setShowNoQuantities(boolean noqtys)
noqtys
- (boolean) The don't show available quantities flag.public boolean getAllowBuyFromCart()
getAllowAddToCart() && !getBuyFromFavoritesOnly()
.public boolean getAllowCheckOut()
getAllowPlaceOrder() || getAllowCreateQuote()
.