TermsOfServiceAgreementState
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,
will be populated, otherwise it will be emptyaccepted -
If the business must sign a terms of service,
will be populated, otherwise it will be empty.required
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
field. The
valid_until
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
). The actual acceptance of the terms of service is done by calling accept on the
tos_file_uri
resource.
TermsOfService
valid_until
field.
| Fields | |
|---|---|
name
|
Identifier. The resource name of the terms of service version. Format:
|
region_code
|
Required. Region code as defined by https://cldr.unicode.org/ . This is the country the current state applies to. |
terms_of_service_kind
|
Required. Terms of Service kind associated with the particular version. |
accepted
|
Optional. The accepted terms of service of this kind and for the associated region_code |
required
|
Optional. The required terms of service |