Class AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder
-
- All Implemented Interfaces:
public final class AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.BuilderA builder for CreateAuthRuleRequestCardTokens.
-
-
Method Summary
-
-
Method Detail
-
cardTokens
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder cardTokens(List<String> cardTokens)
Card tokens to which the Auth Rule applies.
-
cardTokens
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder cardTokens(JsonField<List<String>> cardTokens)
Sets Builder.cardTokens to an arbitrary JSON value.
You should usually call Builder.cardTokens with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCardToken
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder addCardToken(String cardToken)
Adds a single String to cardTokens.
-
eventStream
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder eventStream(AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.EventStream eventStream)
The event stream during which the rule will be evaluated.
-
eventStream
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder eventStream(JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.EventStream> eventStream)
Sets Builder.eventStream to an arbitrary JSON value.
You should usually call Builder.eventStream with a well-typed EventStream value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder name(String name)
Auth Rule Name
-
name
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.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.
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Parameters parameters)
Parameters for the Auth Rule
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Parameters> parameters)
Sets Builder.parameters to an arbitrary JSON value.
You should usually call Builder.parameters with a well-typed Parameters value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(ConditionalBlockParameters conditionalBlock)
Alias for calling parameters with
Parameters.ofConditionalBlock(conditionalBlock).
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(VelocityLimitParams velocityLimitParams)
Alias for calling parameters with
Parameters.ofVelocityLimitParams(velocityLimitParams).
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(MerchantLockParameters merchantLock)
Alias for calling parameters with
Parameters.ofMerchantLock(merchantLock).
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(Conditional3dsActionParameters conditional3dsAction)
Alias for calling parameters with
Parameters.ofConditional3dsAction(conditional3dsAction).
-
parameters
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder parameters(AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Parameters.ConditionalAuthorizationActionParameters conditionalAuthorizationAction)
Alias for calling parameters with
Parameters.ofConditionalAuthorizationAction(conditionalAuthorizationAction).
-
type
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder type(AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.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.
-
type
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder type(JsonField<AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.AuthRuleType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed AuthRuleType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthRuleV2CreateParams.Body.CreateAuthRuleRequestCardTokens build()
Returns an immutable instance of CreateAuthRuleRequestCardTokens.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cardTokens()
-
-
-
-