lob-java icon indicating copy to clipboard operation
lob-java copied to clipboard

Documented enum values missing as models

Open jonchay opened this issue 2 years ago • 2 comments

These enums would be useful for strict comparison when webhook events are received:

https://github.com/lob/lob-java/blob/main/docs/CheckTypes.md

Is it possible to expose them?

jonchay avatar Jun 30 '23 01:06 jonchay

Hi @jonchay could these be useful for your case? https://github.com/lob/lob-java/blob/main/src/main/java/com/lob/model/TrackingEventNormal.java#L107

senechko avatar Jul 03 '23 17:07 senechko

Thanks for the response @senechko , it looks like TrackingEventNormal are returned by retrieving resources with tracking_event property. (E.g. Letters, Checks)

The tracking enum I was referring to comes from webhooks events and uses different enum values.

jonchay avatar Jul 03 '23 20:07 jonchay