Google Shopping Merchant Accounts V1beta Client - Class Accepted (0.3.2)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Accepted.

Describes the accepted terms of service.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Accepted

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ terms_of_service string

The accepted termsOfService.

↳ accepted_by string

The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.

↳ valid_until Google\Type\Date

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.

getTermsOfService

The accepted termsOfService.

Returns
Type Description
string

setTermsOfService

The accepted termsOfService.

Parameter
Name Description
var string
Returns
Type Description
$this

getAcceptedBy

The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.

Returns
Type Description
string

setAcceptedBy

The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidUntil

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

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