public enum CompanyCreditStatus extends Enum<CompanyCreditStatus>
Java class for Company.CreditStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Company.CreditStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="ON_HOLD"/>
<enumeration value="CREDIT_STOP"/>
<enumeration value="INACTIVE"/>
<enumeration value="BLOCKED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
When the credit status is active, all line items in all orders
belonging to the company will be served.
|
BLOCKED
When the credit status of a company is marked blocked, then all active
line items belonging to the company will stop serving with immediate
effect.
|
CREDIT_STOP
When the credit status is credit stop, the publisher cannot activate new
line items of the company.
|
INACTIVE
When the credit status is inactive, the publisher cannot activate new
line items of the company.
|
ON_HOLD
When the credit status is on hold, the publisher cannot activate new line
items of the company.
|
| Modifier and Type | Method and Description |
|---|---|
static CompanyCreditStatus |
fromValue(String v) |
String |
value() |
static CompanyCreditStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompanyCreditStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompanyCreditStatus ACTIVE
public static final CompanyCreditStatus ON_HOLD
public static final CompanyCreditStatus CREDIT_STOP
public static final CompanyCreditStatus INACTIVE
public static final CompanyCreditStatus BLOCKED
public static CompanyCreditStatus[] values()
for (CompanyCreditStatus c : CompanyCreditStatus.values()) System.out.println(c);
public static CompanyCreditStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static CompanyCreditStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.