-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DE-733] Code fixes before the Release
- Cleanup introduction section - Add new Subscription Groups endpoints errors - Use missing enums in Subscription Groups models - Change Event's id format to long - Added missing fields in the Account Balance model and added error schema for "createPrepayment" endpoint for 422 response - Changed Prepayment `inCents` properties type to long
- Loading branch information
1 parent
b742e2d
commit 1fca65b
Showing
52 changed files
with
951 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
AdvancedBilling.Standard/Exceptions/SubscriptionGroupCreateErrorResponseException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// <copyright file="SubscriptionGroupCreateErrorResponseException.cs" company="APIMatic"> | ||
// Copyright (c) APIMatic. All rights reserved. | ||
// </copyright> | ||
namespace AdvancedBilling.Standard.Exceptions | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using APIMatic.Core.Utilities.Converters; | ||
using AdvancedBilling.Standard; | ||
using AdvancedBilling.Standard.Http.Client; | ||
using AdvancedBilling.Standard.Models; | ||
using AdvancedBilling.Standard.Models.Containers; | ||
using AdvancedBilling.Standard.Utilities; | ||
using JsonSubTypes; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
/// <summary> | ||
/// SubscriptionGroupCreateErrorResponseException. | ||
/// </summary> | ||
public class SubscriptionGroupCreateErrorResponseException : ApiException | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="SubscriptionGroupCreateErrorResponseException"/> class. | ||
/// </summary> | ||
/// <param name="reason"> The reason for throwing exception.</param> | ||
/// <param name="context"> The HTTP context that encapsulates request and response objects.</param> | ||
public SubscriptionGroupCreateErrorResponseException(string reason, HttpContext context) | ||
: base(reason, context) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets Errors. | ||
/// </summary> | ||
[JsonProperty("errors")] | ||
public SubscriptionGroupCreateErrorResponseErrors Errors { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.