RefundReasonCode Class

public final class RefundReasonCode
extends ExpandableStringEnum<RefundReasonCode>

The reason for refund.

Field Summary

Modifier and Type Field and Description
static final RefundReasonCode ACCIDENTAL_CONVERSION

Static value AccidentalConversion for RefundReasonCode.

static final RefundReasonCode ACCIDENTAL_PURCHASE

Static value AccidentalPurchase for RefundReasonCode.

static final RefundReasonCode FORGOT_TO_CANCEL

Static value ForgotToCancel for RefundReasonCode.

static final RefundReasonCode OTHER

Static value Other for RefundReasonCode.

static final RefundReasonCode UNCLEAR_DOCUMENTATION

Static value UnclearDocumentation for RefundReasonCode.

static final RefundReasonCode UNCLEAR_PRICING

Static value UnclearPricing for RefundReasonCode.

Constructor Summary

Constructor Description
RefundReasonCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RefundReasonCode value.

Method Summary

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

Creates or finds a RefundReasonCode from its string representation.

static Collection<RefundReasonCode> values()

Gets known RefundReasonCode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACCIDENTAL_CONVERSION

public static final RefundReasonCode ACCIDENTAL_CONVERSION

Static value AccidentalConversion for RefundReasonCode.

ACCIDENTAL_PURCHASE

public static final RefundReasonCode ACCIDENTAL_PURCHASE

Static value AccidentalPurchase for RefundReasonCode.

FORGOT_TO_CANCEL

public static final RefundReasonCode FORGOT_TO_CANCEL

Static value ForgotToCancel for RefundReasonCode.

OTHER

public static final RefundReasonCode OTHER

Static value Other for RefundReasonCode.

UNCLEAR_DOCUMENTATION

public static final RefundReasonCode UNCLEAR_DOCUMENTATION

Static value UnclearDocumentation for RefundReasonCode.

UNCLEAR_PRICING

public static final RefundReasonCode UNCLEAR_PRICING

Static value UnclearPricing for RefundReasonCode.

Constructor Details

RefundReasonCode

@Deprecated
public RefundReasonCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RefundReasonCode value.

Method Details

fromString

public static RefundReasonCode fromString(String name)

Creates or finds a RefundReasonCode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RefundReasonCode.

values

public static Collection<RefundReasonCode> values()

Gets known RefundReasonCode values.

Returns:

known RefundReasonCode values.

Applies to