PromotionsResource class

Constructors

PromotionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(Promotion request, String merchantId, {String? $fields}) Future<Promotion>
Inserts a promotion for your Merchant Center account.
get(String merchantId, String id, {String? $fields}) Future<Promotion>
Retrieves a promotion from your Merchant Center account.
list(String merchantId, {String? countryCode, String? languageCode, int? pageSize, String? pageToken, String? $fields}) Future<ListPromotionResponse>
List all promotions from your Merchant Center account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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