Class AuthRule
-
- All Implemented Interfaces:
public final class AuthRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthRule.BuilderA builder for AuthRule.
public final classAuthRule.StateIndicates whether the Auth Rule is ACTIVE or INACTIVE
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier. final AuthRule.Statestate()Indicates whether the Auth Rule is ACTIVE or INACTIVE final Optional<List<String>>accountTokens()Array of account_token(s) identifying the accounts that the Auth Rule applies to. final Optional<List<String>>allowedCountries()Countries in which the Auth Rule permits transactions. final Optional<List<String>>allowedMcc()Merchant category codes for which the Auth Rule permits transactions. final Optional<List<String>>blockedCountries()Countries in which the Auth Rule automatically declines transactions. final Optional<List<String>>blockedMcc()Merchant category codes for which the Auth Rule automatically declines transactions. final Optional<List<String>>cardTokens()Array of card_token(s) identifying the cards that the Auth Rule applies to. final Optional<Boolean>programLevel()Boolean indicating whether the Auth Rule is applied at the program level. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<AuthRule.State>_state()Returns the raw JSON value of state. final JsonField<List<String>>_accountTokens()Returns the raw JSON value of accountTokens. final JsonField<List<String>>_allowedCountries()Returns the raw JSON value of allowedCountries. final JsonField<List<String>>_allowedMcc()Returns the raw JSON value of allowedMcc. final JsonField<List<String>>_blockedCountries()Returns the raw JSON value of blockedCountries. final JsonField<List<String>>_blockedMcc()Returns the raw JSON value of blockedMcc. final JsonField<List<String>>_cardTokens()Returns the raw JSON value of cardTokens. final JsonField<Boolean>_programLevel()Returns the raw JSON value of programLevel. final Map<String, JsonValue>_additionalProperties()final AuthRule.BuildertoBuilder()final AuthRulevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuthRule.Builderbuilder()Returns a mutable builder for constructing an instance of AuthRule. -
-
Method Detail
-
state
final AuthRule.State state()
Indicates whether the Auth Rule is ACTIVE or INACTIVE
-
accountTokens
final Optional<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.
-
allowedCountries
final Optional<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.
-
allowedMcc
final Optional<List<String>> allowedMcc()
Merchant category codes for which the Auth Rule permits transactions.
-
blockedCountries
final Optional<List<String>> blockedCountries()
Countries in which the Auth Rule automatically declines transactions.
-
blockedMcc
final Optional<List<String>> blockedMcc()
Merchant category codes for which the Auth Rule automatically declines transactions.
-
cardTokens
final Optional<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.
-
programLevel
final Optional<Boolean> programLevel()
Boolean indicating whether the Auth Rule is applied at the program level.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<AuthRule.State> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_accountTokens
final JsonField<List<String>> _accountTokens()
Returns the raw JSON value of accountTokens.
Unlike accountTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_allowedCountries
final JsonField<List<String>> _allowedCountries()
Returns the raw JSON value of allowedCountries.
Unlike allowedCountries, this method doesn't throw if the JSON field has an unexpected type.
-
_allowedMcc
final JsonField<List<String>> _allowedMcc()
Returns the raw JSON value of allowedMcc.
Unlike allowedMcc, this method doesn't throw if the JSON field has an unexpected type.
-
_blockedCountries
final JsonField<List<String>> _blockedCountries()
Returns the raw JSON value of blockedCountries.
Unlike blockedCountries, this method doesn't throw if the JSON field has an unexpected type.
-
_blockedMcc
final JsonField<List<String>> _blockedMcc()
Returns the raw JSON value of blockedMcc.
Unlike blockedMcc, this method doesn't throw if the JSON field has an unexpected type.
-
_cardTokens
final JsonField<List<String>> _cardTokens()
Returns the raw JSON value of cardTokens.
Unlike cardTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_programLevel
final JsonField<Boolean> _programLevel()
Returns the raw JSON value of programLevel.
Unlike programLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AuthRule.Builder toBuilder()
-
builder
final static AuthRule.Builder builder()
Returns a mutable builder for constructing an instance of AuthRule.
The following fields are required:
.token() .state()
-
-
-
-