Class PaymentValidationProperties
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.PaymentValidationProperties
@ConfigurationProperties("broadleaf.paymenttransaction.validation")
public class PaymentValidationProperties
extends Object
Configuration properties for payment validation.
- Since:
- Payment Transaction Service 2.0.9, Release Train 2.2.2, Payment Transaction Service 2.0.9, Release Train 2.1.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA map of owner-type to boolean that indicates if validation should happen to prevent creation of payment when there is already a payment with such owner-type and owner-id with theDefaultPaymentManagementAccessRestrictions.CUSTOMER_MUTABILITY_BLOCKEDrestriction.voidsetCustomerMutabilityBlockedCreateCheck(org.apache.commons.collections4.map.CaseInsensitiveMap<String, Boolean> customerMutabilityBlockedCreateCheck) A map of owner-type to boolean that indicates if validation should happen to prevent creation of payment when there is already a payment with such owner-type and owner-id with theDefaultPaymentManagementAccessRestrictions.CUSTOMER_MUTABILITY_BLOCKEDrestriction.
-
Constructor Details
-
PaymentValidationProperties
public PaymentValidationProperties()
-
-
Method Details
-
getCustomerMutabilityBlockedCreateCheck
public org.apache.commons.collections4.map.CaseInsensitiveMap<String,Boolean> getCustomerMutabilityBlockedCreateCheck()A map of owner-type to boolean that indicates if validation should happen to prevent creation of payment when there is already a payment with such owner-type and owner-id with theDefaultPaymentManagementAccessRestrictions.CUSTOMER_MUTABILITY_BLOCKEDrestriction. -
setCustomerMutabilityBlockedCreateCheck
public void setCustomerMutabilityBlockedCreateCheck(org.apache.commons.collections4.map.CaseInsensitiveMap<String, Boolean> customerMutabilityBlockedCreateCheck) A map of owner-type to boolean that indicates if validation should happen to prevent creation of payment when there is already a payment with such owner-type and owner-id with theDefaultPaymentManagementAccessRestrictions.CUSTOMER_MUTABILITY_BLOCKEDrestriction.
-