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
6 changes: 3 additions & 3 deletions AdvancedBilling.Standard/AdvancedBilling.Standard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Maxio.AdvancedBillingSdk</AssemblyName>
<Version>9.0.0.0</Version>
<Version>9.1.0.0</Version>
<Authors>MaxioSdk</Authors>
<Owners></Owners>
<Product>AdvancedBilling.Standard</Product>
<Copyright>Copyright © 2019</Copyright>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<FileVersion>9.0.0.0</FileVersion>
<AssemblyVersion>9.1.0.0</AssemblyVersion>
<FileVersion>9.1.0.0</FileVersion>
<Description>Ultimate billing and pricing flexibility for B2B SaaS.
Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.</Description>
<LangVersion>7.3</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion AdvancedBilling.Standard/AdvancedBillingClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public sealed class AdvancedBillingClient : IConfiguration
};

private readonly GlobalConfiguration globalConfiguration;
private const string userAgent = "AB SDK DotNet:9.0.0 on OS {os-info}";
private const string userAgent = "AB SDK DotNet:9.1.0 on OS {os-info}";
private readonly HttpCallback httpCallback;
private readonly Lazy<APIExportsController> aPIExports;
private readonly Lazy<AdvanceInvoiceController> advanceInvoice;
Expand Down
36 changes: 18 additions & 18 deletions AdvancedBilling.Standard/Controllers/APIExportsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported proforma invoices for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported proforma invoices for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/proforma_invoices/123/rows?per_page=10000&page=1`.
/// ]]>
/// </summary>
Expand All @@ -37,7 +37,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported proforma invoices for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported proforma invoices for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/proforma_invoices/123/rows?per_page=10000&page=1`.
/// ]]>
/// </summary>
Expand All @@ -61,7 +61,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported invoices for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported invoices for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/invoices/123/rows?per_page=10000&page=1`.
/// ]]>
/// </summary>
Expand All @@ -73,7 +73,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported invoices for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported invoices for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/invoices/123/rows?per_page=10000&page=1`.
/// ]]>
/// </summary>
Expand All @@ -97,7 +97,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported subscriptions for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported subscriptions for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/subscriptions/123/rows?per_page=200&page=1`.
/// ]]>
/// </summary>
Expand All @@ -109,7 +109,7 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl

/// <summary>
/// <![CDATA[
/// This API returns an array of exported subscriptions for a provided `batch_id`. Pay close attention to pagination in order to control responses from the server.
/// Lists exported subscriptions for a provided `batch_id`. Use pagination to control responses returned from the server.
/// Example: `GET https://{subdomain}.chargify.com/api_exports/subscriptions/123/rows?per_page=200&page=1`.
/// ]]>
/// </summary>
Expand All @@ -132,15 +132,15 @@ internal APIExportsController(GlobalConfiguration globalConfiguration) : base(gl
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API creates a proforma invoices export and returns a batchjob object.
/// Creates a proforma invoices export and returns a batch job object.
/// It is only available for Relationship Invoicing architecture.
/// </summary>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
public Models.BatchJobResponse ExportProformaInvoices()
=> CoreHelper.RunTask(ExportProformaInvoicesAsync());

/// <summary>
/// This API creates a proforma invoices export and returns a batchjob object.
/// Creates a proforma invoices export and returns a batch job object.
/// It is only available for Relationship Invoicing architecture.
/// </summary>
/// <param name="cancellationToken"> cancellationToken. </param>
Expand All @@ -156,14 +156,14 @@ public Models.BatchJobResponse ExportProformaInvoices()
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API creates an invoices export and returns a batchjob object.
/// Creates an invoices export and returns a batch job object.
/// </summary>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
public Models.BatchJobResponse ExportInvoices()
=> CoreHelper.RunTask(ExportInvoicesAsync());

/// <summary>
/// This API creates an invoices export and returns a batchjob object.
/// Creates an invoices export and returns a batch job object.
/// </summary>
/// <param name="cancellationToken"> cancellationToken. </param>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
Expand All @@ -178,14 +178,14 @@ public Models.BatchJobResponse ExportInvoices()
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API creates a subscriptions export and returns a batchjob object.
/// Creates a subscriptions export and returns a batch job object.
/// </summary>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
public Models.BatchJobResponse ExportSubscriptions()
=> CoreHelper.RunTask(ExportSubscriptionsAsync());

/// <summary>
/// This API creates a subscriptions export and returns a batchjob object.
/// Creates a subscriptions export and returns a batch job object.
/// </summary>
/// <param name="cancellationToken"> cancellationToken. </param>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
Expand All @@ -199,7 +199,7 @@ public Models.BatchJobResponse ExportSubscriptions()
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API returns a batchjob object for proforma invoices export.
/// Returns a batch job object for a proforma invoices export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
Expand All @@ -208,7 +208,7 @@ public Models.BatchJobResponse ReadProformaInvoicesExport(
=> CoreHelper.RunTask(ReadProformaInvoicesExportAsync(batchId));

/// <summary>
/// This API returns a batchjob object for proforma invoices export.
/// Returns a batch job object for a proforma invoices export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <param name="cancellationToken"> cancellationToken. </param>
Expand All @@ -227,7 +227,7 @@ public Models.BatchJobResponse ReadProformaInvoicesExport(
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API returns a batchjob object for invoices export.
/// Returns a batch job object for an invoices export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
Expand All @@ -236,7 +236,7 @@ public Models.BatchJobResponse ReadInvoicesExport(
=> CoreHelper.RunTask(ReadInvoicesExportAsync(batchId));

/// <summary>
/// This API returns a batchjob object for invoices export.
/// Returns a batch job object for an invoices export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <param name="cancellationToken"> cancellationToken. </param>
Expand All @@ -255,7 +255,7 @@ public Models.BatchJobResponse ReadInvoicesExport(
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// This API returns a batchjob object for subscriptions export.
/// Returns a batch job object for a subscriptions export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <returns>Returns the Models.BatchJobResponse response from the API call.</returns>
Expand All @@ -264,7 +264,7 @@ public Models.BatchJobResponse ReadSubscriptionsExport(
=> CoreHelper.RunTask(ReadSubscriptionsExportAsync(batchId));

/// <summary>
/// This API returns a batchjob object for subscriptions export.
/// Returns a batch job object for a subscriptions export.
/// </summary>
/// <param name="batchId">Required parameter: Id of a Batch Job..</param>
/// <param name="cancellationToken"> cancellationToken. </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class AdvanceInvoiceController : BaseController
internal AdvanceInvoiceController(GlobalConfiguration globalConfiguration) : base(globalConfiguration) { }

/// <summary>
/// Generate an invoice in advance for a subscription's next renewal date. [See our docs](https://maxio.zendesk.com/hc/en-us/articles/24252026404749-Issue-Invoice-In-Advance) for more information on advance invoices, including eligibility on generating one; for the most part, they function like any other invoice, except they are issued early and have special behavior upon being voided.
/// Generate an invoice in advance for a subscription's next renewal date. [See our docs](https://maxio.zendesk.com/hc/en-us/articles/24252026404749-Issue-Invoice-In-Advance) for more information on advance invoices, including eligibility for generating one; for the most part, they function like any other invoice, except they are issued early and have special behavior upon being voided.
/// A subscription may only have one advance invoice per billing period. Attempting to issue an advance invoice when one already exists will return an error.
/// That said, regeneration of the invoice may be forced with the params `force: true`, which will void an advance invoice if one exists and generate a new one. If no advance invoice exists, a new one will be generated.
/// We recommend using either the create or preview endpoints for proforma invoices to preview this advance invoice before using this endpoint to generate it.
Expand All @@ -37,7 +37,7 @@ public Models.Invoice IssueAdvanceInvoice(
=> CoreHelper.RunTask(IssueAdvanceInvoiceAsync(subscriptionId, body));

/// <summary>
/// Generate an invoice in advance for a subscription's next renewal date. [See our docs](https://maxio.zendesk.com/hc/en-us/articles/24252026404749-Issue-Invoice-In-Advance) for more information on advance invoices, including eligibility on generating one; for the most part, they function like any other invoice, except they are issued early and have special behavior upon being voided.
/// Generate an invoice in advance for a subscription's next renewal date. [See our docs](https://maxio.zendesk.com/hc/en-us/articles/24252026404749-Issue-Invoice-In-Advance) for more information on advance invoices, including eligibility for generating one; for the most part, they function like any other invoice, except they are issued early and have special behavior upon being voided.
/// A subscription may only have one advance invoice per billing period. Attempting to issue an advance invoice when one already exists will return an error.
/// That said, regeneration of the invoice may be forced with the params `force: true`, which will void an advance invoice if one exists and generate a new one. If no advance invoice exists, a new one will be generated.
/// We recommend using either the create or preview endpoints for proforma invoices to preview this advance invoice before using this endpoint to generate it.
Expand All @@ -64,7 +64,7 @@ public Models.Invoice IssueAdvanceInvoice(
.ExecuteAsync(cancellationToken).ConfigureAwait(false);

/// <summary>
/// Once an advance invoice has been generated for a subscription's upcoming renewal, it can be viewed through this endpoint. There can only be one advance invoice per subscription per billing cycle.
/// Returns the advance invoice generated for a subscription's upcoming renewal. There can only be one advance invoice per subscription per billing cycle.
/// </summary>
/// <param name="subscriptionId">Required parameter: The Chargify id of the subscription..</param>
/// <returns>Returns the Models.Invoice response from the API call.</returns>
Expand All @@ -73,7 +73,7 @@ public Models.Invoice ReadAdvanceInvoice(
=> CoreHelper.RunTask(ReadAdvanceInvoiceAsync(subscriptionId));

/// <summary>
/// Once an advance invoice has been generated for a subscription's upcoming renewal, it can be viewed through this endpoint. There can only be one advance invoice per subscription per billing cycle.
/// Returns the advance invoice generated for a subscription's upcoming renewal. There can only be one advance invoice per subscription per billing cycle.
/// </summary>
/// <param name="subscriptionId">Required parameter: The Chargify id of the subscription..</param>
/// <param name="cancellationToken"> cancellationToken. </param>
Expand Down
Loading
Loading