hasOffer method

bool hasOffer()

Implementation

bool hasOffer() {
    SGOfferPhase? offer = offerPhases?.firstOrNull;
    if (offer != null && offer.discountedLocalisedPrice != null) {
      return true;
    } else {
      return false;
    }
}