Newer Version Available
BuyerGroupResponse Class
Contains constructors and methods to retrieve the buyer groups associated with a
user.
Namespace
BuyerGroupResponse Constructors
The following are constructors for BuyerGroupResponse.
BuyerGroupResponse(buyerGroupIds)
Creates a new instance of the CommerceBuyGrp.BuyerGroupResponse class using the specified buyerGroupIds payload parameter.
Signature
public BuyerGroupResponse(Set<String> buyerGroupIds)
Parameters
- buyerGroupIds
- Type: Set<String>
- List of buyer group IDs for a user.
BuyerGroupResponse Methods
The following are methods for BuyerGroupResponse.
getBuyerGroupIds()
Retrieves a list of evaluated buyer group IDs assigned to a user.
Signature
public Set<String> getBuyerGroupIds()
Return Value
Type: Set<String>
setBuyerGroupIds(buyerGroupIds)
Sets a list of evaluated buyer group IDs assigned to a user.
Signature
public void setBuyerGroupIds(Set<String> buyerGroupIds)
Parameters
- buyerGroupIds
- Type: Set<String>
Return Value
Type: void