Package-level declarations
Types
The campaign draw info contains the draw date, the list of bundle numbers and the campaignDrawResult. The campaignDrawResult is only available when the drawing was completed.
The campaign draw result contains the totalWinAmount, totalPlayerWinAmount and the list of prizes. TotalWinAmount, totalPlayerWinAmount and prizes will indicate if there is any prizes won on this campaign.
CampaignGame contains the drawDate and name of the campaign, the prize is available if campaign has been won on this coupon.
The Coupon contains all information of a number games Coupon like Lotto, keno, etc.
The DrawInfo contains all information of a drawing. Number, date, status, bundle and drawResult. DrawResult is only available if the result of the drawing is known else it will be null.
The draw result contains a list of drawNumbers, a list of drawExtraNumbers, the totalWinAmount and the list of prizes. The winning numbers, can be checked against the row numbers. TotalWinAmount, totalPlayerWinAmount and prizes will indicate if there are any prizes won on this coupon
Prize is a prize won, and it contains the amount, playerAmount, name, count, state, this indicates if the prize is available, expired or paid out, type, this indicates if the prize is in Cash or a physical form of Merchandise, bundle, this indicates what bundle the prize is associated with, (The prize bundle will only be important for campaignGame draws with multiple bundles)
TemporaryGroupCouponCampaignGame contains the name, number and bundles of the campaign.