Package model
Enum CreateSubscriptionScheduleRequest.SubscriptionTypeEnum
- java.lang.Object
-
- java.lang.Enum<CreateSubscriptionScheduleRequest.SubscriptionTypeEnum>
-
- model.CreateSubscriptionScheduleRequest.SubscriptionTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CreateSubscriptionScheduleRequest.SubscriptionTypeEnum>
- Enclosing class:
- CreateSubscriptionScheduleRequest
public static enum CreateSubscriptionScheduleRequest.SubscriptionTypeEnum extends Enum<CreateSubscriptionScheduleRequest.SubscriptionTypeEnum>
Specify the type of schedule: - **FIXED\\_TIME\\_INTERVAL**: Charges a Merchant on a fixed hourly interval. - **PERIODIC\\_MONTHLY**: Charges a Merchant once a month on a specific day. - **PERIODIC\\_YEARLY**: Charges a Merchant once a year on a specific day and month.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateSubscriptionScheduleRequest.SubscriptionTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description FIXED_TIME_INTERVALPERIODIC_MONTHLYPERIODIC_YEARLYUNKNOWN_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSubscriptionScheduleRequest.SubscriptionTypeEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static CreateSubscriptionScheduleRequest.SubscriptionTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CreateSubscriptionScheduleRequest.SubscriptionTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIXED_TIME_INTERVAL
public static final CreateSubscriptionScheduleRequest.SubscriptionTypeEnum FIXED_TIME_INTERVAL
-
PERIODIC_MONTHLY
public static final CreateSubscriptionScheduleRequest.SubscriptionTypeEnum PERIODIC_MONTHLY
-
PERIODIC_YEARLY
public static final CreateSubscriptionScheduleRequest.SubscriptionTypeEnum PERIODIC_YEARLY
-
UNKNOWN_DEFAULT
public static final CreateSubscriptionScheduleRequest.SubscriptionTypeEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static CreateSubscriptionScheduleRequest.SubscriptionTypeEnum[] 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 (CreateSubscriptionScheduleRequest.SubscriptionTypeEnum c : CreateSubscriptionScheduleRequest.SubscriptionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateSubscriptionScheduleRequest.SubscriptionTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CreateSubscriptionScheduleRequest.SubscriptionTypeEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static CreateSubscriptionScheduleRequest.SubscriptionTypeEnum fromValue(String value)
-
-