Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DE-679] 1.0.0 Release #22

Merged
merged 1 commit into from
Feb 5, 2024
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>0.0.5.0</Version>
<Version>1.0.0.0</Version>
<Authors>MaxioSdk</Authors>
<Owners></Owners>
<Product>AdvancedBilling.Standard</Product>
<Copyright>Copyright © 2019</Copyright>
<AssemblyVersion>0.0.5.0</AssemblyVersion>
<FileVersion>0.0.5.0</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.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 @@ -39,7 +39,7 @@ public sealed class AdvancedBillingClient : IConfiguration
};

private readonly GlobalConfiguration globalConfiguration;
private const string userAgent = "AB SDK DotNet:0.0.5 on OS {os-info}";
private const string userAgent = "AB SDK DotNet:1.0.0 on OS {os-info}";
private readonly BasicAuthManager basicAuthManager;
private readonly Lazy<APIExportsController> aPIExports;
private readonly Lazy<AdvanceInvoiceController> advanceInvoice;
Expand Down
2 changes: 1 addition & 1 deletion AdvancedBilling.Standard/Models/BankAccountAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public BankAccountAttributes(
string bankName = null,
string bankRoutingNumber = null,
string bankAccountNumber = null,
Models.BankAccountType? bankAccountType = Models.BankAccountType.Checking,
Models.BankAccountType? bankAccountType = null,
string bankBranchCode = null,
string bankIban = null,
Models.BankAccountHolderType? bankAccountHolderType = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public BankAccountPaymentProfile(
string customerVaultToken = null,
string billingAddress2 = null,
string bankName = null,
Models.BankAccountType? bankAccountType = Models.BankAccountType.Checking,
Models.BankAccountType? bankAccountType = null,
Models.BankAccountHolderType? bankAccountHolderType = null,
Models.PaymentType? paymentType = null,
bool? verified = false,
Expand Down
4 changes: 2 additions & 2 deletions AdvancedBilling.Standard/Models/ComponentPricePoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public ComponentPricePoint(
DateTimeOffset? createdAt = null,
DateTimeOffset? updatedAt = null,
List<Models.ComponentPrice> prices = null,
bool? useSiteExchangeRate = true,
bool? useSiteExchangeRate = null,
int? subscriptionId = null,
bool? taxIncluded = null,
int? interval = null,
Expand Down Expand Up @@ -195,7 +195,7 @@ public DateTimeOffset? ArchivedAt
public List<Models.ComponentPrice> Prices { get; set; }

/// <summary>
/// Whether to use the site level exchange rate or define your own prices for each currency if you have multiple currencies defined on the site.
/// Whether to use the site level exchange rate or define your own prices for each currency if you have multiple currencies defined on the site. Defaults to true during creation.
/// </summary>
[JsonProperty("use_site_exchange_rate", NullValueHandling = NullValueHandling.Ignore)]
public bool? UseSiteExchangeRate { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions AdvancedBilling.Standard/Models/CreateInvoicePayment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public CreateInvoicePayment()
public CreateInvoicePayment(
CreateInvoicePaymentAmount amount = null,
string memo = null,
Models.InvoicePaymentMethodType? method = Models.InvoicePaymentMethodType.Other,
Models.InvoicePaymentMethodType? method = null,
string details = null)
{
this.Amount = amount;
Expand All @@ -62,7 +62,7 @@ public CreateInvoicePayment(
public string Memo { get; set; }

/// <summary>
/// The type of payment method used.
/// The type of payment method used. Defaults to other.
/// </summary>
[JsonProperty("method", NullValueHandling = NullValueHandling.Ignore)]
public Models.InvoicePaymentMethodType? Method { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public CreateInvoicePaymentRequest()
/// <param name="type">type.</param>
public CreateInvoicePaymentRequest(
Models.CreateInvoicePayment payment,
Models.InvoicePaymentType? type = Models.InvoicePaymentType.External)
Models.InvoicePaymentType? type = null)
{
this.Payment = payment;
this.Type = type;
Expand All @@ -49,7 +49,7 @@ public CreateInvoicePaymentRequest(
public Models.CreateInvoicePayment Payment { get; set; }

/// <summary>
/// The type of payment to be applied to an Invoice.
/// The type of payment to be applied to an Invoice. Defaults to external.
/// </summary>
[JsonProperty("type", NullValueHandling = NullValueHandling.Ignore)]
public Models.InvoicePaymentType? Type { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions AdvancedBilling.Standard/Models/CreateMultiInvoicePayment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public CreateMultiInvoicePayment(
List<Models.CreateInvoicePaymentApplication> applications,
string memo = null,
string details = null,
Models.InvoicePaymentMethodType? method = Models.InvoicePaymentMethodType.Other,
Models.InvoicePaymentMethodType? method = null,
string receivedOn = null)
{
this.Memo = memo;
Expand All @@ -68,7 +68,7 @@ public CreateMultiInvoicePayment(
public string Details { get; set; }

/// <summary>
/// The type of payment method used.
/// The type of payment method used. Defaults to other.
/// </summary>
[JsonProperty("method", NullValueHandling = NullValueHandling.Ignore)]
public Models.InvoicePaymentMethodType? Method { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion AdvancedBilling.Standard/Models/CreatePaymentProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public CreatePaymentProfile(
string bankRoutingNumber = null,
string bankAccountNumber = null,
string bankBranchCode = null,
Models.BankAccountType? bankAccountType = Models.BankAccountType.Checking,
Models.BankAccountType? bankAccountType = null,
Models.BankAccountHolderType? bankAccountHolderType = null,
string lastFour = null)
{
Expand Down
2 changes: 1 addition & 1 deletion AdvancedBilling.Standard/Models/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public Subscription(
DateTimeOffset? onHoldAt = null,
bool? prepaidDunning = null,
List<Models.SubscriptionIncludedCoupon> coupons = null,
bool? dunningCommunicationDelayEnabled = false,
bool? dunningCommunicationDelayEnabled = null,
string dunningCommunicationDelayTimeZone = null,
bool? receivesInvoiceEmails = null,
string locale = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public SubscriptionGroupBankAccount(
string bankRoutingNumber = null,
string bankIban = null,
string bankBranchCode = null,
Models.BankAccountType? bankAccountType = Models.BankAccountType.Checking,
Models.BankAccountType? bankAccountType = null,
Models.BankAccountHolderType? bankAccountHolderType = null,
Models.PaymentType? paymentType = null,
string billingAddress = null,
Expand Down
12 changes: 8 additions & 4 deletions AdvancedBilling.Standard/Models/UpdateSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class UpdateSubscription
private string dunningCommunicationDelayTimeZone;
private Dictionary<string, bool> shouldSerialize = new Dictionary<string, bool>
{
{ "dunning_communication_delay_enabled", true },
{ "dunning_communication_delay_enabled", false },
{ "dunning_communication_delay_time_zone", false },
};

Expand Down Expand Up @@ -62,7 +62,7 @@ public UpdateSubscription(
Models.CreditCardAttributes creditCardAttributes = null,
string productHandle = null,
int? productId = null,
bool? productChangeDelayed = false,
bool? productChangeDelayed = null,
string nextProductId = null,
string nextProductPricePointId = null,
UpdateSubscriptionSnapDay snapDay = null,
Expand All @@ -74,7 +74,7 @@ public UpdateSubscription(
string reference = null,
Models.SubscriptionCustomPrice customPrice = null,
List<Models.UpdateSubscriptionComponent> components = null,
bool? dunningCommunicationDelayEnabled = false,
bool? dunningCommunicationDelayEnabled = null,
string dunningCommunicationDelayTimeZone = null)
{
this.CreditCardAttributes = creditCardAttributes;
Expand All @@ -92,7 +92,11 @@ public UpdateSubscription(
this.Reference = reference;
this.CustomPrice = customPrice;
this.Components = components;
this.DunningCommunicationDelayEnabled = dunningCommunicationDelayEnabled;
if (dunningCommunicationDelayEnabled != null)
{
this.DunningCommunicationDelayEnabled = dunningCommunicationDelayEnabled;
}

if (dunningCommunicationDelayTimeZone != null)
{
this.DunningCommunicationDelayTimeZone = dunningCommunicationDelayTimeZone;
Expand Down
10 changes: 5 additions & 5 deletions AdvancedBilling.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdvancedBilling.Standard", "AdvancedBilling.Standard/AdvancedBilling.Standard.csproj", "{2e86d14b-fc0b-4545-bc29-cbcb34330504}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdvancedBilling.Standard", "AdvancedBilling.Standard/AdvancedBilling.Standard.csproj", "{9b5ae585-09f7-47f5-9305-4d678e35ee9c}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2e86d14b-fc0b-4545-bc29-cbcb34330504}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2e86d14b-fc0b-4545-bc29-cbcb34330504}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2e86d14b-fc0b-4545-bc29-cbcb34330504}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2e86d14b-fc0b-4545-bc29-cbcb34330504}.Release|Any CPU.Build.0 = Release|Any CPU
{9b5ae585-09f7-47f5-9305-4d678e35ee9c}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9b5ae585-09f7-47f5-9305-4d678e35ee9c}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9b5ae585-09f7-47f5-9305-4d678e35ee9c}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9b5ae585-09f7-47f5-9305-4d678e35ee9c}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading
Loading