Interface DiscountCodeResourceIdentifier

All Superinterfaces:
Identifiable<DiscountCode>, ResourceIdentifier, WithKey

public interface DiscountCodeResourceIdentifier extends ResourceIdentifier, Identifiable<DiscountCode>

ResourceIdentifier to a DiscountCode. Either id or key is required. If both are set, an InvalidJsonInput error is returned.


Example to create an instance using the builder pattern

     DiscountCodeResourceIdentifier discountCodeResourceIdentifier = DiscountCodeResourceIdentifier.builder()
             .build()