Resource: BusinessIdentity
Collection of information related to the identity of a business.
JSON representation |
---|
{ "name": string, "promotionsConsent": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the business identity. Format: |
promotions |
Required. Whether the identity attributes may be used for promotions. |
black |
Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to |
women |
Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to |
veteran |
Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to |
latino |
Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to |
small |
Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to |
PromotionsConsent
All possible settings regarding promotions related to the business identity.
Enums | |
---|---|
PROMOTIONS_CONSENT_UNSPECIFIED |
Default value indicating that no selection was made. |
PROMOTIONS_CONSENT_GIVEN |
Indicates that the account consented to having their business identity used for promotions. |
PROMOTIONS_CONSENT_DENIED |
Indicates that the account did not consent to having their business identity used for promotions. |
IdentityAttribute
All information related to an identity attribute.
JSON representation |
---|
{
"identityDeclaration": enum ( |
Fields | |
---|---|
identity |
Required. The declaration of identity for this attribute. |
IdentityDeclaration
All possible settings regarding the declaration of an identity.
Enums | |
---|---|
IDENTITY_DECLARATION_UNSPECIFIED |
Default value indicating that no selection was made. |
SELF_IDENTIFIES_AS |
Indicates that the account identifies with the attribute. |
DOES_NOT_SELF_IDENTIFY_AS |
Indicates that the account does not identify with the attribute. |
Methods |
|
---|---|
|
Retrieves the business identity of an account. |
|
Updates the business identity of an account. |