Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class TransitTable.
Transit time table, number of business days spent in transit based on row
and column dimensions. Eithermin_transit_days,max_transit_daysortransit_time_tablecan be set, but not both.
Generated from protobuf messagegoogle.shopping.merchant.accounts.v1beta.TransitTable
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ postal_code_group_names
array
Required. A list of region namesRegion.name. The last value can be"all other locations". Example:["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service.
↳ transit_time_labels
array
Required. A list of transit time labels. The last value can be"all other labels". Example:["food", "electronics", "all other labels"].
Required. If there's only one dimension set ofpostal_code_group_namesortransit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to apostal_code_group_names, and columns (values) to atransit_time_labels.
getPostalCodeGroupNames
Required. A list of region namesRegion.name. The
last value can be"all other locations". Example:["zone 1", "zone 2", "all other locations"]. The referred
postal code groups must match the delivery country of the service.
Required. A list of region namesRegion.name. The
last value can be"all other locations". Example:["zone 1", "zone 2", "all other locations"]. The referred
postal code groups must match the delivery country of the service.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getTransitTimeLabels
Required. A list of transit time labels. The last value can be"all other labels". Example:["food", "electronics", "all other labels"].
Required. A list of transit time labels. The last value can be"all other labels". Example:["food", "electronics", "all other labels"].
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getRows
Required. If there's only one dimension set ofpostal_code_group_namesortransit_time_labels, there are multiple rows each with one value
for that dimension. If there are two dimensions, each row corresponds to apostal_code_group_names, and columns (values) to atransit_time_labels.
Required. If there's only one dimension set ofpostal_code_group_namesortransit_time_labels, there are multiple rows each with one value
for that dimension. If there are two dimensions, each row corresponds to apostal_code_group_names, and columns (values) to atransit_time_labels.
[[["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-09-04 UTC."],[],[],null,["# Google Shopping Merchant Accounts V1beta Client - Class TransitTable (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1beta.TransitTable)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1beta.TransitTable)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1beta.TransitTable)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1beta.TransitTable)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1beta.TransitTable)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1beta.TransitTable)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1beta.TransitTable)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1beta.TransitTable)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1beta.TransitTable)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1beta.TransitTable)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1beta.TransitTable) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class TransitTable.\n\nTransit time table, number of business days spent in transit based on row\nand column dimensions. Either `min_transit_days`, `max_transit_days` or\n`transit_time_table` can be set, but not both.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1beta.TransitTable`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPostalCodeGroupNames\n\nRequired. A list of region names\n[Region.name](/php/docs/reference/shopping-merchant-accounts/latest/V1beta.Region#_Google_Shopping_Merchant_Accounts_V1beta_Region__getName__) . The\nlast value can be\n`\"all other locations\"`. Example:\n`[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred\npostal code groups must match the delivery country of the service.\n\n### setPostalCodeGroupNames\n\nRequired. A list of region names\n[Region.name](/php/docs/reference/shopping-merchant-accounts/latest/V1beta.Region#_Google_Shopping_Merchant_Accounts_V1beta_Region__getName__) . The\nlast value can be\n`\"all other locations\"`. Example:\n`[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred\npostal code groups must match the delivery country of the service.\n\n### getTransitTimeLabels\n\nRequired. A list of transit time labels. The last value can be\n`\"all other labels\"`. Example:\n`[\"food\", \"electronics\", \"all other labels\"]`.\n\n### setTransitTimeLabels\n\nRequired. A list of transit time labels. The last value can be\n`\"all other labels\"`. Example:\n`[\"food\", \"electronics\", \"all other labels\"]`.\n\n### getRows\n\nRequired. If there's only one dimension set of `postal_code_group_names` or\n`transit_time_labels`, there are multiple rows each with one value\nfor that dimension. If there are two dimensions, each row corresponds to a\n`postal_code_group_names`, and columns (values) to a\n`transit_time_labels`.\n\n### setRows\n\nRequired. If there's only one dimension set of `postal_code_group_names` or\n`transit_time_labels`, there are multiple rows each with one value\nfor that dimension. If there are two dimensions, each row corresponds to a\n`postal_code_group_names`, and columns (values) to a\n`transit_time_labels`."]]