Reference documentation and code samples for the Google Cloud Retail V2 Client class FulfillmentInfo.
Fulfillment information, such as the store IDs for in-store pickup or region
IDs for different shipping methods.
Generated from protobuf message google.cloud.retail.v2.FulfillmentInfo
Namespace
Google \ Cloud \ Retail \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ type
string
The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * * "pickup-in-store" * * "ship-to-store" * * "same-day-delivery" * * "next-day-delivery" * * "custom-type-1" * * "custom-type-2" * * "custom-type-3" * * "custom-type-4" * * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
↳ place_ids
array
The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
getType
The fulfillment type, including commonly used types (such as pickup in
store and same day delivery), and custom types. Customers have to map
custom types to their display names before rendering UI.
Supported values:
"pickup-in-store"
"ship-to-store"
"same-day-delivery"
"next-day-delivery"
"custom-type-1"
"custom-type-2"
"custom-type-3"
"custom-type-4"
"custom-type-5"
If this field is set to an invalid value other than these, an
INVALID_ARGUMENT error is returned.
Returns
Type
Description
string
setType
The fulfillment type, including commonly used types (such as pickup in
store and same day delivery), and custom types. Customers have to map
custom types to their display names before rendering UI.
Supported values:
"pickup-in-store"
"ship-to-store"
"same-day-delivery"
"next-day-delivery"
"custom-type-1"
"custom-type-2"
"custom-type-3"
"custom-type-4"
"custom-type-5"
If this field is set to an invalid value other than these, an
INVALID_ARGUMENT error is returned.
A maximum of 3000 values are allowed. Each value must be a string with a
length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such
as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is
returned.
A maximum of 3000 values are allowed. Each value must be a string with a
length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such
as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is
returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class FulfillmentInfo (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.FulfillmentInfo)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.FulfillmentInfo)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.FulfillmentInfo)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.FulfillmentInfo)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.FulfillmentInfo)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.FulfillmentInfo)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.FulfillmentInfo)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.FulfillmentInfo)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.FulfillmentInfo)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.FulfillmentInfo)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.FulfillmentInfo)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.FulfillmentInfo) \nReference documentation and code samples for the Google Cloud Retail V2 Client class FulfillmentInfo.\n\nFulfillment information, such as the store IDs for in-store pickup or region\nIDs for different shipping methods.\n\nGenerated from protobuf message `google.cloud.retail.v2.FulfillmentInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nThe fulfillment type, including commonly used types (such as pickup in\nstore and same day delivery), and custom types. Customers have to map\ncustom types to their display names before rendering UI.\n\nSupported values:\n\n- \"pickup-in-store\"\n- \"ship-to-store\"\n- \"same-day-delivery\"\n- \"next-day-delivery\"\n- \"custom-type-1\"\n- \"custom-type-2\"\n- \"custom-type-3\"\n- \"custom-type-4\"\n- \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.\n\n### setType\n\nThe fulfillment type, including commonly used types (such as pickup in\nstore and same day delivery), and custom types. Customers have to map\ncustom types to their display names before rendering UI.\n\nSupported values:\n\n- \"pickup-in-store\"\n- \"ship-to-store\"\n- \"same-day-delivery\"\n- \"next-day-delivery\"\n- \"custom-type-1\"\n- \"custom-type-2\"\n- \"custom-type-3\"\n- \"custom-type-4\"\n- \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.\n\n### getPlaceIds\n\nThe IDs for this [type](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__), such\nas the store IDs for\n[FulfillmentInfo.type.pickup-in-store](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__)\nor the region IDs for\n[FulfillmentInfo.type.same-day-delivery](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__).\n\nA maximum of 3000 values are allowed. Each value must be a string with a\nlength limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such\nas \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is\nreturned.\n\n### setPlaceIds\n\nThe IDs for this [type](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__), such\nas the store IDs for\n[FulfillmentInfo.type.pickup-in-store](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__)\nor the region IDs for\n[FulfillmentInfo.type.same-day-delivery](/php/docs/reference/cloud-retail/latest/V2.FulfillmentInfo#_Google_Cloud_Retail_V2_FulfillmentInfo__getType__).\n\nA maximum of 3000 values are allowed. Each value must be a string with a\nlength limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such\nas \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is\nreturned."]]