Calculate Expiry - getExpiryInfo()

Get Started. It's Free
or sign up with your email address
Calculate Expiry - getExpiryInfo() by Mind Map: Calculate Expiry - getExpiryInfo()

1. PreCalculate Expiry by Token amount

2. Next Task Deadline limit

2.1. Add Task

3. calculatePipelineDateForContract

4. No

4.1. is Active RQ?

4.1.1. Update Contract Expiry - updateTokenExpiry()

4.1.1.1. Add Payment

4.1.1.2. Edit Payment

4.1.1.3. Dequeue RQ

4.1.1.4. Add Task

4.1.1.5. Deal Price Update

4.1.1.6. Discount applied

4.1.1.7. shouldUpdateContractExpiry()? PDP/CDP/customRules updated?

4.1.1.7.1. updateContractsExpiryAndVersion()

4.2. Yes

5. Contract Exists?

5.1. **Yes** - getExistingContractExpiryInfo()

5.2. **No** - getNonExistentContractExpiryInfo()

5.2.1. calculateExpiry()

5.2.1.1. checkBlockedUserForListing()

5.2.1.1.1. Sale Event?