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