RefundStatus Class

public final class RefundStatus
extends ExpandableStringEnum<RefundStatus>

The status of refund request.

Field Summary

Modifier and Type Field and Description
static final RefundStatus APPROVED

Static value Approved for RefundStatus.

static final RefundStatus CANCELLED

Static value Cancelled for RefundStatus.

static final RefundStatus COMPLETED

Static value Completed for RefundStatus.

static final RefundStatus DECLINED

Static value Declined for RefundStatus.

static final RefundStatus EXPIRED

Static value Expired for RefundStatus.

static final RefundStatus OTHER

Static value Other for RefundStatus.

static final RefundStatus PENDING

Static value Pending for RefundStatus.

Constructor Summary

Constructor Description
RefundStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RefundStatus value.

Method Summary

Modifier and Type Method and Description
static RefundStatus fromString(String name)

Creates or finds a RefundStatus from its string representation.

static Collection<RefundStatus> values()

Gets known RefundStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVED

public static final RefundStatus APPROVED

Static value Approved for RefundStatus.

CANCELLED

public static final RefundStatus CANCELLED

Static value Cancelled for RefundStatus.

COMPLETED

public static final RefundStatus COMPLETED

Static value Completed for RefundStatus.

DECLINED

public static final RefundStatus DECLINED

Static value Declined for RefundStatus.

EXPIRED

public static final RefundStatus EXPIRED

Static value Expired for RefundStatus.

OTHER

public static final RefundStatus OTHER

Static value Other for RefundStatus.

PENDING

public static final RefundStatus PENDING

Static value Pending for RefundStatus.

Constructor Details

RefundStatus

@Deprecated
public RefundStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RefundStatus value.

Method Details

fromString

public static RefundStatus fromString(String name)

Creates or finds a RefundStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RefundStatus.

values

public static Collection<RefundStatus> values()

Gets known RefundStatus values.

Returns:

known RefundStatus values.

Applies to