Skip to content

Commit

Permalink
Merge pull request #164 from bloomcredit/php-blankfill
Browse files Browse the repository at this point in the history
feat: php blank filling for collections and debt buyers
  • Loading branch information
adamdecaf authored Sep 7, 2023
2 parents 8f83800 + 4024eec commit cf0c63d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/lib/base_segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ func (r *BaseSegment) ValidatePaymentHistoryProfile() error {
PaymentHistoryPast120, PaymentHistoryPast150, PaymentHistoryPast180, PaymentHistoryNoPayment,
PaymentHistoryNoPaymentMonth, PaymentHistoryZero, PaymentHistoryCollection,
PaymentHistoryForeclosureCompleted, PaymentHistoryVoluntarySurrender, PaymentHistoryRepossession,
PaymentHistoryChargeOff, PaymentHistoryTooNew:
PaymentHistoryChargeOff, PaymentHistoryTooNew, PaymentHistoryNoHistory:
continue
}
return utils.NewErrInvalidValueOfField("payment history profile", "base segment")
Expand Down Expand Up @@ -1329,7 +1329,7 @@ func (r *PackedBaseSegment) ValidatePaymentHistoryProfile() error {
PaymentHistoryPast120, PaymentHistoryPast150, PaymentHistoryPast180, PaymentHistoryNoPayment,
PaymentHistoryNoPaymentMonth, PaymentHistoryZero, PaymentHistoryCollection,
PaymentHistoryForeclosureCompleted, PaymentHistoryVoluntarySurrender, PaymentHistoryRepossession,
PaymentHistoryChargeOff:
PaymentHistoryChargeOff, PaymentHistoryNoHistory:
continue
}
return utils.NewErrInvalidValueOfField("payment history profile", "packed base segment")
Expand Down
2 changes: 2 additions & 0 deletions pkg/lib/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ const (
PaymentHistoryChargeOff = 'L'
// consecutive payment activity, Too new to rate
PaymentHistoryTooNew = 'Z'
// consecutive payment activity, No payment history available prior to this time (collections and debt payer)
PaymentHistoryNoHistory = ' '
// status code that properly identifies the current condition of the account, "DF"
AccountStatusDF = "DF"
// status code that properly identifies the current condition of the account, "DA"
Expand Down

0 comments on commit cf0c63d

Please sign in to comment.