Optional. Shipping rate group definitions. Only the last one is allowed to have an emptyapplicable_shipping_labels, which means "everything else". The otherapplicable_shipping_labelsmust not overlap.
Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table.
[[["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 Service (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1beta.Service)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1beta.Service)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1beta.Service)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1beta.Service)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1beta.Service)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1beta.Service)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1beta.Service)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1beta.Service)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1beta.Service)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1beta.Service)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1beta.Service) \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 Service.\n\nShipping service.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1beta.Service`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getServiceName\n\nRequired. Free-form name of the service. Must be unique within target\naccount.\n\n### hasServiceName\n\n### clearServiceName\n\n### setServiceName\n\nRequired. Free-form name of the service. Must be unique within target\naccount.\n\n### getActive\n\nRequired. A boolean exposing the active status of the shipping service.\n\n### hasActive\n\n### clearActive\n\n### setActive\n\nRequired. A boolean exposing the active status of the shipping service.\n\n### getDeliveryCountries\n\nRequired. The CLDR territory code of the countries to which the service\napplies.\n\n### setDeliveryCountries\n\nRequired. The CLDR territory code of the countries to which the service\napplies.\n\n### getCurrencyCode\n\nThe CLDR code of the currency to which this service applies. Must match\nthat of the prices in rate groups.\n\n### hasCurrencyCode\n\n### clearCurrencyCode\n\n### setCurrencyCode\n\nThe CLDR code of the currency to which this service applies. Must match\nthat of the prices in rate groups.\n\n### getDeliveryTime\n\nRequired. Time spent in various aspects from order to the delivery of the\nproduct.\n\n### hasDeliveryTime\n\n### clearDeliveryTime\n\n### setDeliveryTime\n\nRequired. Time spent in various aspects from order to the delivery of the\nproduct.\n\n### getRateGroups\n\nOptional. Shipping rate group definitions. Only the last one is allowed to\nhave an empty `applicable_shipping_labels`, which means \"everything else\".\n\nThe other `applicable_shipping_labels` must not overlap.\n\n### setRateGroups\n\nOptional. Shipping rate group definitions. Only the last one is allowed to\nhave an empty `applicable_shipping_labels`, which means \"everything else\".\n\nThe other `applicable_shipping_labels` must not overlap.\n\n### getShipmentType\n\nType of locations this service ships orders to.\n\n### hasShipmentType\n\n### clearShipmentType\n\n### setShipmentType\n\nType of locations this service ships orders to.\n\n### getMinimumOrderValue\n\nMinimum order value for this service. If set, indicates that customers\nwill have to spend at least this amount.\n\nAll prices within a service must have the same currency.\nCannot be set together with minimum_order_value_table.\n\n### hasMinimumOrderValue\n\n### clearMinimumOrderValue\n\n### setMinimumOrderValue\n\nMinimum order value for this service. If set, indicates that customers\nwill have to spend at least this amount.\n\nAll prices within a service must have the same currency.\nCannot be set together with minimum_order_value_table.\n\n### getMinimumOrderValueTable\n\nTable of per store minimum order values for the pickup fulfillment type.\n\nCannot be set together with minimum_order_value.\n\n### hasMinimumOrderValueTable\n\n### clearMinimumOrderValueTable\n\n### setMinimumOrderValueTable\n\nTable of per store minimum order values for the pickup fulfillment type.\n\nCannot be set together with minimum_order_value.\n\n### getStoreConfig\n\nA list of stores your products are delivered from.\n\nThis is only valid for the local delivery shipment type.\n\n### hasStoreConfig\n\n### clearStoreConfig\n\n### setStoreConfig\n\nA list of stores your products are delivered from.\n\nThis is only valid for the local delivery shipment type.\n\n### getLoyaltyPrograms\n\nOptional. Loyalty programs that this shipping service is limited to.\n\n### setLoyaltyPrograms\n\nOptional. Loyalty programs that this shipping service is limited to."]]