Enum CustomerPartnerRelationship
java.lang.Object
java.lang.Enum<CustomerPartnerRelationship>
com.microsoft.store.partnercenter.models.customers.CustomerPartnerRelationship
- All Implemented Interfaces:
Serializable,Comparable<CustomerPartnerRelationship>,java.lang.constant.Constable
public enum CustomerPartnerRelationship extends Enum<CustomerPartnerRelationship>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVISORThe advisor relationshipMICROSOFT_SUPPORTIndicates that the partner is a Microsoft Support agent for the customer.NONENone.RESELLERThe reseller relationshipSYNDICATIONIndicates that the partner is a syndication partner of the customer.UNKNOWNUnknown. -
Method Summary
Modifier and Type Method Description StringtoString()Converts the object to a string.static CustomerPartnerRelationshipvalueOf(String name)Returns the enum constant of this type with the specified name.static CustomerPartnerRelationship[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown. Used for initialization. -
NONE
None. Used to remove reseller relationship between the customer and partner. -
RESELLER
The reseller relationship -
ADVISOR
The advisor relationship -
SYNDICATION
Indicates that the partner is a syndication partner of the customer. -
MICROSOFT_SUPPORT
Indicates that the partner is a Microsoft Support agent for the customer.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
Converts the object to a string.- Overrides:
toStringin classEnum<CustomerPartnerRelationship>- Returns:
- A string that represents this object.
-