isPayAsYouGoIntro property
bool
get
isPayAsYouGoIntro
是否为按期付款优惠(Pay As You Go)
满足以下条件则认为是按期付款优惠:
introductoryPaymentMode == "payAsYouGo"isEligibleForIntroOffer == trueintroductoryRoundValue > 0introductoryOfferPrice != null
Implementation
bool get isPayAsYouGoIntro {
if (introductoryPaymentMode != "payAsYouGo") return false;
if (isEligibleForIntroOffer != true) return false;
if ((introductoryRoundValue ?? 0) <= 0) return false;
if (introductoryOfferPrice == null) return false;
return true;
}