PostRule

Type:  Struct
Abstract:  no
Status:  Active
Java Class:  PostRule
Set of rules to validate AVS/CSC response codes
id
References: Post Rule.Id
XML Representation: attribute
Attributes:
Default Value
Identifier of the object used for references; auto-incremented integer value.

System identifier of a merchant.
isActive
References: Post Rule.Is Active
XML Representation: attribute
Attributes:
Default Value
Indicates whether the post-processing rule is active within the system.

Indicates whether the rule is active within the system.
The values can be the following:
'true' - the rule is active
'false' - the rule is inactive
avsCodeList
References: Post Rule.AVS Code List
XML Representation: attribute
Attributes:
Default Value
List of transactions' AVS response codes applicable for a particular post-processing rule.

AVS codes list included in verify condition.
cscCodeList
References: Post Rule.CSC Code List
XML Representation: attribute
Attributes:
Default Value
List of transactions' CSC response codes applicable for a particular post-processing rule.

CSC codes list included in verify condition. The values can be the following:
'M' - matches
'N' - not matches
'P' - not processed
'S' - should be present
'X' - unrecognized reason
'U' - issuer is not certified
operatorType
References: Post Rule.Rule Operator CL
XML Representation: attribute
Attributes:
Default Value
Enumerates possible values of the amount of the transaction applicable for a particular post-processing rule.

Type of operator used to estimate amount value.
actionType
References: Post Rule.Rule Action CL
XML Representation: attribute
Attributes:
Default Value
Enumerates possible values of further behavior after a post-processing rule was applied to the transaction. It can be either accepted of declined.

Result action of the post-processing rule. The values can be the following:
'A' - accept the transaction
'R' - reject the transaction
amount
References: Post Rule.Amount
XML Representation: attribute
Attributes:
Default Value
The amount of the transaction. The value must be supplied in cents without a decimal point.

Amount value for compare validation condition.
userMessage
References: Post Rule.User Message
XML Representation: attribute
Attributes:
Default Value
Responce message that will be shown to a customer in case if the transaction was declined by the post-processing rule.

Message with additional information sent with post-processing validation result. Used in case if Action value is Reject.
priority
Type: Integer
XML Representation: attribute
Attributes:
Default Value
Priority of the post-processing rule.

XML Sample:

<post-rule id="2000"  isActive="true"  avsCodeList="73"  cscCodeList="N"  operatorType="NU"  actionType="A"  amount="100"  userMessage="Test post-rule message" />

"<post-rule id=\"2000\" isActive=\"true\" avsCodeList=\"73\" cscCodeList=\"N\" operatorType=\"NU\" actionType=\"A\" amount=\"100\" userMessage=\"Test post-rule message\" />"

JSON Sample:

{
  "id": "2000",
  "isActive": true,
  "avsCodeList": "73",
  "cscCodeList": "N",
  "operatorType": "NU",
  "actionType": "A",
  "amount": "100",
  "userMessage": "Test post-rule message"
}

XURL Sample:

?id=2000&isActive=true&avsCodeList=73&cscCodeList=N&operatorType=NU&actionType=A&amount=100&userMessage=Test+post-rule+message&
id=2000
isActive=true
avsCodeList=73
cscCodeList=N
operatorType=NU
actionType=A
amount=100
userMessage=Test post-rule message