AccountRelationship class

The AccountRelationship message defines a formal connection between a merchant's account and a service provider's account.

This relationship enables the provider to offer specific services to the business, such as product management or campaign management. It specifies the access rights and permissions to the business's data relevant to those services. Establishing an account relationship involves linking the merchant's account with a provider's account. The provider could be another Google account (like Google Ads or Google My Business) or a third-party platform (such as Shopify or WooCommerce).

Constructors

AccountRelationship.new({String? accountIdAlias, String? name, String? provider, String? providerDisplayName})
AccountRelationship.fromJson(Map json_)

Properties

accountIdAlias String?
An optional alias you can assign to this account relationship.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Identifier.
getter/setter pair
provider String?
The provider of the service.
getter/setter pair
providerDisplayName String?
The human-readable display name of the provider account.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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