Google Shopping Merchant Accounts V1 Client - Class Accepted (1.0.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ terms_of_service
string

Required. The accepted termsOfService .

↳ accepted_by
string

Required. 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\Date

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.

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

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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: