enums/promotions/promotion_discount_usage_trigger library

Enums

PromotionDiscountUsageTrigger
This is defining an enum called PromotionDiscountUsageTrigger with two possible values: transaction and redeem. Each value is associated with a string value ('TRANSACTION' and 'REDEEM' respectively). The enum also has a constructor that takes a string parameter and a method getPromotionDiscountUsageTriggerFromString that returns the corresponding enum value based on a given string input. There is also a method promotionDiscountUsageTriggerAsString that returns the string value associated with the enum value.