public class CRMBOSpendRequestCustomerEventBean extends CRMBOCustomerEventBean
| Constructor and Description |
|---|
CRMBOSpendRequestCustomerEventBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
anonymizeContactCustomerEvents(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Anonymizes the given contact information customer events
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a spend request customer event.
|
java.math.BigDecimal |
getMaxSpendRequestAmounts(com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.SpendRequestRule spendRequestRule) |
java.math.BigDecimal |
getMinSpendRequestAmounts(com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.SpendRequestRule spendRequestRule) |
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
Loads a spend request customer event that is created instantly by a purchase customer event.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent) |
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.util.ArrayList<java.lang.String> associations)
Loads a list of spend request customer events based on a number of criteria.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
Loads a list of spend request customer events based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
load(java.lang.String id,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
Loads a spend request customer event by the given criteria
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.lang.Boolean refersToArchivedEntity,
java.util.Date submitted_after_date,
java.util.Date submitted_before_date,
java.util.ArrayList<java.lang.String> associations)
Loads a list of spend request customer events based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadAdditionalInformation(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent) |
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByAutomaticSpend(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
Loads a spend request customer event that is created automatically by a purchase customer event.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByExternalSystemReferenceNumber(java.lang.String externalSystemReferenceNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a spend request customer event by an external system reference number.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByInstantSpend(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
Loads a spend request customer event that is created instantly by a purchase customer event.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByNumber(java.lang.String number)
Loads a spend request customer event by a number.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByNumber(java.lang.String number,
java.util.ArrayList<java.lang.String> associations)
Loads a spend request customer event by a number.
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
loadByNumber(java.lang.String number,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
Loads a spend request customer event by a number.
|
java.lang.Boolean |
loadRestrictedSpendRequests(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
load all the existing spend requests that has been already applied on a specified purchase customer event
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
setEventAccount(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
Sets the Accounts Receivable of the spend request customer event
|
com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent |
setSpendRequestSpendAmount(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
Calculates the given spend request customer event's spend amount based on the related purchase customer event
|
void |
validateParticipantParticipatesInMerchantsScheme(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
Validates that if the Block Spend Events of Rewards Participants Not Participating in Any of the Merchant's Reward Schemes is enabled, the participant participates in the merchant's schemes,
else the spend customer event is not submitted
|
applyPaymentMediumBrandAutomationRules, applyPaymentMediumIdentifierAutomationRules, applyPaymentMediumTypeAutomationRules, cancel, construct, isProcessImmediately, validateOnCancel, validateUniquenessconstruct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, isAssignable, load, load, load, load, load, load, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, loadAllEntityStatusDO, loadAllEntityStatusDO, loadDataObject, loadDataObject, loadDataObject, loadDataObjects, loadDataObjects, loadEntityCategoryDO, loadEntityCategoryDO, loadEntityDO, loadEntityDO, loadEntityStatusDO, loadEntityStatusDO, parseAssociations, parseAssociations, parseAssociations, save, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateApprovalRequestEntity, validateFormatSettings, validateFormatSettings, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSavedeepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic java.lang.Boolean loadRestrictedSpendRequests(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
throws java.lang.Exception
spendRequestCustomerEvent - java.lang.Exceptionpublic void validateParticipantParticipatesInMerchantsScheme(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
throws java.lang.Exception
spendRequestCustomerEvent - - the spend request customer event to validatejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent setEventAccount(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
throws java.lang.Exception
spendRequestCustomerEvent - - the spend request customer eventjava.lang.Exceptionpublic java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOCustomerEventBeanpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent load(java.lang.String id,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
id - - the spend request customer event idrefersToArchivedEntity - - defines if the spend request customer event to load should refer to an archived entityassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByNumber(java.lang.String number)
throws java.lang.Exception
number - - the number of the spend request customer event to loadjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByNumber(java.lang.String number,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
number - - the number of the spend request customer event to loadassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByNumber(java.lang.String number,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
number - - the number of the spend request customer event to loadrefersToArchivedEntity - associations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByExternalSystemReferenceNumber(java.lang.String externalSystemReferenceNumber,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
externalSystemReferenceNumber - - the number of the spend request customer event to loadassociations - - a list of associated data objectsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
participant - - the Rewards Participant of the spend request customer eventaccountReceivable - - the Accounts Receivable of the participant of the spend request customer eventclassification - - the customer event classification of the spend request customer eventpurchaseCustomerEvent - - the purchase customer event of the spend request customer eventassociations - - the associations related to the spend request customer eventjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.lang.Boolean refersToArchivedEntity,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
participant - - the Rewards Participant of the spend request customer eventaccountReceivable - - the Accounts Receivable of the participant of the spend request customer eventclassification - - the customer event classification of the spend request customer eventrefersToArchivedEntity - - whether it refers to an archived entitypurchaseCustomerEvent - - the purchase customer event of the spend request customer eventassociations - - the associations related to the spend request customer eventjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.CRMDOCustomerEventClassification classification,
com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent,
java.lang.Boolean refersToArchivedEntity,
java.util.Date submitted_after_date,
java.util.Date submitted_before_date,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
orderBy - - the ordering fieldnumberOfResults - - the number of charges to loadoffset - - how many results to skip (pagination)participant - - the Rewards Participant of the spend request customer eventaccountReceivable - - the Accounts Receivable of the participant of the spend request customer eventclassification - - the customer event classification of the spend request customer eventrefersToArchivedEntity - - whether it refers to an archived entitypurchaseCustomerEvent - - the purchase customer event of the spend request customer eventsubmitted_after_date - - customer events that was submitted after the specified date should be retrievedsubmitted_before_date - - customer events that was submitted before the specified date should be retrievedassociations - - the associations related to the spend request customer eventjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadAdditionalInformation(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByInstantSpend(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
throws java.lang.Exception
purchaseCustomerEvent - - the purchase customer event that instantly created the spend request customer eventjava.lang.Exceptionpublic java.math.BigDecimal getMinSpendRequestAmounts(com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.SpendRequestRule spendRequestRule)
throws com.crm.exception.DAOException,
java.lang.Exception
com.crm.exception.DAOExceptionjava.lang.Exceptionpublic java.math.BigDecimal getMaxSpendRequestAmounts(com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant,
com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.SpendRequestRule spendRequestRule)
throws com.crm.exception.DAOException,
java.lang.Exception
com.crm.exception.DAOExceptionjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent loadByAutomaticSpend(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
throws java.lang.Exception
purchaseCustomerEvent - - the purchase customer event that automatically created the spend request customer eventjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDOPurchaseCustomerEvent purchaseCustomerEvent)
throws java.lang.Exception
purchaseCustomerEvent - - the purchase customer event that instantly created the spend request customer eventjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent setSpendRequestSpendAmount(com.crm.dataobject.rewards.CRMDOSpendRequestCustomerEvent spendRequestCustomerEvent)
throws com.crm.exception.rewards.InvalidSpendRequestAmountException,
java.lang.Exception
spendRequestCustomerEvent - - the spend request customer event to calculate the amount forcom.crm.exception.rewards.InvalidSpendRequestAmountExceptionjava.lang.Exceptionpublic void anonymizeContactCustomerEvents(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
throws java.lang.Exception
contact - - the contact information to anonymize its customer eventsjava.lang.Exception