PenaltyPaymentTests¶
PenaltyPaymentTests is 1. You’ll need to choose a payment category and set required info on the PenaltyPayee. 2. After that just call Approve() and the payment will immediately be ready for release. 3. Then call Save() and the payment is released and the financial transaction is created. 3a. If the payment amount is not able to approve, payment saves to the database awaiting approval. 3a1. Once approved, return to top of bullet 3. Note: If the payment is non-chargeable approval is required. Note: You are not allowed direct access to the PenaltyPayee, use SetPenaltyPayee to set the PenaltyPayee. Note: There can only be one penalty payment for a claim saved to the database at a time and the payment always tries to retrieve the payment when instantiated. Note: You can know whether a payment was saved to the database or a financial transaction was generated by checking the IsDeleted property on that payment upon successful save.* It also exposes test initialize and test delete.
Purpose¶
- Sets up the shared test state needed by those scenarios.*
Context¶
- Namespace:
SAIF.Business.Claim.Payment - Assembly/package:
SAIF.Business.Claim.Payment
Public members¶
| Member | Signature | Purpose |
|---|---|---|
New |
Public Sub New() |
Executes the New operation. |
TestInitialize |
Public Overrides Sub TestInitialize() |
Exposes the public member. |
TestDelete |
Public Sub TestDelete() Implements IDeleteTests.TestDelete |
Exposes the public member. |
TestInsert |
Public Sub TestInsert() Implements IInsertTests.TestInsert |
Exposes the public member. |
TestRetrieve |
Public Sub TestRetrieve() Implements IRetrieveTests.TestRetrieve |
Exposes the public member. |
TestUpdate |
Public Sub TestUpdate() Implements IUpdateTests.TestUpdate |
Exposes the public member. |
TestValidation |
Public Sub TestValidation() |
Exposes the public member. |
TestApproval |
Public Sub TestApproval() |
Exposes the public member. |
TestBusinessRules |
Public Sub TestBusinessRules() |
Exposes the public member. |
TestProviderPaymentAddress |
Public Sub TestProviderPaymentAddress() |
Exposes the public member. |
TestCreateFinancialTrans |
Public Sub TestCreateFinancialTrans() |
Exposes the public member. |
TestBusinessRuleErrorMessagePropogation |
Public Sub TestBusinessRuleErrorMessagePropogation() |
Exposes the public member. |
TestPayeePaymentLimitRules |
Public Sub TestPayeePaymentLimitRules() |
Exposes the public member. |
TestSpecialHandlings |
Public Sub TestSpecialHandlings() |
Exposes the public member. |
TestSpecialStuff |
Public Sub TestSpecialStuff() |
Exposes the public member. |
TestPaymentCategoryOrder |
Public Sub TestPaymentCategoryOrder() |
Exposes the public member. |
TestSpecial |
Public Sub TestSpecial() |
Exposes the public member. |
Behavioral notes¶
- This type is documented from its source declaration.
- The type participates in the
BusinessObjectTestBaseinheritance path used bySAIF.Business.Claim.Payment.
Constraints and usage notes¶
- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.
Sources¶
Business\SAIF.Business.Claim.Payment\SAIF.Business.Claim.Payment.Tests.MbUnit\PenaltyPaymentTests.vb