Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class DocumentRequirement.
Requirements and constraints for documents attached to private offers.
Generated from protobuf message google.cloud.commerceproducer.v1beta.Service.DocumentRequirement
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ ServiceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document_type_requirements |
array<DocumentRequirement\DocumentTypeRequirement>
Document requirements for private offers on this service. Each document type appears at most once. The order of entries is not significant. A document type that is not present in this list is not permitted for private offers on this service. |
getDocumentTypeRequirements
Document requirements for private offers on this service.
Each document type appears at most once. The order of entries is not significant. A document type that is not present in this list is not permitted for private offers on this service.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DocumentRequirement\DocumentTypeRequirement> |
|
setDocumentTypeRequirements
Document requirements for private offers on this service.
Each document type appears at most once. The order of entries is not significant. A document type that is not present in this list is not permitted for private offers on this service.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DocumentRequirement\DocumentTypeRequirement>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|