Class AuthRule.Builder
-
- All Implemented Interfaces:
public final class AuthRule.BuilderA builder for AuthRule.
-
-
Method Summary
Modifier and Type Method Description final AuthRule.Buildertoken(String token)Globally unique identifier. final AuthRule.Buildertoken(JsonField<String> token)Sets Builder.token to an arbitrary JSON value. final AuthRule.Builderstate(AuthRule.State state)Indicates whether the Auth Rule is ACTIVE or INACTIVE final AuthRule.Builderstate(JsonField<AuthRule.State> state)Sets Builder.state to an arbitrary JSON value. final AuthRule.BuilderaccountTokens(List<String> accountTokens)Array of account_token(s) identifying the accounts that the Auth Rule applies to. final AuthRule.BuilderaccountTokens(JsonField<List<String>> accountTokens)Sets Builder.accountTokens to an arbitrary JSON value. final AuthRule.BuilderaddAccountToken(String accountToken)Adds a single String to accountTokens. final AuthRule.BuilderallowedCountries(List<String> allowedCountries)Countries in which the Auth Rule permits transactions. final AuthRule.BuilderallowedCountries(JsonField<List<String>> allowedCountries)Sets Builder.allowedCountries to an arbitrary JSON value. final AuthRule.BuilderaddAllowedCountry(String allowedCountry)Adds a single String to allowedCountries. final AuthRule.BuilderallowedMcc(List<String> allowedMcc)Merchant category codes for which the Auth Rule permits transactions. final AuthRule.BuilderallowedMcc(JsonField<List<String>> allowedMcc)Sets Builder.allowedMcc to an arbitrary JSON value. final AuthRule.BuilderaddAllowedMcc(String allowedMcc)Adds a single String to Builder.allowedMcc. final AuthRule.BuilderblockedCountries(List<String> blockedCountries)Countries in which the Auth Rule automatically declines transactions. final AuthRule.BuilderblockedCountries(JsonField<List<String>> blockedCountries)Sets Builder.blockedCountries to an arbitrary JSON value. final AuthRule.BuilderaddBlockedCountry(String blockedCountry)Adds a single String to blockedCountries. final AuthRule.BuilderblockedMcc(List<String> blockedMcc)Merchant category codes for which the Auth Rule automatically declines transactions. final AuthRule.BuilderblockedMcc(JsonField<List<String>> blockedMcc)Sets Builder.blockedMcc to an arbitrary JSON value. final AuthRule.BuilderaddBlockedMcc(String blockedMcc)Adds a single String to Builder.blockedMcc. final AuthRule.BuildercardTokens(List<String> cardTokens)Array of card_token(s) identifying the cards that the Auth Rule applies to. final AuthRule.BuildercardTokens(JsonField<List<String>> cardTokens)Sets Builder.cardTokens to an arbitrary JSON value. final AuthRule.BuilderaddCardToken(String cardToken)Adds a single String to cardTokens. final AuthRule.BuilderprogramLevel(Boolean programLevel)Boolean indicating whether the Auth Rule is applied at the program level. final AuthRule.BuilderprogramLevel(JsonField<Boolean> programLevel)Sets Builder.programLevel to an arbitrary JSON value. final AuthRule.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final AuthRule.BuilderputAdditionalProperty(String key, JsonValue value)final AuthRule.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final AuthRule.BuilderremoveAdditionalProperty(String key)final AuthRule.BuilderremoveAllAdditionalProperties(Set<String> keys)final AuthRulebuild()Returns an immutable instance of AuthRule. -
-
Method Detail
-
token
final AuthRule.Builder token(String token)
Globally unique identifier.
-
token
final AuthRule.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.
-
state
final AuthRule.Builder state(AuthRule.State state)
Indicates whether the Auth Rule is ACTIVE or INACTIVE
-
state
final AuthRule.Builder state(JsonField<AuthRule.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountTokens
final AuthRule.Builder accountTokens(List<String> accountTokens)
Array of account_token(s) identifying the accounts that the Auth Rule applies to. Note that only this field or
card_tokenscan be provided for a given Auth Rule.
-
accountTokens
final AuthRule.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 AuthRule.Builder addAccountToken(String accountToken)
Adds a single String to accountTokens.
-
allowedCountries
final AuthRule.Builder allowedCountries(List<String> allowedCountries)
Countries in which the Auth Rule permits transactions. Note that Lithic maintains a list of countries in which all transactions are blocked; "allowing" those countries in an Auth Rule does not override the Lithic-wide restrictions.
-
allowedCountries
final AuthRule.Builder allowedCountries(JsonField<List<String>> allowedCountries)
Sets Builder.allowedCountries to an arbitrary JSON value.
You should usually call Builder.allowedCountries with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllowedCountry
final AuthRule.Builder addAllowedCountry(String allowedCountry)
Adds a single String to allowedCountries.
-
allowedMcc
final AuthRule.Builder allowedMcc(List<String> allowedMcc)
Merchant category codes for which the Auth Rule permits transactions.
-
allowedMcc
final AuthRule.Builder allowedMcc(JsonField<List<String>> allowedMcc)
Sets Builder.allowedMcc to an arbitrary JSON value.
You should usually call Builder.allowedMcc with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllowedMcc
final AuthRule.Builder addAllowedMcc(String allowedMcc)
Adds a single String to Builder.allowedMcc.
-
blockedCountries
final AuthRule.Builder blockedCountries(List<String> blockedCountries)
Countries in which the Auth Rule automatically declines transactions.
-
blockedCountries
final AuthRule.Builder blockedCountries(JsonField<List<String>> blockedCountries)
Sets Builder.blockedCountries to an arbitrary JSON value.
You should usually call Builder.blockedCountries with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addBlockedCountry
final AuthRule.Builder addBlockedCountry(String blockedCountry)
Adds a single String to blockedCountries.
-
blockedMcc
final AuthRule.Builder blockedMcc(List<String> blockedMcc)
Merchant category codes for which the Auth Rule automatically declines transactions.
-
blockedMcc
final AuthRule.Builder blockedMcc(JsonField<List<String>> blockedMcc)
Sets Builder.blockedMcc to an arbitrary JSON value.
You should usually call Builder.blockedMcc with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addBlockedMcc
final AuthRule.Builder addBlockedMcc(String blockedMcc)
Adds a single String to Builder.blockedMcc.
-
cardTokens
final AuthRule.Builder cardTokens(List<String> cardTokens)
Array of card_token(s) identifying the cards that the Auth Rule applies to. Note that only this field or
account_tokenscan be provided for a given Auth Rule.
-
cardTokens
final AuthRule.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 AuthRule.Builder addCardToken(String cardToken)
Adds a single String to cardTokens.
-
programLevel
final AuthRule.Builder programLevel(Boolean programLevel)
Boolean indicating whether the Auth Rule is applied at the program level.
-
programLevel
final AuthRule.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.
-
additionalProperties
final AuthRule.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthRule.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthRule.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthRule.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthRule.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-