Class Transaction.TransactionEvent.RuleResult.Builder
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent.RuleResult.BuilderA builder for RuleResult.
-
-
Method Summary
-
-
Method Detail
-
authRuleToken
final Transaction.TransactionEvent.RuleResult.Builder authRuleToken(String authRuleToken)
The Auth Rule Token associated with the rule from which the decline originated. If this is set to null, then the decline was not associated with a customer-configured Auth Rule. This may happen in cases where a transaction is declined due to a Lithic-configured security or compliance rule, for example.
-
authRuleToken
final Transaction.TransactionEvent.RuleResult.Builder authRuleToken(Optional<String> authRuleToken)
Alias for calling Builder.authRuleToken with
authRuleToken.orElse(null).
-
authRuleToken
final Transaction.TransactionEvent.RuleResult.Builder authRuleToken(JsonField<String> authRuleToken)
Sets Builder.authRuleToken to an arbitrary JSON value.
You should usually call Builder.authRuleToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
explanation
final Transaction.TransactionEvent.RuleResult.Builder explanation(String explanation)
A human-readable explanation outlining the motivation for the rule's decline.
-
explanation
final Transaction.TransactionEvent.RuleResult.Builder explanation(Optional<String> explanation)
Alias for calling Builder.explanation with
explanation.orElse(null).
-
explanation
final Transaction.TransactionEvent.RuleResult.Builder explanation(JsonField<String> explanation)
Sets Builder.explanation to an arbitrary JSON value.
You should usually call Builder.explanation with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final Transaction.TransactionEvent.RuleResult.Builder name(String name)
The name for the rule, if any was configured.
-
name
final Transaction.TransactionEvent.RuleResult.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final Transaction.TransactionEvent.RuleResult.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.
-
result
final Transaction.TransactionEvent.RuleResult.Builder result(Transaction.TransactionEvent.RuleResult.DetailedResult result)
The detailed_result associated with this rule's decline.
-
result
final Transaction.TransactionEvent.RuleResult.Builder result(JsonField<Transaction.TransactionEvent.RuleResult.DetailedResult> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed DetailedResult value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Transaction.TransactionEvent.RuleResult.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Transaction.TransactionEvent.RuleResult.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Transaction.TransactionEvent.RuleResult.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Transaction.TransactionEvent.RuleResult.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Transaction.TransactionEvent.RuleResult.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Transaction.TransactionEvent.RuleResult build()
Returns an immutable instance of RuleResult.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.authRuleToken() .explanation() .name() .result()
-
-
-
-