Class: Google::Shopping::Merchant::Accounts::V1::TermsOfServiceAgreementState
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1::TermsOfServiceAgreementState
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb
Overview
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,
acceptedwill be populated, otherwise it will be empty - If the business must sign a terms of service,
requiredwill 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.
Instance Attribute Summary collapse
-
#accepted ⇒ ::Google::Shopping::Merchant::Accounts::V1::Accepted
Optional.
-
#name ⇒ ::String
Identifier.
-
#region_code ⇒ ::String
Required.
-
#required ⇒ ::Google::Shopping::Merchant::Accounts::V1::Required
Optional.
-
#terms_of_service_kind ⇒ ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceKind
Required.
Instance Attribute Details
#accepted ⇒ ::Google::Shopping::Merchant::Accounts::V1::Accepted
72 73 74 75 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb', line 72 class TermsOfServiceAgreementState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
72 73 74 75 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb', line 72 class TermsOfServiceAgreementState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#region_code ⇒ ::String
72 73 74 75 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb', line 72 class TermsOfServiceAgreementState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#required ⇒ ::Google::Shopping::Merchant::Accounts::V1::Required
72 73 74 75 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb', line 72 class TermsOfServiceAgreementState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#terms_of_service_kind ⇒ ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceKind
72 73 74 75 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb', line 72 class TermsOfServiceAgreementState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |