Class AuthRuleCondition
-
- All Implemented Interfaces:
public final class AuthRuleCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthRuleCondition.BuilderA builder for AuthRuleCondition.
public final classAuthRuleCondition.OperationThe operation to apply to the attribute
public final classAuthRuleCondition.ValueA regex string, to be used with
MATCHESorDOES_NOT_MATCH
-
Method Summary
Modifier and Type Method Description final Optional<ConditionalAttribute>attribute()The attribute to target. final Optional<AuthRuleCondition.Operation>operation()The operation to apply to the attribute final Optional<AuthRuleCondition.Value>value()A regex string, to be used with MATCHESorDOES_NOT_MATCHfinal JsonField<ConditionalAttribute>_attribute()The attribute to target. final JsonField<AuthRuleCondition.Operation>_operation()The operation to apply to the attribute final JsonField<AuthRuleCondition.Value>_value()A regex string, to be used with MATCHESorDOES_NOT_MATCHfinal Map<String, JsonValue>_additionalProperties()final AuthRuleConditionvalidate()final AuthRuleCondition.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuthRuleCondition.Builderbuilder()Returns a mutable builder for constructing an instance of AuthRuleCondition. -
-
Method Detail
-
attribute
final Optional<ConditionalAttribute> attribute()
The attribute to target.
The following attributes may be targeted:
MCC: A four-digit number listed in ISO 18245. An MCC is used to classify a business by the types of goods or services it provides.COUNTRY: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.CURRENCY: 3-character alphabetic ISO 4217 code for the merchant currency of the transaction.MERCHANT_ID: Unique alphanumeric identifier for the payment card acceptor (merchant).DESCRIPTOR: Short description of card acceptor.LIABILITY_SHIFT: Indicates whether chargeback liability shift to the issuer applies to the transaction. Valid values areNONE,3DS_AUTHENTICATED, orTOKEN_AUTHENTICATED.PAN_ENTRY_MODE: The method by which the cardholder's primary account number (PAN) was entered. Valid values areAUTO_ENTRY,BAR_CODE,CONTACTLESS,ECOMMERCE,ERROR_KEYED,ERROR_MAGNETIC_STRIPE,ICC,KEY_ENTERED,MAGNETIC_STRIPE,MANUAL,OCR,SECURE_CARDLESS,UNSPECIFIED,UNKNOWN,CREDENTIAL_ON_FILE, orECOMMERCE.TRANSACTION_AMOUNT: The base transaction amount (in cents) plus the acquirer fee field in the settlement/cardholder billing currency. This is the amount the issuer should authorize against unless the issuer is paying the acquirer fee on behalf of the cardholder.RISK_SCORE: Network-provided score assessing risk level associated with a given authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999 representing the highest risk. For Visa transactions, where the raw score has a range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.CARD_TRANSACTION_COUNT_1H: The number of transactions on the card in the trailing hour up and until the authorization.CARD_TRANSACTION_COUNT_24H: The number of transactions on the card in the trailing 24 hours up and until the authorization.CARD_STATE: The current state of the card associated with the transaction. Valid values areCLOSED,OPEN,PAUSED,PENDING_ACTIVATION,PENDING_FULFILLMENT.
-
operation
final Optional<AuthRuleCondition.Operation> operation()
The operation to apply to the attribute
-
value
final Optional<AuthRuleCondition.Value> value()
A regex string, to be used with
MATCHESorDOES_NOT_MATCH
-
_attribute
final JsonField<ConditionalAttribute> _attribute()
The attribute to target.
The following attributes may be targeted:
MCC: A four-digit number listed in ISO 18245. An MCC is used to classify a business by the types of goods or services it provides.COUNTRY: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.CURRENCY: 3-character alphabetic ISO 4217 code for the merchant currency of the transaction.MERCHANT_ID: Unique alphanumeric identifier for the payment card acceptor (merchant).DESCRIPTOR: Short description of card acceptor.LIABILITY_SHIFT: Indicates whether chargeback liability shift to the issuer applies to the transaction. Valid values areNONE,3DS_AUTHENTICATED, orTOKEN_AUTHENTICATED.PAN_ENTRY_MODE: The method by which the cardholder's primary account number (PAN) was entered. Valid values areAUTO_ENTRY,BAR_CODE,CONTACTLESS,ECOMMERCE,ERROR_KEYED,ERROR_MAGNETIC_STRIPE,ICC,KEY_ENTERED,MAGNETIC_STRIPE,MANUAL,OCR,SECURE_CARDLESS,UNSPECIFIED,UNKNOWN,CREDENTIAL_ON_FILE, orECOMMERCE.TRANSACTION_AMOUNT: The base transaction amount (in cents) plus the acquirer fee field in the settlement/cardholder billing currency. This is the amount the issuer should authorize against unless the issuer is paying the acquirer fee on behalf of the cardholder.RISK_SCORE: Network-provided score assessing risk level associated with a given authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999 representing the highest risk. For Visa transactions, where the raw score has a range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.CARD_TRANSACTION_COUNT_1H: The number of transactions on the card in the trailing hour up and until the authorization.CARD_TRANSACTION_COUNT_24H: The number of transactions on the card in the trailing 24 hours up and until the authorization.CARD_STATE: The current state of the card associated with the transaction. Valid values areCLOSED,OPEN,PAUSED,PENDING_ACTIVATION,PENDING_FULFILLMENT.
-
_operation
final JsonField<AuthRuleCondition.Operation> _operation()
The operation to apply to the attribute
-
_value
final JsonField<AuthRuleCondition.Value> _value()
A regex string, to be used with
MATCHESorDOES_NOT_MATCH
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final AuthRuleCondition validate()
-
toBuilder
final AuthRuleCondition.Builder toBuilder()
-
builder
final static AuthRuleCondition.Builder builder()
Returns a mutable builder for constructing an instance of AuthRuleCondition.
-
-
-
-