1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

update stripe SDK

This commit is contained in:
Kyle Spearrin
2019-08-08 17:36:41 -04:00
parent 6d4e34b229
commit 48ec345702
9 changed files with 27 additions and 26 deletions

View File

@ -124,13 +124,12 @@ namespace Bit.Core.Models.Business
public BillingInvoice(Invoice inv)
{
Amount = inv.AmountDue / 100M;
Date = inv.Date.Value;
Date = inv.Created;
Url = inv.HostedInvoiceUrl;
PdfUrl = inv.InvoicePdf;
Number = inv.Number;
Paid = inv.Paid;
Amount = inv.Total / 100M;
Date = inv.Date.Value;
}
public decimal Amount { get; set; }

View File

@ -123,7 +123,7 @@ namespace Bit.Core.Models.Business
public BillingUpcomingInvoice(Invoice inv)
{
Amount = inv.AmountDue / 100M;
Date = inv.Date.Value;
Date = inv.Created;
}
public BillingUpcomingInvoice(Braintree.Subscription sub)