public static enum CreateCheckoutSessionRequest.ChannelEnum extends Enum<CreateCheckoutSessionRequest.ChannelEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateCheckoutSessionRequest.ChannelEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static CreateCheckoutSessionRequest.ChannelEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CreateCheckoutSessionRequest.ChannelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateCheckoutSessionRequest.ChannelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateCheckoutSessionRequest.ChannelEnum IOS
public static final CreateCheckoutSessionRequest.ChannelEnum ANDROID
public static final CreateCheckoutSessionRequest.ChannelEnum WEB
public static CreateCheckoutSessionRequest.ChannelEnum[] values()
for (CreateCheckoutSessionRequest.ChannelEnum c : CreateCheckoutSessionRequest.ChannelEnum.values()) System.out.println(c);
public static CreateCheckoutSessionRequest.ChannelEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<CreateCheckoutSessionRequest.ChannelEnum>public static CreateCheckoutSessionRequest.ChannelEnum fromValue(String value)
Copyright © 2022. All rights reserved.