Class AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel
-
- All Implemented Interfaces:
public final class AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.BuilderA builder for CreateAuthRuleRequestProgramLevel.
public final classAuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.EventStreamThe event stream during which the rule will be evaluated.
public final classAuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.ParametersParameters for the Auth Rule
public final classAuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.AuthRuleTypeThe type of Auth Rule. For certain rule types, this determines the event stream during which it will be evaluated. For rules that can be applied to one of several event streams, the effective one is defined by the separate
event_streamfield.CONDITIONAL_BLOCK: AUTHORIZATION event stream.VELOCITY_LIMIT: AUTHORIZATION event stream.MERCHANT_LOCK: AUTHORIZATION event stream.CONDITIONAL_ACTION: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
-
Method Summary
-
-
Method Detail
-
programLevel
final Boolean programLevel()
Whether the Auth Rule applies to all authorizations on the card program.
-
eventStream
final Optional<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.EventStream> eventStream()
The event stream during which the rule will be evaluated.
-
excludedCardTokens
final Optional<List<String>> excludedCardTokens()
Card tokens to which the Auth Rule does not apply.
-
parameters
final Optional<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.Parameters> parameters()
Parameters for the Auth Rule
-
type
final Optional<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.AuthRuleType> type()
The type of Auth Rule. For certain rule types, this determines the event stream during which it will be evaluated. For rules that can be applied to one of several event streams, the effective one is defined by the separate
event_streamfield.CONDITIONAL_BLOCK: AUTHORIZATION event stream.VELOCITY_LIMIT: AUTHORIZATION event stream.MERCHANT_LOCK: AUTHORIZATION event stream.CONDITIONAL_ACTION: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
-
_programLevel
final JsonField<Boolean> _programLevel()
Returns the raw JSON value of programLevel.
Unlike programLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_eventStream
final JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.EventStream> _eventStream()
Returns the raw JSON value of eventStream.
Unlike eventStream, this method doesn't throw if the JSON field has an unexpected type.
-
_excludedCardTokens
final JsonField<List<String>> _excludedCardTokens()
Returns the raw JSON value of excludedCardTokens.
Unlike excludedCardTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_parameters
final JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.Parameters> _parameters()
Returns the raw JSON value of parameters.
Unlike parameters, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.AuthRuleType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel validate()
-
builder
final static AuthRuleV2CreateParams.Body.CreateAuthRuleRequestProgramLevel.Builder builder()
Returns a mutable builder for constructing an instance of CreateAuthRuleRequestProgramLevel.
The following fields are required:
.programLevel()
-
-
-
-