GoogleAdsSearchads360V23CommonPromotionAsset class

A Promotion asset.

Constructors

GoogleAdsSearchads360V23CommonPromotionAsset({List<GoogleAdsSearchads360V23CommonAdScheduleInfo>? adScheduleTargets, String? discountModifier, String? endDate, String? languageCode, GoogleAdsSearchads360V23CommonMoney? moneyAmountOff, String? occasion, GoogleAdsSearchads360V23CommonMoney? ordersOverAmount, String? percentOff, GoogleAdsSearchads360V23CommonPromotionBarcodeInfo? promotionBarcodeInfo, String? promotionCode, GoogleAdsSearchads360V23CommonPromotionQrCodeInfo? promotionQrCodeInfo, String? promotionTarget, String? redemptionEndDate, String? redemptionStartDate, String? startDate, String? termsAndConditionsText, String? termsAndConditionsUri})
GoogleAdsSearchads360V23CommonPromotionAsset.fromJson(Map json_)

Properties

adScheduleTargets List<GoogleAdsSearchads360V23CommonAdScheduleInfo>?
List of non-overlapping schedules specifying all time intervals for which the asset may serve.
getter/setter pair
discountModifier String?
A modifier for qualification of the discount. Possible string values are:
getter/setter pair
endDate String?
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
The language of the promotion.
getter/setter pair
moneyAmountOff GoogleAdsSearchads360V23CommonMoney?
Money amount off for discount in the promotion.
getter/setter pair
occasion String?
The occasion the promotion was intended for.
getter/setter pair
ordersOverAmount GoogleAdsSearchads360V23CommonMoney?
The amount the total order needs to be for the user to be eligible for the promotion.
getter/setter pair
percentOff String?
Percentage off discount in the promotion.
getter/setter pair
promotionBarcodeInfo GoogleAdsSearchads360V23CommonPromotionBarcodeInfo?
Barcode info used to generate promotion barcode for user to be eligible for the promotion.
getter/setter pair
promotionCode String?
A code the user should use in order to be eligible for the promotion.
getter/setter pair
promotionQrCodeInfo GoogleAdsSearchads360V23CommonPromotionQrCodeInfo?
QR code info used to generate promotion QR code for user to be eligible for the promotion.
getter/setter pair
promotionTarget String?
A freeform description of what the promotion is targeting.
getter/setter pair
redemptionEndDate String?
Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
getter/setter pair
redemptionStartDate String?
Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate String?
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
getter/setter pair
termsAndConditionsText String?
Terms and conditions of the promotion.
getter/setter pair
termsAndConditionsUri String?
URI to the terms and conditions of the promotion.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited