OfferCodeImpl has variable 'maxUses'. But I do not see it used anywhere.
OfferImpl has variable 'maxUsesPerCustomer', this is used to check for max number of uses
Code: Select all
@Column(name = "MAX_USES")
@AdminPresentation(friendlyName="Code Max Uses", order=2, group="Description", prominent=true)
protected int maxUses;
Code: Select all
@Column(name = "MAX_USES_PER_CUSTOMER")
@AdminPresentation(friendlyName="Max Uses Per Customer", order=7, group="Description", groupOrder=1)
protected Long maxUsesPerCustomer;
Please advise I am little confused understanding these.