Get Started with Revenue Management Developer Resources
Revenue Management Settings
Salesforce Payments Objects in Billing
RulesApplicationErrorResponse Class
RulesApplicationResponse Class
RulesApplicationSummaryResponse Class
Previous Versions
Contains properties to store the response details for the rules application request.
RulesApplicationResponse Constructors
Learn more about the constructors available with the RulesApplicationResponse class.
RulesApplicationResponse Properties
Learn more about the properties available with the RulesApplicationResponse class.
Learn more about the constructors available with the RulesApplicationResponse class.
The RulesApplicationResponse class includes these constructors.
RulesApplicationResponse(isSuccess, appliedRules, rulesApplicationSummary, errors)
Initializes the RulesApplicationResponse class that stores the response details for the rules application request.
Initializes an empty instance of the RulesApplicationResponse class.
Initializes the RulesApplicationResponse class that stores the response details for the rules application request.
public RulesApplicationResponse(Boolean isSuccess, List<String> appliedRules, RulesAppln.RulesApplicationSummaryResponse rulesApplicationSummary, List<RulesAppln.RulesApplicationErrorResponse> errors)
isSuccess
Type: Boolean
Indicates whether the rules are applied (true) or not (false).
appliedRules
Type: List<String>
Comma-delimited list of applied rules.
rulesApplicationSummary
Type: RulesAppln.RulesApplicationSummaryResponse
Details of the rules application that includes these details.
errors
Type: List<RulesAppln.RulesApplicationErrorResponse>
List of error responses that occurred during the rules application.
Initializes an empty instance of the RulesApplicationResponse class.
public RulesApplicationResponse()
Learn more about the properties available with the RulesApplicationResponse class.
The RulesApplicationResponse class includes these properties.
Get the comma-delimited list of rules that were applied.
Get the list of error responses that occurred during the rules application.
Get the boolean value that indicates whether the rules were applied (true) or not (false).
Get the details of the rules application that includes payment and credit memo count for the account, payment and credit memo count that’s applied to invoices or invoice lines, and whether the exact amount rule is applied.
Get the comma-delimited list of rules that were applied.
public List<String> appliedRules {get; set;}
Type: List<String>
Get the list of error responses that occurred during the rules application.
public List<RulesAppln.RulesApplicationErrorResponse> errors {get; set;}
Type: List<RulesAppln.RulesApplicationErrorResponse>
Get the boolean value that indicates whether the rules were applied (true) or not (false).
public Boolean isSuccess {get; set;}
Type: Boolean
Get the details of the rules application that includes payment and credit memo count for the account, payment and credit memo count that’s applied to invoices or invoice lines, and whether the exact amount rule is applied.
public RulesAppln.RulesApplicationSummaryResponse rulesApplicationSummary {get; set;}
Type: RulesAppln.RulesApplicationSummaryResponse