Class BetaFallbackCreditNotApplied.Builder
-
- All Implemented Interfaces:
public final class BetaFallbackCreditNotApplied.BuilderA builder for BetaFallbackCreditNotApplied.
-
-
Method Summary
-
-
Method Detail
-
reason
final BetaFallbackCreditNotApplied.Builder reason(BetaFallbackCreditNotApplied.Reason reason)
Why the reprice was not applied.
A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates.
-
reason
final BetaFallbackCreditNotApplied.Builder reason(JsonField<BetaFallbackCreditNotApplied.Reason> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed Reason value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaFallbackCreditNotApplied.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("not_applied")This method is primarily for setting the field to an undocumented or not yet supported value.
-
removeToRedeem
final BetaFallbackCreditNotApplied.Builder removeToRedeem(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.
-
removeToRedeem
final BetaFallbackCreditNotApplied.Builder removeToRedeem(Optional<List<String>> removeToRedeem)
Alias for calling Builder.removeToRedeem with
removeToRedeem.orElse(null).
-
removeToRedeem
final BetaFallbackCreditNotApplied.Builder removeToRedeem(JsonField<List<String>> removeToRedeem)
Sets Builder.removeToRedeem to an arbitrary JSON value.
You should usually call Builder.removeToRedeem with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaFallbackCreditNotApplied.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addRemoveToRedeem
final BetaFallbackCreditNotApplied.Builder addRemoveToRedeem(String removeToRedeem)
Adds a single String to Builder.removeToRedeem.
-
putAdditionalProperty
final BetaFallbackCreditNotApplied.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaFallbackCreditNotApplied.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaFallbackCreditNotApplied.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaFallbackCreditNotApplied.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaFallbackCreditNotApplied build()
Returns an immutable instance of BetaFallbackCreditNotApplied.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.reason()
-
-
-
-