Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class BusinessIdentity.
Collection of information related to the identity of a business .
Generated from protobuf message google.shopping.merchant.accounts.v1.BusinessIdentity
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity
↳ promotions_consent
int
Required. Whether the identity attributes may be used for promotions.
↳ black_owned
BusinessIdentity\IdentityAttribute
Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for businesses with the business country set to US
. It is also not applicable for marketplaces or marketplace sellers.
↳ women_owned
BusinessIdentity\IdentityAttribute
Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for businesses with a business country set to US
. It is also not applicable for marketplaces or marketplace sellers.
↳ veteran_owned
BusinessIdentity\IdentityAttribute
Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for businesses with a business country set to US
. It is also not applicable for marketplaces or marketplace sellers.
↳ latino_owned
BusinessIdentity\IdentityAttribute
Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for businesses with the business country set to US
. It is also not applicable for marketplaces or marketplace sellers.
↳ small_business
BusinessIdentity\IdentityAttribute
Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for businesses with a business country set to US
. It is also not applicable for marketplaces.
getName
Identifier. The resource name of the business identity.
Format: accounts/{account}/businessIdentity
string
setName
Identifier. The resource name of the business identity.
Format: accounts/{account}/businessIdentity
var
string
$this
getPromotionsConsent
Required. Whether the identity attributes may be used for promotions.
int
setPromotionsConsent
Required. Whether the identity attributes may be used for promotions.
var
int
$this
getBlackOwned
Optional. Specifies whether the business identifies itself as being
black-owned. This optional field will only be available for businesses with
the business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
hasBlackOwned
clearBlackOwned
setBlackOwned
Optional. Specifies whether the business identifies itself as being
black-owned. This optional field will only be available for businesses with
the business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
$this
getWomenOwned
Optional. Specifies whether the business identifies itself as being
women-owned. This optional field will only be available for businesses with
a business country set to US
. It is also not applicable for marketplaces
or marketplace sellers.
hasWomenOwned
clearWomenOwned
setWomenOwned
Optional. Specifies whether the business identifies itself as being
women-owned. This optional field will only be available for businesses with
a business country set to US
. It is also not applicable for marketplaces
or marketplace sellers.
$this
getVeteranOwned
Optional. Specifies whether the business identifies itself as being
veteran-owned. This optional field will only be available for businesses
with a business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
hasVeteranOwned
clearVeteranOwned
setVeteranOwned
Optional. Specifies whether the business identifies itself as being
veteran-owned. This optional field will only be available for businesses
with a business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
$this
getLatinoOwned
Optional. Specifies whether the business identifies itself as being
latino-owned. This optional field will only be available for businesses
with the business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
hasLatinoOwned
clearLatinoOwned
setLatinoOwned
Optional. Specifies whether the business identifies itself as being
latino-owned. This optional field will only be available for businesses
with the business country set to US
. It is also not applicable for
marketplaces or marketplace sellers.
$this
getSmallBusiness
Optional. Specifies whether the business identifies itself as a small
business. This optional field will only be available for businesses with a
business country set to US
. It is also not applicable for marketplaces.
hasSmallBusiness
clearSmallBusiness
setSmallBusiness
Optional. Specifies whether the business identifies itself as a small
business. This optional field will only be available for businesses with a
business country set to US
. It is also not applicable for marketplaces.
$this