Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ServiceAreaBusiness

import type { ServiceAreaBusiness } from "https://googleapis.deno.dev/v1/mybusinessbusinessinformation:v1.ts";

Service area businesses provide their service at the customer's location (for example, a locksmith or plumber).

interface ServiceAreaBusiness {
businessType?: "BUSINESS_TYPE_UNSPECIFIED" | "CUSTOMER_LOCATION_ONLY" | "CUSTOMER_AND_BUSINESS_LOCATION";
places?: Places;
regionCode?: string;
}

§Properties

§
businessType?: "BUSINESS_TYPE_UNSPECIFIED" | "CUSTOMER_LOCATION_ONLY" | "CUSTOMER_AND_BUSINESS_LOCATION"
[src]

Required. Indicates the type of the service area business.

§
places?: Places
[src]

The area that this business serves defined through a set of places.

§
regionCode?: string
[src]

Immutable. CLDR region code of the country/region that this service area business is based in. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland. This field is required for CUSTOMER_LOCATION_ONLY businesses, and is ignored otherwise. The region specified here can be different from regions for the areas that this business serves (e.g. service area businesses that provide services in regions other than the one that they are based in). If this location requires verification after creation, the address provided for verification purposes must be located within this region, and the business owner or their authorized representative must be able to receive postal mail at the provided verification address.