Package io.stigg.api.operations.fragment
Enum SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails
- java.lang.Object
-
- java.lang.Enum<SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails>
-
- io.stigg.api.operations.fragment.SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails
-
- All Implemented Interfaces:
com.apollographql.apollo3.api.Adapter<SubscriptionPreviewInvoiceFragment.DiscountDetails>,java.io.Serializable,java.lang.Comparable<SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails>
- Enclosing class:
- SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter
public static enum SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails extends java.lang.Enum<SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails> implements com.apollographql.apollo3.api.Adapter<SubscriptionPreviewInvoiceFragment.DiscountDetails>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionPreviewInvoiceFragment.DiscountDetailsfromJson(com.apollographql.apollo3.api.json.JsonReader reader, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters)voidtoJson(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters, SubscriptionPreviewInvoiceFragment.DiscountDetails value)static SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetailsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails INSTANCE
-
-
Method Detail
-
values
public static SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails[] 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 (SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails c : SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionPreviewInvoiceFragmentImpl_ResponseAdapter.DiscountDetails 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
-
fromJson
public SubscriptionPreviewInvoiceFragment.DiscountDetails fromJson(com.apollographql.apollo3.api.json.JsonReader reader, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters) throws java.io.IOException
- Specified by:
fromJsonin interfacecom.apollographql.apollo3.api.Adapter<SubscriptionPreviewInvoiceFragment.DiscountDetails>- Throws:
java.io.IOException
-
toJson
public void toJson(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters, SubscriptionPreviewInvoiceFragment.DiscountDetails value) throws java.io.IOException- Specified by:
toJsonin interfacecom.apollographql.apollo3.api.Adapter<SubscriptionPreviewInvoiceFragment.DiscountDetails>- Throws:
java.io.IOException
-
-