Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class DocumentTypeRequirement.
Requirement specification for a specific document type.
Generated from protobuf message google.cloud.commerceproducer.v1beta.Service.DocumentRequirement.DocumentTypeRequirement
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ Service \ DocumentRequirementMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document_type |
int
The document type. |
↳ requirement_level |
int
The requirement level for this document type. |
getDocumentType
The document type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DocumentType. |
setDocumentType
The document type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DocumentType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequirementLevel
The requirement level for this document type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type RequirementLevel. |
setRequirementLevel
The requirement level for this document type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type RequirementLevel. |
| Returns | |
|---|---|
| Type | Description |
$this |
|