Class V2UpdateResponse.Builder
-
- All Implemented Interfaces:
public final class V2UpdateResponse.BuilderA builder for V2UpdateResponse.
-
-
Method Summary
-
-
Method Detail
-
token
final V2UpdateResponse.Builder token(String token)
Auth Rule Token
-
token
final V2UpdateResponse.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 V2UpdateResponse.Builder accountTokens(List<String> accountTokens)
Account tokens to which the Auth Rule applies.
-
accountTokens
final V2UpdateResponse.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 V2UpdateResponse.Builder addAccountToken(String accountToken)
Adds a single String to accountTokens.
-
cardTokens
final V2UpdateResponse.Builder cardTokens(List<String> cardTokens)
Card tokens to which the Auth Rule applies.
-
cardTokens
final V2UpdateResponse.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 V2UpdateResponse.Builder addCardToken(String cardToken)
Adds a single String to cardTokens.
-
currentVersion
final V2UpdateResponse.Builder currentVersion(V2UpdateResponse.CurrentVersion currentVersion)
-
currentVersion
final V2UpdateResponse.Builder currentVersion(Optional<V2UpdateResponse.CurrentVersion> currentVersion)
Alias for calling Builder.currentVersion with
currentVersion.orElse(null).
-
currentVersion
final V2UpdateResponse.Builder currentVersion(JsonField<V2UpdateResponse.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 V2UpdateResponse.Builder draftVersion(V2UpdateResponse.DraftVersion draftVersion)
-
draftVersion
final V2UpdateResponse.Builder draftVersion(Optional<V2UpdateResponse.DraftVersion> draftVersion)
Alias for calling Builder.draftVersion with
draftVersion.orElse(null).
-
draftVersion
final V2UpdateResponse.Builder draftVersion(JsonField<V2UpdateResponse.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 V2UpdateResponse.Builder eventStream(V2UpdateResponse.EventStream eventStream)
The type of event stream the Auth rule applies to.
-
eventStream
final V2UpdateResponse.Builder eventStream(JsonField<V2UpdateResponse.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 V2UpdateResponse.Builder name(String name)
Auth Rule Name
-
name
final V2UpdateResponse.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final V2UpdateResponse.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 V2UpdateResponse.Builder programLevel(Boolean programLevel)
Whether the Auth Rule applies to all authorizations on the card program.
-
programLevel
final V2UpdateResponse.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 V2UpdateResponse.Builder state(V2UpdateResponse.AuthRuleState state)
The state of the Auth Rule
-
state
final V2UpdateResponse.Builder state(JsonField<V2UpdateResponse.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 V2UpdateResponse.Builder type(V2UpdateResponse.AuthRuleType type)
The type of Auth Rule. Effectively determines the event stream during which it will be evaluated.
CONDITIONAL_BLOCK: AUTHORIZATION event stream.VELOCITY_LIMIT: AUTHORIZATION event stream.MERCHANT_LOCK: AUTHORIZATION event stream.CONDITIONAL_3DS_ACTION: THREE_DS_AUTHENTICATION event stream.
-
type
final V2UpdateResponse.Builder type(JsonField<V2UpdateResponse.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 V2UpdateResponse.Builder excludedCardTokens(List<String> excludedCardTokens)
Card tokens to which the Auth Rule does not apply.
-
excludedCardTokens
final V2UpdateResponse.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 V2UpdateResponse.Builder addExcludedCardToken(String excludedCardToken)
Adds a single String to excludedCardTokens.
-
additionalProperties
final V2UpdateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V2UpdateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V2UpdateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V2UpdateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V2UpdateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V2UpdateResponse build()
Returns an immutable instance of V2UpdateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .accountTokens() .cardTokens() .currentVersion() .draftVersion() .eventStream() .name() .programLevel() .state() .type()
-
-
-
-