repo_id stringclasses 36
values | file_path stringlengths 63 188 | content stringlengths 62 41.5k | __index_level_0__ int64 0 0 |
|---|---|---|---|
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/global.json | {
"sdk": {
"allowPrerelease": false,
"rollForward": "latestPatch",
"version": "8.0.402"
}
} | 0 |
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/repo.props | <Project>
<PropertyGroup>
<BuildNumber Condition="'$(BuildNumber)' == ''">0.0</BuildNumber>
<MajorVersion>9.52</MajorVersion>
<Version>$(MajorVersion).$(BuildNumber)</Version>
</PropertyGroup>
<PropertyGroup>
<Publisher Condition="'$(Publisher)' == ''">CN=Contoso Ltd.</Publisher>
<PublisherDi... | 0 |
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/LICENSE | MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT DYNAMICS 365 FOR COMMERCE SOFTWARE DEVELOPMENT KIT (SDK)
These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such ser... | 0 |
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/README.md | ---
page_type: sample
languages:
- csharp
products:
- dynamics-365
- dynamics-commerce
name: Extend Commerce POS, HWS and Headless Commerce APIs and Commerce runtime.
description: This repo contains the sample code on how to extend the Dynamics 365 Commerce POS, Hardware station, Headless Commerce APIs, and Comme... | 0 |
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/nuget.config | <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<config>
<add key="repositoryPath" value="src/Dependencies" />
</config>
<packageSources>
<clear />
<add key="dynamics365-commerce" value="https://pkgs.dev.azure.com/commerce-partner/Registry/_packaging/dynamics365-commerce/nuget/v3/index.json"... | 0 |
Dynamics365Commerce.InStore | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/SECURITY.md | <!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->
## Security
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/README.md | ## Hardware Station(HWS) Extension
Hardware Station is used by Store Commerce, Modern POS (MPOS) and Cloud POS(CPOS) to connect to hardware peripherals, such as printers, cash drawers, scanners, and payment terminals. This project contains sample code on how to create HWS extensions and extension installers for shared... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/CustomizationPackage.props | <Project>
<Import Project="..\..\repo.props" />
<PropertyGroup>
<PackagePublisher Condition="'$(PackagePublisher)' == ''">$(Publisher)</PackagePublisher>
<PackagePublisherDisplayName Condition="'$(PackagePublisherDisplayName)' == ''">$(PublisherDisplayName)</PackagePublisherDisplayName>
<PackageVersion... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/Contoso.PeripheralCustomizations.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<RootNamespace>Contoso.HardwareStation.Peripherals.PeripheralCustomizations</RootNamespace>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Packa... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/README.md | # HardwareStation Peripherals Customization Sample
This sample shows how to customize the handling of peripherals by the Hardware Station server.
## How the Sample works
This sample implements Request Handlers for key peripheral requests showcasing how to tailor the behavior of the hardware station to meet your specif... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/MSR/CustomMsrTrackParser.cs | namespace Contoso.Commerce.HardwareStation.Peripherals
{
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.HardwareStation.Models;
using Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.Entities;
using Microsoft.Dynamics.Commerce.Runtime;
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/Printer/CustomWindowsPrinterDevice.cs | namespace Microsoft.Dynamics
{
namespace Contoso.HardwareStation.Peripherals
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.HardwareStation;
using Microsoft.Dynamics.Commerce.HardwareStation.Peripherals;
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/Printer/CustomOposPrinterDevice.cs | namespace Microsoft.Dynamics
{
namespace Contoso.HardwareStation.Peripherals
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.HardwareStation;
using Microsoft.D... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PeripheralCustomizations/SignatureCapture/CustomSignatureCaptureDevice.cs | using Microsoft.Dynamics.Commerce.HardwareStation;
using Microsoft.Dynamics.Commerce.HardwareStation.Peripherals;
using Microsoft.Dynamics.Commerce.Runtime.Handlers;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/StoreCommerce.Installer/Contoso.HardwareStationSamples.StoreCommerce.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.StoreCommerce" Version="$(... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/CommerceRuntime/DefinePosExtensionPackageTrigger.cs | namespace TriggerSamples.CommerceRuntime
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.Runtime;
using Microsoft.Dynamics.Commerce.Runtime.DataModel;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
///... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/CommerceRuntime/Contoso.HardwareStationSamples.CommerceRuntime.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Runtime" Version="$(CommerceSdkPackagesVersion)" />
</ItemGr... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer/Contoso.HardwareStationSamples.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.HardwareStation" Version="$... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer/TestExtensionInstallerPostInstallStep.cs | namespace Contoso.HardwareStation.Installer
{
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.Sdk.Installers;
using Microsoft.Dynamics.Retail.Diagnostics;
[ExtensionInstallerStepExecutionPosition(ExtensionInstallerStepExecutionPhase.PostInstall, 1)]
public class TestExtensionInstal... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer/ConfigurationKeys.cs | namespace Contoso.HardwareStation.Installer
{
/// <summary>
/// Class containing sample configuration key name constant values.
/// </summary>
internal static class ConfigurationKeys
{
/// <summary>
/// The key name for a sample key,
/// </summary>
public const strin... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer/TestExtensionInstallerPreInstallStep.cs | namespace Contoso.HardwareStation.Installer
{
using System.Threading.Tasks;
using Microsoft.Dynamics.Commerce.Sdk.Installers;
using Microsoft.Dynamics.Retail.Diagnostics;
[ExtensionInstallerStepExecutionPosition(ExtensionInstallerStepExecutionPhase.PreInstall, 1)]
public class TestExtensionInstall... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/HardwareStation.Installer/Properties/launchSettings.json | {
"profiles": {
"Contoso.HardwareStation.Installer": {
"commandName": "Project",
"commandLineArgs": "install"
}
}
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PaymentDevice/README.md | # HardwareStation Payment Device Sample
This sample shows how to add support for a new Payment Device through the implementation of a handler that will accept the messages received by the Hardware Station server.
## How the Sample works
This sample intentionally implements a no-op Payment device handler as a way to de... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PaymentDevice/Contoso.PaymentDeviceSample.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<RootNamespace>Contoso.HardwareStation.Peripherals.PaymentDevice</RootNamespace>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PaymentDevice/PaymentDeviceSample.cs | /*
SAMPLE CODE NOTICE
THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS SAMPLE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PaymentDevice | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/HardwareStationSamples/PaymentDevice/Properties/AssemblyInfo.cs | using System;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Marking CLS compliant a... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/readme.md | # Store Commerce Samples
## Overview
This folder contains sample solutions that demonstrate how to customize the Store Commerce (and POS) App in various scenarios. Each sample contains a solution containing a Commerce Runtime project to enable the POS extension package and the POS extension package with the sample exte... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/readme.md | # Printing QR Code Sample
## Overview
This sample showcases a sample Store Commerce extension that prints a QR code on the receipt. The QR code can be scanned by a mobile device to open the receipt in the browser.
## Configuring the sample
> For more details on how to extend Commerce Store receipts, see [Extend Commer... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/CustomizationPackage.props | <Project>
<Import Project="..\..\..\..\repo.props" />
<PropertyGroup>
<PackagePublisher Condition="'$(PackagePublisher)' == ''">$(Publisher)</PackagePublisher>
<PackagePublisherDisplayName Condition="'$(PackagePublisherDisplayName)' == ''">$(PublisherDisplayName)</PackagePublisherDisplayName>
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/ScaleUnit.Installer/Contoso.QRCode.ScaleUnit.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.ScaleUnit" Vers... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/StoreCommerce.Installer/Contoso.QRCode.StoreCommerce.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.StoreCommerce" ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/CommerceRuntime/DefinePosExtensionPackageTrigger.cs | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/CommerceRuntime/ReceipSampleService.cs | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/CommerceRuntime/Contoso.QRCode.CommerceRuntime.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Runtime.Localization.Services.Messages" Version="$(Comme... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/QRCode/ScaleUnit/Contoso.QRCode.ScaleUnit.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.ScaleUnit" Version="$(CommerceSdkPackagesVersion)" />... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/README.md | # Gas Station Pump Control Sample
## Overview
This sample showcases a sample where the Store Commerce App is extended to support common gas station scenarios. This sample extends the Store Commerce header to add a custom item that will provide users with information about the gas pump statuses on all views. The sample ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CustomizationPackage.props | <Project>
<Import Project="..\..\..\..\repo.props" />
<PropertyGroup>
<PackagePublisher Condition="'$(PackagePublisher)' == ''">$(Publisher)</PackagePublisher>
<PackagePublisherDisplayName Condition="'$(PackagePublisherDisplayName)' == ''">$(PublisherDisplayName)</PackagePublisherDisplayName>
<PackageV... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/ScaleUnit.Installer/Contoso.GasStation.ScaleUnit.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.ScaleUnit" Version="$(Comm... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/tsconfig.json | {
"extends": "./devDependencies/pos-tsconfig-base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"knockout": [
"Libraries/knockout"
]
},
"noImplicitAny": false
}
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/NumberFormattingHelper.ts | export abstract class NumberFormattingHelper {
/**
* Gets the rounded value as a formatted string.
* @param {number} value The value.
* @param {number} decimalPrecision The decimal precision.
* @returns {string} The formatted string value.
*/
public static getRoundedStringValue(value:... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/GasStationDataStore.ts | import { IExtensionContext } from "PosApi/Framework/ExtensionContext";
import { ArrayExtensions, ObjectExtensions } from "PosApi/TypeExtensions";
import { GasPumps } from "./DataService/DataServiceRequests.g"
import { Entities } from "./DataService/DataServiceEntities.g";
import { ProxyEntities, ClientEntities } from ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/GlobalConstants.ts | export const GASOLINE_QUANTITY_EXTENSION_PROPERTY_NAME: string = "Contoso.GasStation.PumpedGasolineQuantity"; | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Contoso.GasStation.Pos.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Pos" Version="$(CommerceSdkPackagesVersion)" />
<PackageRe... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/manifest.json | {
"$schema": "./devDependencies/schemas/manifestSchema.json",
"name": "GasStation",
"publisher": "Contoso",
"version": "1.0.0.0",
"minimumPosVersion": "9.32.0.0",
"dependencies": [
{
"alias": "knockout",
"format": "amd",
"modulePath": "Libraries/knockout"
}
],
"components": {
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/GasStationTypes.ts | /**
* The states of a gas pump.
*/
export enum GasPumpStatus {
Unknown,
Idle,
Pumping,
PumpingComplete,
Stopped,
Emergency
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/Views/PumpGasExtensionCommand.ts | import { Entities } from "DataService/DataServiceEntities.g";
import { GasPumpStatus } from "../../GasStationTypes";
import { NumberFormattingHelper } from "../../NumberFormattingHelper";
import { ShowListInputDialogClientRequest, ShowListInputDialogClientResponse } from "PosApi/Consume/Dialogs";
import { ClientEntiti... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/Triggers/InitializeStationTrigger.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/Header/GasPumpStatusPackingItem.html | <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Gas Pumps Status Item Templates</title>
<link href="GasPumpStatusPackingItem.css" rel="stylesheet" />
</head>
<body>
<script id="Microsoft_Pos_GasStationHeaderExtensionSample_UnpackedGasPumpSta... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/Header/GasPumpStatusPackingItem.css | #gasPumpPackedButton {
width: inherit;
color: #fff;
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/Header/GasPumpStatusPackingItem.ts | import {
CustomPackingItem, ICustomPackingItemContext, CustomPackingItemPosition, ICustomPackingItemState
} from "PosApi/Extend/Header";
import { GasStationDataStore, PumpStatusChangedHandler } from "../../GasStationDataStore";
import { GasPumpStatus } from "../../GasStationTypes";
import { Entities } from "../../... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Extend/RequestHandlers/KeyInGasolineQuantityRequestHandler.ts | import { GetKeyedInQuantityClientRequestHandler } from "PosApi/Extend/RequestHandlers/CartRequestHandlers";
import { ClientEntities, ProxyEntities } from "PosApi/Entities";
import { GetCurrentCartClientRequest, GetCurrentCartClientResponse, GetKeyedInQuantityClientRequest, GetKeyedInQuantityClientResponse } from "PosA... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Views/GasPumpStatusView.ts | import ko from "knockout";
import { CustomViewControllerBase, CustomViewControllerExecuteCommandArgs, ICommand, Icons, ICustomViewControllerConfiguration, ICustomViewControllerContext } from "PosApi/Create/Views";
import { ArrayExtensions, ObjectExtensions } from "PosApi/TypeExtensions";
import { IDataList, DataListIn... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Views/GasPumpStatusView.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Gas Pump Status View</title>
</head>
<body>
<div class="GasPumpStatusView">
<div class="row height100Percent marginLeft20">
<!-- Main content -->
<div class="col grow height100Percent">
<div id="Pi... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Dialogs/GasStationDetailsDialog.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Dialogs/GasStationDetailsDialog.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Gas Pump Status Dialog</title>
</head>
<body>
<div class="grow col">
<div>
<div class="marginBottom20">
<div class="row marginBottom4">
<div class="h6 secondaryFontColor">Current Price</div... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Dialogs/PumpGasDialog.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Gas Pump Status Dialog</title>
</head>
<body>
<div class="grow col">
<div>
<h1 class="wrapTextWithoutHyphen marginBottom20" data-bind="visible: isEmergencyInProgress" style="color:red;">Pump overflow emergency!</h1>
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/Pos/Create/Dialogs/PumpGasDialog.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/StoreCommerce.Installer/Contoso.GasStation.StoreCommerce.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props " />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.StoreCommerce" Version="$(C... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GetGasPumpsDataResponse.cs | namespace GasStation.CommerceRuntime
{
using System.Collections.Generic;
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the response to the get gas pumps data request.
/// </summary>
[DataContract]
public s... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/StopAllPumpsDataRequest.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the request to stop all the gas pumps.
/// </summary>
[DataContract]
public sealed class StopAllPumpsDataRequest : Request
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/DefinePosExtensionPackageTrigger.cs | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE US... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/StartAllPumpsDataResponse.cs | namespace GasStation.CommerceRuntime
{
using System.Collections.Generic;
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the response to the start all gas pumps request.
/// </summary>
[DataContract]
public ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GetGasPumpsDataRequest.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the request to get the gas pumps data.
/// </summary>
[DataContract]
public sealed class GetGasPumpsDataRequest : Request
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GetGasStationDetailsDataRequest.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the request to get the gas station details.
/// </summary>
[DataContract]
public sealed class GetGasStationDetailsDataReques... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasPumpState.cs |
namespace GasStation.CommerceRuntime
{
using Microsoft.Dynamics.Commerce.Runtime;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
public class GasPumpState
{
public GasPumpState() : this(GasPumpStatus.Unknown)
{
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/StopAllPumpsDataResponse.cs | namespace GasStation.CommerceRuntime
{
using System.Collections.Generic;
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the response to the stop all gas pumps request.
/// </summary>
[DataContract]
public s... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasStationDetails.cs |
namespace GasStation.CommerceRuntime
{
using Microsoft.Dynamics.Commerce.Runtime;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
public class GasStationDetails
{
public GasStationDetails(string storeNumber, string itemId)
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasPumpsDataService.cs | namespace GasStation.CommerceRuntime
{
using Microsoft.Dynamics.Commerce.Runtime;
using Microsoft.Dynamics.Commerce.Runtime.DataModel;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
using Microsoft.Dynamics.Commerce.Runtime.DataServices.Messages;
using System;
using System.Collections.Gene... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasPump.cs | namespace GasStation.CommerceRuntime
{
using Microsoft.Dynamics.Commerce.Runtime.DataModel;
using System.Runtime.Serialization;
using SystemAnnotations = System.ComponentModel.DataAnnotations;
public class GasPump : CommerceEntity
{
/// <summary>
/// Initializes a new instance of t... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/StartAllPumpsDataRequest.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the request to start all the gas pumps.
/// </summary>
[DataContract]
public sealed class StartAllPumpsDataRequest : Request... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GetGasStationDetailsDataResponse.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A class representing the response to the get gas station details request.
/// </summary>
[DataContract]
public sealed class GetGasStationDetailsD... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasPumpsController.cs | namespace GasStation.CommerceRuntime
{
using Microsoft.Dynamics.Commerce.Runtime;
using Microsoft.Dynamics.Commerce.Runtime.DataModel;
using Microsoft.Dynamics.Commerce.Runtime.Hosting.Contracts;
using System.Threading.Tasks;
/// <summary>
/// The controller to retrieve a new entity.
/// <... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/UpdatePumpStateDataRequest.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A request class to update the pump state.
/// </summary>
[DataContract]
public sealed class UpdatePumpStateDataRequest : Request
{
pu... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/UpdatePumpStateDataResponse.cs | namespace GasStation.CommerceRuntime
{
using System.Runtime.Serialization;
using Microsoft.Dynamics.Commerce.Runtime.Messages;
/// <summary>
/// A response class representing the result of updating the gas pump state.
/// </summary>
[DataContract]
public sealed class UpdatePumpStateDataRes... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/GasPumpStatus.cs | namespace GasStation.CommerceRuntime
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
[DataContract]
public enum GasPumpStatus
{
[EnumMember]
Unknown,
[EnumMember]
Idle,
[EnumMember]
P... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/CommerceRuntime/Contoso.GasStation.CommerceRuntime.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Runtime" Version="$(CommerceSdkPackagesVersion)" />
</ItemGro... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/GasStation/ScaleUnit/Contoso.GasStation.ScaleUnit.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.ScaleUnit" Version="$(CommerceSdkPackagesVersion)" />
</Item... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/readme.md | # Dual Display Sample
## Overview
This sample showcases a sample where the Store Commerce App is extended to show more information on dual display.
## Running the sample
- Open the Developer Command Prompt for Visual Studio 2022
- Restore the nuget packages for the solution by running "nuget restore DualDisplay.sln"
-... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/CustomizationPackage.props | <Project>
<Import Project="..\..\..\..\repo.props" />
<PropertyGroup>
<PackagePublisher Condition="'$(PackagePublisher)' == ''">$(Publisher)</PackagePublisher>
<PackagePublisherDisplayName Condition="'$(PackagePublisherDisplayName)' == ''">$(PublisherDisplayName)</PackagePublisherDisplayName>
<PackageV... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/ScaleUnit.Installer/Contoso.DualDisplay.ScaleUnit.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.ScaleUnit" Version="$(Comm... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/tsconfig.json | {
"extends": "./devDependencies/pos-tsconfig-base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"knockout": [
"Libraries/knockout"
]
},
"noImplicitAny": false
}
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/Contoso.DualDisplay.Pos.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Pos" Version="$(CommerceSdkPackagesVersion)" />
<PackageRe... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/manifest.json | {
"$schema": "./devDependencies/schemas/manifestSchema.json",
"name": "DualDisplay",
"publisher": "Contoso",
"version": "1.0.0.0",
"minimumPosVersion": "9.32.0.0",
"dependencies": [
{
"alias": "knockout",
"format": "amd",
"modulePath": "Libraries/knockout"
}
],
"components": {... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/CustomControl/DualDisplayCustomControl.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/CustomControl/DualDisplayCustomControl.html | <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<!-- Note: The element id is different than the id generated by the POS extensibility framework. This 'template' id is not used by the POS extensibility framework. -->
<... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/Resources | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/Pos/Resources/en-US/resources.resjson | {
"string_0" : "ID",
"_string_0.comment" : "Item ID label text",
"string_1" : "Name",
"_string_1.comment" : "Item name label text",
"string_2" : "Quantity",
"_string_2.comment" : "Item cost label text",
"string_3" : "Discoun... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/StoreCommerce.Installer/Contoso.DualDisplay.StoreCommerce.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props " />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.StoreCommerce" Version="$(C... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/CommerceRuntime/Contoso.DualDisplay.CommerceRuntime.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Runtime" Version="$(CommerceSdkPackagesVersion)" />
</ItemGro... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/Solutions/DualDisplay/CommerceRuntime/DefinePosExtensionPackageTrigger.cs | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/CustomizationPackage.props | <Project>
<Import Project="..\..\..\repo.props" />
<PropertyGroup>
<PackagePublisher Condition="'$(PackagePublisher)' == ''">$(Publisher)</PackagePublisher>
<PackagePublisherDisplayName Condition="'$(PackagePublisherDisplayName)' == ''">$(PublisherDisplayName)</PackagePublisherDisplayName>
<P... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/ScaleUnit.Installer/Contoso.PosExtensions.ScaleUnit.Installer.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dynamics.Commerce.Sdk.Installers.ScaleUnit" Version="$(Comm... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/tsconfig.json | {
"extends": "./devDependencies/pos-tsconfig-base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"knockout": [
"Libraries/knockout"
]
},
"noImplicitAny": false,
"noUnusedLocals": false,
"removeComments": true
}
} | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Helpers.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Contoso.PosExtensions.Pos.csproj | <Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CustomizationPackage.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Content Include="Resources\audio\beep.wav" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Dyn... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/manifest.json | {
"$schema": "./devDependencies/schemas/manifestSchema.json",
"name": "Contoso.PosExtensions",
"publisher": "Contoso",
"version": "1.0.0.0",
"minimumPosVersion": "9.28.0.0",
"description": "A collection of samples that show how to extend pos.",
"dependencies": [
{
"alias": "knockout",
"for... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Resources | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Resources/en-US/strings.resjson | //======================================================================================================
//======================================= Sample comment. ==============================================
//======================================================================================================
{
... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend/Triggers/PreCreatePackingSlipTrigger.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend/Triggers/readme.md | # Triggers Sample
## Overview
This sample shows how to use Cancelable, NonCancelable, and DataModification triggers:
- A Cancelable trigger has been implemented to add a dialog confirmation when modifying the quantity of a product during a transaction.
- A NonCancelable trigger has been implemented to adjust the Unit... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend/Triggers/ApplicationStartTrigger.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE ... | 0 |
Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend | Dynamics365Commerce.InStore/Dynamics365Commerce.InStore/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend/Triggers/PostCustomerSaveTrigger.ts | /**
* SAMPLE CODE NOTICE
*
* THIS SAMPLE CODE IS MADE AVAILABLE AS IS. MICROSOFT MAKES NO WARRANTIES, WHETHER EXPRESS OR IMPLIED,
* OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OR CONDITIONS OF MERCHANTABILITY.
* THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.