TermsOfService class

The TermsOfService message represents a specific version of the terms of service that merchants must accept to access certain features or services.

For more information, see Terms of Service. This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given kind and region through RetrieveLatestTermsOfService, and accept them as required through AcceptTermsOfService.

Constructors

TermsOfService.new({bool? external_, String? fileUri, String? kind, String? name, String? regionCode})
TermsOfService.fromJson(Map json_)

Properties

external_ bool?
Whether this terms of service version is external.
getter/setter pair
fileUri String?
URI for terms of service file that needs to be displayed to signing users.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The Kind this terms of service version applies to. Possible string values are:
getter/setter pair
name String?
Identifier.
getter/setter pair
regionCode String?
Region code as defined by CLDR.
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