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)
Card tokens to which the Auth Rule does not apply.
-
addExcludedCardToken
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder addExcludedCardToken(String excludedCardToken)
Card tokens to which the Auth Rule does not apply.
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(String name)
Auth Rule Name
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(Optional<String> name)
Auth Rule Name
-
name
final AuthRuleV2UpdateParams.Body.ProgramLevelRule.Builder name(JsonField<String> name)
Auth Rule Name
-
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)
Whether the Auth Rule applies to all authorizations on the card program.
-
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)
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.
-
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()
-
-
-
-