TermsOfServiceAgreementState class
This resource represents the agreement state for a given account and terms of service kind.
The state is as follows: * If the business has accepted a terms of service,
accepted
will be populated, otherwise it will be empty * If the business
must sign a terms of service, required
will be populated, otherwise it
will be empty. Note that both required
and accepted
can be present. In
this case the accepted
terms of services will have an expiration date set
in the valid_until
field. The required
terms of services need to be
accepted before valid_until
in order for the account to continue having a
valid agreement. When accepting new terms of services we expect third-party
providers to display the text associated with the given terms of service
agreement (the url to the file containing the text is added in the Required
message below as tos_file_uri
). The actual acceptance of the terms of
service is done by calling accept on the TermsOfService
resource.
valid_until
field.
Constructors
- TermsOfServiceAgreementState.new({Accepted? accepted, String? name, String? regionCode, Required? required, String? termsOfServiceKind})
- TermsOfServiceAgreementState.fromJson(Map json_)
Properties
- accepted ↔ Accepted?
-
The accepted terms of service of this kind and for the associated
region_code
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Identifier.
getter/setter pair
- regionCode ↔ String?
-
Region code as defined by https://cldr.unicode.org/.
getter/setter pair
- required ↔ Required?
-
The required terms of service
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- termsOfServiceKind ↔ String?
-
Terms of Service kind associated with the particular version.
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