Class BetaFallbackCreditNotApplied
-
- All Implemented Interfaces:
public final class BetaFallbackCreditNotAppliedNo reprice was applied;
`reason`says why.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaFallbackCreditNotApplied.BuilderA builder for BetaFallbackCreditNotApplied.
public final classBetaFallbackCreditNotApplied.ReasonWhy the reprice was not applied.
A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates.
-
Method Summary
Modifier and Type Method Description final BetaFallbackCreditNotApplied.Reasonreason()Why the reprice was not applied. final Optional<List<String>>removeToRedeem()Request fields to remove before retrying, so the retry can redeem this token. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("not_applied")final JsonField<BetaFallbackCreditNotApplied.Reason>_reason()Returns the raw JSON value of reason. final JsonField<List<String>>_removeToRedeem()Returns the raw JSON value of removeToRedeem. final Map<String, JsonValue>_additionalProperties()final BetaFallbackCreditNotApplied.BuildertoBuilder()final BetaFallbackCreditNotAppliedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaFallbackCreditNotApplied.Builderbuilder()Returns a mutable builder for constructing an instance of BetaFallbackCreditNotApplied. final static BetaFallbackCreditNotAppliedof(BetaFallbackCreditNotApplied.Reason reason)Returns an immutable instance of BetaFallbackCreditNotApplied with the required reason set to the given value. -
-
Method Detail
-
reason
final BetaFallbackCreditNotApplied.Reason reason()
Why the reprice was not applied.
A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates.
-
removeToRedeem
final Optional<List<String>> removeToRedeem()
Request fields to remove before retrying, so the retry can redeem this token.
Present exactly when
reasonisvariant_fields_present— never null, never an empty array; absent otherwise. Fields are named only from your own request, and only after the sealed variant hash matched. A served best-effort retry has already been billed at normal price; nothing redeems retroactively, but a corrected re-send inside the token's five-minute window can still redeem.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("not_applied")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_reason
final JsonField<BetaFallbackCreditNotApplied.Reason> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_removeToRedeem
final JsonField<List<String>> _removeToRedeem()
Returns the raw JSON value of removeToRedeem.
Unlike removeToRedeem, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaFallbackCreditNotApplied.Builder toBuilder()
-
validate
final BetaFallbackCreditNotApplied validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaFallbackCreditNotApplied.Builder builder()
Returns a mutable builder for constructing an instance of BetaFallbackCreditNotApplied.
The following fields are required:
.reason()
-
of
final static BetaFallbackCreditNotApplied of(BetaFallbackCreditNotApplied.Reason reason)
Returns an immutable instance of BetaFallbackCreditNotApplied with the required reason set to the given value.
-
-
-
-