PromotionsResource class Null safety

Constructors

PromotionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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