Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions libraries/Microsoft.Bot.Schema/ActionTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// regenerated.
// </auto-generated>

using System;

namespace Microsoft.Bot.Schema
{

Expand All @@ -25,6 +27,7 @@ public static class ActionTypes
public const string DownloadFile = "downloadFile";
public const string Signin = "signin";
public const string Call = "call";
[Obsolete("Bot Framework no longer supports payments.")]
public const string Payment = "payment";
public const string MessageBack = "messageBack";
public const string openApp = "openApp";
Expand Down
4 changes: 2 additions & 2 deletions libraries/Microsoft.Bot.Schema/CardAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public CardAction()
/// <param name="type">The type of action implemented by this button.
/// Possible values include: 'openUrl', 'imBack', 'postBack',
/// 'playAudio', 'playVideo', 'showImage', 'downloadFile', 'signin',
/// 'call', 'payment', 'messageBack', 'openApp'</param>
/// 'call', 'messageBack', 'openApp'</param>
/// <param name="title">Text description which appears on the
/// button</param>
/// <param name="image">Image URL which will appear on the button, next
Expand Down Expand Up @@ -65,7 +65,7 @@ public CardAction()
/// Gets or sets the type of action implemented by this button.
/// Possible values include: 'openUrl', 'imBack', 'postBack',
/// 'playAudio', 'playVideo', 'showImage', 'downloadFile', 'signin',
/// 'call', 'payment', 'messageBack'
/// 'call', 'messageBack'
/// </summary>
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/MicrosoftPayMethodData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,13 +11,13 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// W3C Payment Method Data for Microsoft Pay
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class MicrosoftPayMethodData
{
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/PaymentAddress.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,13 +11,13 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Address within a Payment Request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentAddress
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentCurrencyAmount.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Supplies monetary amounts
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentCurrencyAmount
{
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/PaymentDetails.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,13 +11,13 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Provides information about the requested transaction
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentDetails
{
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/PaymentDetailsModifier.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,14 +11,14 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Provides details that modify the PaymentDetails based on payment method
/// identifier
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentDetailsModifier
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,11 +11,12 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Linq;
using System;

/// <summary>
/// Indicates what the payment request is for and the value asked for
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentItem
{
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/PaymentMethodData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,14 +11,14 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Indicates a set of supported payment methods and any associated payment
/// method specific data for those methods
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentMethodData
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions libraries/Microsoft.Bot.Schema/PaymentOperations.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;

namespace Microsoft.Bot.Schema
{
/// <summary>
/// Names for invocable operations in the payment callback protocol.
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public static class PaymentOperations
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Provides information about the options desired for the payment request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentOptions
{
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions libraries/Microsoft.Bot.Schema/PaymentRequest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,13 +11,13 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// A request to make a payment
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentRequest
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentRequestComplete.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Payload delivered when completing a payment request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentRequestComplete
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Result from a completed payment request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentRequestCompleteResult
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentRequestUpdate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// An update to a payment request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentRequestUpdate
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentRequestUpdateResult.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,12 +10,13 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// A result object from a Payment Request Update invoke operation
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentRequestUpdateResult
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentResponse.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -10,13 +10,14 @@

namespace Microsoft.Bot.Schema
{
using System;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// A PaymentResponse is returned when a user has selected a payment method
/// and approved a payment request
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentResponse
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions libraries/Microsoft.Bot.Schema/PaymentShippingOption.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated>
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
Expand All @@ -11,11 +11,12 @@
namespace Microsoft.Bot.Schema
{
using Newtonsoft.Json;
using System.Linq;
using System;

/// <summary>
/// Describes a shipping option
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public partial class PaymentShippingOption
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions libraries/Microsoft.Bot.Schema/PaymentShippingTypes.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;

namespace Microsoft.Bot.Schema
{
/// <summary>
/// Different shipping types. See http://www.w3.org/TR/payment-request/#dom-paymentoptions-shippingtype for more information.
/// </summary>
[Obsolete("Bot Framework no longer supports payments.")]
public static class PaymentShippingTypes
{
/// <summary>
Expand Down
Loading