Enum ListInvoicesRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListInvoicesRequest.SortBy>
-
- com.oracle.bmc.ospgateway.requests.ListInvoicesRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListInvoicesRequest.SortBy>
- Enclosing class:
- ListInvoicesRequest
public static enum ListInvoicesRequest.SortBy extends Enum<ListInvoicesRequest.SortBy> implements BmcEnum
The field to sort by.Only one field can be selected for sorting.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BalanceDue
DueDate
InvoiceDate
InvoiceNo
PaymRef
RefNo
Status
TotalAmount
Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListInvoicesRequest.SortBy
create(String key)
String
getValue()
static ListInvoicesRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListInvoicesRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InvoiceNo
public static final ListInvoicesRequest.SortBy InvoiceNo
-
RefNo
public static final ListInvoicesRequest.SortBy RefNo
-
Status
public static final ListInvoicesRequest.SortBy Status
-
Type
public static final ListInvoicesRequest.SortBy Type
-
InvoiceDate
public static final ListInvoicesRequest.SortBy InvoiceDate
-
DueDate
public static final ListInvoicesRequest.SortBy DueDate
-
PaymRef
public static final ListInvoicesRequest.SortBy PaymRef
-
TotalAmount
public static final ListInvoicesRequest.SortBy TotalAmount
-
BalanceDue
public static final ListInvoicesRequest.SortBy BalanceDue
-
-
Method Detail
-
values
public static ListInvoicesRequest.SortBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListInvoicesRequest.SortBy c : ListInvoicesRequest.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListInvoicesRequest.SortBy valueOf(String name)
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
-
create
public static ListInvoicesRequest.SortBy create(String key)
-
-