Program class
Defines participation in a given program for the specified account.
Programs provide a mechanism for adding functionality to a Merchant Center
accounts. A typical example of this is the
Free product listings
program, which enables products from a business's store to be shown across
Google for free. The following list is the available set of program resource
IDs accessible through the API: *
[checkout](https://developers.google.com/merchant/api/guides/products/checkout-settings)
free-listings* [loyalty](https://developers.google.com/merchant/api/guides/loyalty/loyalty-programs)product-ratings*shopping-ads* [ucp-integration(limited access)](https://developers.google.com/merchant/api/reference/rest/accounts_v1alpha/accounts.programs.ucpSettings)
[youtube-affiliate](https://support.google.com/merchants/answer/14815513)
youtube-shopping-checkout
Constructors
-
Program({List<
String> ? activeRegionCodes, String? documentationUri, String? name, String? state, List<Requirement> ? unmetRequirements}) - Program.fromJson(Map json_)
Properties
-
activeRegionCodes
↔ List<
String> ? -
The regions in which the account is actively participating in the program.
getter/setter pair
- documentationUri ↔ String?
-
The URL of a Merchant Center help page describing the program.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Identifier.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The participation state of the account in the program.
getter/setter pair
-
unmetRequirements
↔ List<
Requirement> ? -
The requirements that the account has not yet satisfied that are affecting
participation in the program.
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