Package io.moov.sdk.models.components
Enum RefundPolicy
- java.lang.Object
-
- java.lang.Enum<RefundPolicy>
-
- io.moov.sdk.models.components.RefundPolicy
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RefundPolicy>
public enum RefundPolicy extends java.lang.Enum<RefundPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONDITIONAL_REFUNDCUSTOM_POLICYEVENT_BASED_POLICYFULL_REFUND_EXTENDED_WINDOWFULL_REFUND_WITHIN30_DAYSNO_REFUNDSPARTIAL_REFUNDPRORATED_REFUNDSTORE_CREDIT_ONLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<RefundPolicy>fromValue(java.lang.String value)java.lang.Stringvalue()static RefundPolicyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RefundPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONDITIONAL_REFUND
public static final RefundPolicy CONDITIONAL_REFUND
-
CUSTOM_POLICY
public static final RefundPolicy CUSTOM_POLICY
-
EVENT_BASED_POLICY
public static final RefundPolicy EVENT_BASED_POLICY
-
FULL_REFUND_EXTENDED_WINDOW
public static final RefundPolicy FULL_REFUND_EXTENDED_WINDOW
-
FULL_REFUND_WITHIN30_DAYS
public static final RefundPolicy FULL_REFUND_WITHIN30_DAYS
-
NO_REFUNDS
public static final RefundPolicy NO_REFUNDS
-
PARTIAL_REFUND
public static final RefundPolicy PARTIAL_REFUND
-
PRORATED_REFUND
public static final RefundPolicy PRORATED_REFUND
-
STORE_CREDIT_ONLY
public static final RefundPolicy STORE_CREDIT_ONLY
-
-
Method Detail
-
values
public static RefundPolicy[] 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 (RefundPolicy c : RefundPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefundPolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<RefundPolicy> fromValue(java.lang.String value)
-
-