Class V2CreateResponse.Builder
-
- All Implemented Interfaces:
public final class V2CreateResponse.BuilderA builder for V2CreateResponse.
-
-
Method Summary
-
-
Method Detail
-
token
final V2CreateResponse.Builder token(String token)
Auth Rule Token
-
token
final V2CreateResponse.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountTokens
final V2CreateResponse.Builder accountTokens(List<String> accountTokens)
Account tokens to which the Auth Rule applies.
-
accountTokens
final V2CreateResponse.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 V2CreateResponse.Builder addAccountToken(String accountToken)
Adds a single String to accountTokens.
-
businessAccountTokens
final V2CreateResponse.Builder businessAccountTokens(List<String> businessAccountTokens)
Business Account tokens to which the Auth Rule applies.
-
businessAccountTokens
final V2CreateResponse.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 V2CreateResponse.Builder addBusinessAccountToken(String businessAccountToken)
Adds a single String to businessAccountTokens.
-
cardTokens
final V2CreateResponse.Builder cardTokens(List<String> cardTokens)
Card tokens to which the Auth Rule applies.
-
cardTokens
final V2CreateResponse.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 V2CreateResponse.Builder addCardToken(String cardToken)
Adds a single String to cardTokens.
-
currentVersion
final V2CreateResponse.Builder currentVersion(V2CreateResponse.CurrentVersion currentVersion)
-
currentVersion
final V2CreateResponse.Builder currentVersion(Optional<V2CreateResponse.CurrentVersion> currentVersion)
Alias for calling Builder.currentVersion with
currentVersion.orElse(null).
-
currentVersion
final V2CreateResponse.Builder currentVersion(JsonField<V2CreateResponse.CurrentVersion> currentVersion)
Sets Builder.currentVersion to an arbitrary JSON value.
You should usually call Builder.currentVersion with a well-typed CurrentVersion value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
draftVersion
final V2CreateResponse.Builder draftVersion(V2CreateResponse.DraftVersion draftVersion)
-
draftVersion
final V2CreateResponse.Builder draftVersion(Optional<V2CreateResponse.DraftVersion> draftVersion)
Alias for calling Builder.draftVersion with
draftVersion.orElse(null).
-
draftVersion
final V2CreateResponse.Builder draftVersion(JsonField<V2CreateResponse.DraftVersion> draftVersion)
Sets Builder.draftVersion to an arbitrary JSON value.
You should usually call Builder.draftVersion with a well-typed DraftVersion value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventStream
final V2CreateResponse.Builder eventStream(V2CreateResponse.EventStream eventStream)
The event stream during which the rule will be evaluated.
-
eventStream
final V2CreateResponse.Builder eventStream(JsonField<V2CreateResponse.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.
-
lithicManaged
final V2CreateResponse.Builder lithicManaged(Boolean lithicManaged)
Indicates whether this auth rule is managed by Lithic. If true, the rule cannot be modified or deleted by the user
-
lithicManaged
final V2CreateResponse.Builder lithicManaged(JsonField<Boolean> lithicManaged)
Sets Builder.lithicManaged to an arbitrary JSON value.
You should usually call Builder.lithicManaged with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final V2CreateResponse.Builder name(String name)
Auth Rule Name
-
name
final V2CreateResponse.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final V2CreateResponse.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 V2CreateResponse.Builder programLevel(Boolean programLevel)
Whether the Auth Rule applies to all authorizations on the card program.
-
programLevel
final V2CreateResponse.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 V2CreateResponse.Builder state(V2CreateResponse.AuthRuleState state)
The state of the Auth Rule
-
state
final V2CreateResponse.Builder state(JsonField<V2CreateResponse.AuthRuleState> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed AuthRuleState value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final V2CreateResponse.Builder type(V2CreateResponse.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 V2CreateResponse.Builder type(JsonField<V2CreateResponse.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.
-
excludedCardTokens
final V2CreateResponse.Builder excludedCardTokens(List<String> excludedCardTokens)
Card tokens to which the Auth Rule does not apply.
-
excludedCardTokens
final V2CreateResponse.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 V2CreateResponse.Builder addExcludedCardToken(String excludedCardToken)
Adds a single String to excludedCardTokens.
-
additionalProperties
final V2CreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V2CreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V2CreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V2CreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V2CreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V2CreateResponse build()
Returns an immutable instance of V2CreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .accountTokens() .businessAccountTokens() .cardTokens() .currentVersion() .draftVersion() .eventStream() .lithicManaged() .name() .programLevel() .state() .type()
-
-
-
-