Поделиться через


Commerce Foundation VENearbyStore

The VENearbyStore Commerce Entity acts as an interface to the Virtual Earth Platform. It provides the capability to find nearby store from the MapPoint Find Service. This entity implements custom search criteria that provide an interface for configuring the web service call to the Virtual Earth Platform

Model

This commerce entity can be modified, as required. This model, taken from the out-of-the-box site, is provided as an example.

<CommerceEntity name="VENearbyStore">
    <Properties>
        <Property name="EntityId" dataType="String">
            <DisplayName value="Entity Id"/>
            <Description value="The MapPoint entity id of the store." />
        </Property>
        <Property name="Name" dataType="String">
            <DisplayName value="Store Name"/>
            <Description value="The name of the store." />
        </Property>
        <Property name="DisplayName" dataType="String">
            <DisplayName value="Store Display Name"/>
            <Description value="The display name of the store." />
        </Property>
        <Property name="AddressLine" dataType="String">
            <DisplayName value="Store Address Line"/>
            <Description value="The address line of the store." />
        </Property>
        <Property name="City" dataType="String">
            <DisplayName value="City"/>
            <Description value="The city of the store." />
        </Property>
        <Property name="Subdivision" dataType="String">
            <DisplayName value="Subdivision"/>
            <Description value="The subdivision of the store." />
        </Property>
        <Property name="PostalCode" dataType="String">
            <DisplayName value="Postal Code"/>
            <Description value="The postal code of the store." />
        </Property>
        <Property name="Country" dataType="String">
            <DisplayName value="Country"/>
            <Description value="The country of the store." />
        </Property>
        <Property name="Telephone" dataType="String">
            <DisplayName value="Telephone number"/>
            <Description value="The telephone number of the store." />
        </Property>
        <Property name="Latitude" dataType="Double">
            <DisplayName value="Latitude"/>
            <Description value="The latitude of the store." />
        </Property>
        <Property name="Longitude" dataType="Double">
            <DisplayName value="Longitude"/>
            <Description value="The longitude of the store." />
        </Property>
    </Properties>
</CommerceEntity>

Properties

Property

Type

Description

EntityId

String

The MapPoint entity id of the store.

Name

String

The name of the store.

DisplayName

String

The localized name of the store. This is the address name from the Address profile object.

AddressLine

String

The address line of the store.

City

String

The city of the store.

Subdivision

String

The subdivision (state/province) of the store.

PostalCode

String

The zip or postal code of the store.

Country

String

The country of the store.

Telephone

String

The telephone number of the store.

Latitude

String

The latitude of the store.

Longitude

String

The longitude of the store.

Relationships

None.

Supported Operations

The event record commerce entity supports the following operations:

Commerce Foundation VENearbyStore CommerceQuery