Class AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder
-
- All Implemented Interfaces:
public final class AuthRuleV2UpdateParams.Body.ProgramLevelRule.BuilderA builder for ProgramLevelRule.
-
-
Method Summary
-
-
Method Detail
-
excludedCardTokens
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder excludedCardTokens(List<String> excludedCardTokens)
Card tokens to which the Auth Rule does not apply.
-
excludedCardTokens
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder excludedCardTokens(JsonField<List<String>> excludedCardTokens)
Sets Builder.excludedCardTokens to an arbitrary JSON value.
You should usually call Builder.excludedCardTokens with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addExcludedCardToken
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder addExcludedCardToken(String excludedCardToken)
Adds a single String to excludedCardTokens.
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(String name)
Auth Rule Name
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
programLevel
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder programLevel(Boolean programLevel)
Whether the Auth Rule applies to all authorizations on the card program.
-
programLevel
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder programLevel(JsonField<Boolean> programLevel)
Sets Builder.programLevel to an arbitrary JSON value.
You should usually call Builder.programLevel with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder state(AuthRuleV2UpdateParams.Body.ProgramLevelRule.State state)
The desired state of the Auth Rule.
Note that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be used to promote a draft to the currently active version.
-
state
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder state(JsonField<AuthRuleV2UpdateParams.Body.ProgramLevelRule.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthRuleV2UpdateParams.Body.ProgramLevelRule build()
Returns an immutable instance of ProgramLevelRule.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-