Google Shopping Merchant Accounts V1beta Client - Class Requirement (0.3.0)

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

Defines a requirement specified for participation in the program.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Program.Requirement

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ Program

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ title string

Output only. Name of the requirement.

↳ documentation_uri string

Output only. The URL of a help page describing the requirement.

↳ affected_region_codes array

Output only. The regions that are currently affected by this requirement not being met. Region codes are defined by CLDR. This is either a country where the program applies specifically to that country or 001 when the program applies globally.

getTitle

Output only. Name of the requirement.

Returns
Type Description
string

setTitle

Output only. Name of the requirement.

Parameter
Name Description
var string
Returns
Type Description
$this

getDocumentationUri

Output only. The URL of a help page describing the requirement.

Returns
Type Description
string

setDocumentationUri

Output only. The URL of a help page describing the requirement.

Parameter
Name Description
var string
Returns
Type Description
$this

getAffectedRegionCodes

Output only. The regions that are currently affected by this requirement not being met.

Region codes are defined by CLDR. This is either a country where the program applies specifically to that country or 001 when the program applies globally.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAffectedRegionCodes

Output only. The regions that are currently affected by this requirement not being met.

Region codes are defined by CLDR. This is either a country where the program applies specifically to that country or 001 when the program applies globally.

Parameter
Name Description
var string[]
Returns
Type Description
$this