Status

public enum Status extends Enum<Status>

Defines the current state of the Order. Generally, OrderPurchaseScreenRequest is followed by an OrderUpdate reflecting the change in current order status. From IN_PROGRESS to any of below possible values: * COMPLETED is used when the order has been processed fully. For example, inventory has been reserved, and the payment has been settled. * CHANGE_COMPLETED is like COMPLETED but on a changed order. * CANCELLED is used when the order is cancelled. This could be acustomer initiated cancel or based on Fraud recommendation. * FAILED is used when order failed due to any errors on Partner system. This could be followed by another OrderUpdate call with any order_status once the order is recovered, abandoned, or cancelled. * CHANGE_FAILED is like FAILED but on a changed order. * * CHANGE_COMPLETED or CHANGE_FAILED are applicable if OrderPurchaseScreen Fraud API was called via a change in order which is through transaction.transaction_details.order_type = CHANGE * COMPLETED or CANCELLED order status indicates the completion of lifecycle on an order. Values: COMPLETED,CHANGE_COMPLETED,CANCELLED,FAILED,CHANGE_FAILED

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
private final EnumEntries<Status> entries

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
private final String value

Functions

Link copied to clipboard
public final EnumEntries<Status> getEntries()

Defines the current state of the Order. Generally, OrderPurchaseScreenRequest is followed by an OrderUpdate reflecting the change in current order status. From IN_PROGRESS to any of below possible values: * COMPLETED is used when the order has been processed fully. For example, inventory has been reserved, and the payment has been settled. * CHANGE_COMPLETED is like COMPLETED but on a changed order. * CANCELLED is used when the order is cancelled. This could be acustomer initiated cancel or based on Fraud recommendation. * FAILED is used when order failed due to any errors on Partner system. This could be followed by another OrderUpdate call with any order_status once the order is recovered, abandoned, or cancelled. * CHANGE_FAILED is like FAILED but on a changed order. * * CHANGE_COMPLETED or CHANGE_FAILED are applicable if OrderPurchaseScreen Fraud API was called via a change in order which is through transaction.transaction_details.order_type = CHANGE * COMPLETED or CANCELLED order status indicates the completion of lifecycle on an order. Values: COMPLETED,CHANGE_COMPLETED,CANCELLED,FAILED,CHANGE_FAILED

Link copied to clipboard
public final String getValue()
Link copied to clipboard
public final Status valueOf(String value)

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.)

Link copied to clipboard
public final Array<Status> values()

Returns an array containing the constants of this enum type, in the order they're declared.