Skip to content
Branch: master
Find file History

Latest commit

dev-kiranbanda SQL and updates to documentation related to database. (#15)
* Moved the database script to deployment/Database folder.

* Updates to documentation - relocated the sql and db documentation to a folder /deployment/database.

* Addressed comments from a user who pointed out that the reference in the document is not matching the name of the artifact.
Latest commit 01d2b9e Mar 16, 2020

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Attributes
Configurations
Contracts
Exceptions Updated Project Directories and Depencencies to .NET Core 3.1.1 (#3) Feb 13, 2020
Helpers SQL and updates to documentation related to database. (#15) Mar 16, 2020
Models Updated Project Directories and Depencencies to .NET Core 3.1.1 (#3) Feb 13, 2020
Network Updated Project Directories and Depencencies to .NET Core 3.1.1 (#3) Feb 13, 2020
Services Added the documentation related to AD app settings. These settings ar… Feb 20, 2020
WebHook Updated Project Directories and Depencencies to .NET Core 3.1.1 (#3) Feb 13, 2020
Microsoft.Marketplace.SaaS.SDK.Client.csproj
README.md

README.md

Transactable SaaS Client Library

Introduction

This library implements the Fulfillment v2 and Metered APIs and the Webhook that handles messages from the Marketplace's E-commerce engine.

Description

This is the core library for the transactable SaaS SDK. It provides the implementation of the APIs

Source Code

The Project is located in the Microsoft.Marketplace.SaaS.SDK.Client folder. The project is composed of the following sections:

Section Name Description
Attributes Custom attribute used to annotate models
Configurations Model to hold API configuration
Contracts Interfaces that define the contract to be implemented
Exceptions Custom Exceptions
Helpers Classes with utility methods
Models Models to hold the request / response to / from APIs
Network Comprises rest client implementation
Services Implementation for the contracts defined in Contracts folder
WebHook Contains the model for the payload received by the Webhook, a processor that decodes the action and delegates further processing to a handler ( implemented by client )

Implementation Best Practices

  • Implement IWebhookHandler to process the data received via Webhook and pass that to the WebhookProcessor.
  • Catch custom exceptions thrown by the implementations of Fulfillment API and Metered API clients and consume the additional information related to the error.
You can’t perform that action at this time.