Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Accepted.
Describes the accepted terms of service.
Generated from protobuf message google.shopping.merchant.accounts.v1.Accepted
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ terms_of_service | stringRequired. The accepted termsOfService. | 
| ↳ accepted_by | stringRequired. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account. | 
| ↳ valid_until | Google\Type\DateOptional. When set, it states that the accepted  | 
getTermsOfService
Required. The accepted termsOfService.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setTermsOfService
Required. The accepted termsOfService.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getAcceptedBy
Required. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setAcceptedBy
Required. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getValidUntil
Optional. When set, it states that the accepted TermsOfService is only
valid until the end of this date (in UTC). A new one must be accepted
before then. The information of the required TermsOfService is found in
the Required message.
| Returns | |
|---|---|
| Type | Description | 
| Google\Type\Date|null | |
hasValidUntil
clearValidUntil
setValidUntil
Optional. When set, it states that the accepted TermsOfService is only
valid until the end of this date (in UTC). A new one must be accepted
before then. The information of the required TermsOfService is found in
the Required message.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Type\Date | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |