RechargeSharp 0.2.25
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RechargeSharp --version 0.2.25
NuGet\Install-Package RechargeSharp -Version 0.2.25
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RechargeSharp" Version="0.2.25" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RechargeSharp --version 0.2.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RechargeSharp, 0.2.25"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RechargeSharp as a Cake Addin #addin nuget:?package=RechargeSharp&version=0.2.25 // Install RechargeSharp as a Cake Tool #tool nuget:?package=RechargeSharp&version=0.2.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RechargeSharp, a C# library for RechargePayments
built to work with the api documented at https://developer.rechargepayments.com/
Please feel free to submit pull requests on github
Quickstart
Subscriptions
// initialize a SubscriptionService to start working with subscriptions.
var subscriptionService = new SubscriptionService("APIKEY");
// get all subscriptions with status ACTIVE and created after two months ago.
var subscriptions = await subscriptionService.GetAllSubscriptionsWithParamsAsync(status: "ACTIVE", createdAtMin: DateTime.Today.AddMonths(-2));
// iterate results and print subscription Id.
foreach (var subscription in subscriptions.Subscriptions)
{
Console.WriteLine(subscription.Id);
}
Customers
// initialize a CustomerService to start working with customers.
var customerService = new CustomerService("APIKEY");
// get all customers created in the last two days.
var customers = await customerService.GetAllCustomersWithParamsAsync(createdAtMin: DateTime.Now.AddDays(-2));
// iterate results and print whether the customer has a valid payment method.
foreach (var customer in customers.Customers)
{
Console.WriteLine(customer.HasValidPaymentMethod);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Extensions.Http (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.2)
- Polly (>= 7.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
12.2.3 | 1,540 | 10/30/2023 |
12.2.2 | 1,440 | 11/8/2022 |
12.2.1 | 646 | 9/13/2022 |
12.2.0 | 885 | 9/13/2022 |
12.1.1 | 467 | 9/5/2022 |
12.1.1-alpha.2 | 292 | 7/27/2022 |
12.1.1-alpha.1 | 123 | 7/27/2022 |
12.1.0-alpha.3 | 118 | 7/27/2022 |
12.0.0-alpha.3 | 654 | 6/2/2022 |
12.0.0-alpha.2 | 115 | 6/2/2022 |
12.0.0-alpha.1 | 118 | 6/2/2022 |
11.2.0-alpha.2 | 113 | 5/24/2022 |
11.2.0-alpha.1 | 130 | 4/26/2022 |
11.1.0-beta.5 | 2,729 | 3/23/2022 |
11.1.0-beta.4 | 123 | 3/2/2022 |
11.1.0-beta.3 | 945 | 2/24/2022 |
11.1.0-beta.1 | 117 | 2/17/2022 |
11.0.1 | 722 | 2/9/2022 |
11.0.1-alpha.1 | 123 | 2/9/2022 |
11.0.0 | 459 | 2/7/2022 |
11.0.0-alpha.7 | 390 | 2/1/2022 |
11.0.0-alpha.6 | 137 | 1/10/2022 |
11.0.0-alpha.4 | 1,859 | 12/14/2021 |
11.0.0-alpha.3 | 147 | 12/12/2021 |
11.0.0-alpha.2 | 151 | 12/10/2021 |
10.0.0 | 523 | 12/8/2021 |
10.0.0-alpha.3 | 621 | 11/30/2021 |
10.0.0-alpha.2 | 402 | 11/23/2021 |
9.0.0 | 1,196 | 11/9/2021 |
9.0.0-alpha.2 | 517 | 10/8/2021 |
9.0.0-alpha.1 | 270 | 10/7/2021 |
8.1.0-alpha.3 | 372 | 10/1/2021 |
8.1.0-alpha.2 | 216 | 9/28/2021 |
8.1.0-alpha.1 | 149 | 9/27/2021 |
8.0.1 | 414 | 9/23/2021 |
7.0.0 | 501 | 9/8/2021 |
7.0.0-alpha.4 | 470 | 8/4/2021 |
7.0.0-alpha.3 | 189 | 8/3/2021 |
7.0.0-alpha.2 | 151 | 8/2/2021 |
7.0.0-alpha.1 | 174 | 8/2/2021 |
6.0.1 | 509 | 7/13/2021 |
6.0.0 | 437 | 7/12/2021 |
5.1.0 | 439 | 7/5/2021 |
5.0.0 | 755 | 6/9/2021 |
5.0.0-alpha.1 | 164 | 6/9/2021 |
4.6.0 | 700 | 5/20/2021 |
4.6.0-beta.2 | 191 | 5/13/2021 |
4.6.0-beta.1 | 176 | 5/13/2021 |
4.5.0 | 400 | 5/11/2021 |
4.5.0-beta.8 | 159 | 5/11/2021 |
4.5.0-beta.7 | 183 | 4/27/2021 |
4.5.0-beta.5 | 144 | 4/27/2021 |
4.5.0-beta.4 | 158 | 4/27/2021 |
4.5.0-beta.3 | 192 | 4/23/2021 |
4.5.0-beta.2 | 170 | 4/22/2021 |
4.5.0-beta.1 | 167 | 4/21/2021 |
4.4.6 | 559 | 4/12/2021 |
4.4.6-beta.1 | 165 | 4/12/2021 |
4.4.4 | 406 | 4/9/2021 |
4.4.4-beta.1 | 164 | 4/8/2021 |
4.4.3 | 476 | 4/5/2021 |
4.4.2 | 501 | 3/26/2021 |
4.4.1 | 592 | 3/14/2021 |
4.4.0 | 780 | 2/9/2021 |
4.3.2 | 385 | 1/27/2021 |
4.3.1 | 350 | 1/27/2021 |
4.3.0 | 435 | 1/20/2021 |
4.2.0 | 390 | 1/13/2021 |
4.1.4 | 398 | 12/29/2020 |
4.1.3 | 386 | 12/29/2020 |
4.1.2 | 464 | 12/21/2020 |
4.1.1 | 1,018 | 5/29/2020 |
4.1.0 | 518 | 5/29/2020 |
4.1.0-beta.1 | 267 | 5/27/2020 |
4.0.3-beta.2 | 318 | 5/11/2020 |
4.0.3-beta.1 | 273 | 5/11/2020 |
4.0.2 | 578 | 4/9/2020 |
4.0.1 | 585 | 3/25/2020 |
4.0.0 | 480 | 3/25/2020 |
4.0.0-beta.2 | 256 | 3/24/2020 |
4.0.0-beta.1 | 261 | 3/24/2020 |
3.2.8 | 513 | 3/23/2020 |
3.2.7 | 518 | 3/19/2020 |
3.2.6 | 523 | 3/9/2020 |
3.2.5 | 527 | 3/5/2020 |
3.2.4 | 514 | 3/4/2020 |
3.2.3 | 551 | 3/4/2020 |
3.2.2 | 496 | 3/4/2020 |
3.2.1 | 506 | 3/4/2020 |
3.2.0 | 557 | 3/4/2020 |
3.1.0 | 518 | 3/4/2020 |
3.0.10 | 525 | 2/27/2020 |
3.0.9 | 465 | 2/24/2020 |
3.0.7 | 485 | 2/24/2020 |
3.0.6 | 579 | 2/3/2020 |
3.0.5 | 519 | 2/3/2020 |
3.0.3 | 592 | 1/31/2020 |
3.0.1 | 528 | 1/13/2020 |
3.0.0 | 625 | 12/28/2019 |
2.2.9 | 584 | 12/13/2019 |
2.2.8 | 522 | 12/13/2019 |
2.2.7 | 633 | 11/21/2019 |
2.2.6 | 542 | 11/12/2019 |
2.2.5 | 519 | 11/8/2019 |
2.2.4 | 509 | 11/6/2019 |
2.2.3 | 520 | 11/6/2019 |
2.2.2 | 517 | 11/6/2019 |
2.2.1 | 520 | 11/6/2019 |
2.2.0 | 516 | 11/6/2019 |
2.1.1 | 495 | 11/1/2019 |
2.1.0 | 502 | 10/31/2019 |
2.0.1 | 541 | 10/29/2019 |
2.0.0 | 529 | 10/29/2019 |
1.5.0 | 520 | 10/25/2019 |
1.4.0 | 500 | 10/23/2019 |
1.3.0 | 521 | 10/16/2019 |
1.2.0 | 520 | 10/16/2019 |
1.1.4 | 506 | 10/9/2019 |
1.1.0 | 542 | 10/9/2019 |
1.0.0 | 530 | 9/18/2019 |
0.2.58 | 512 | 9/17/2019 |
0.2.57 | 559 | 9/16/2019 |
0.2.56 | 554 | 9/16/2019 |
0.2.55 | 757 | 9/16/2019 |
0.2.54 | 556 | 9/16/2019 |
0.2.53 | 556 | 9/16/2019 |
0.2.52 | 550 | 9/16/2019 |
0.2.51 | 547 | 9/13/2019 |
0.2.50 | 570 | 9/12/2019 |
0.2.49 | 547 | 9/12/2019 |
0.2.48 | 569 | 9/10/2019 |
0.2.47 | 548 | 9/10/2019 |
0.2.46 | 588 | 9/9/2019 |
0.2.43 | 562 | 9/7/2019 |
0.2.42 | 565 | 9/7/2019 |
0.2.37 | 552 | 9/7/2019 |
0.2.36 | 553 | 9/7/2019 |
0.2.35 | 554 | 9/7/2019 |
0.2.34 | 562 | 9/6/2019 |
0.2.33 | 545 | 9/5/2019 |
0.2.32 | 518 | 9/5/2019 |
0.2.31 | 535 | 9/5/2019 |
0.2.30 | 538 | 9/4/2019 |
0.2.25 | 553 | 9/4/2019 |
0.2.24 | 555 | 9/4/2019 |
0.2.23 | 516 | 9/3/2019 |
0.2.14 | 520 | 9/3/2019 |
0.2.13 | 542 | 9/3/2019 |
0.2.9 | 537 | 9/3/2019 |
0.2.8 | 518 | 9/3/2019 |
0.2.7 | 521 | 9/3/2019 |
0.2.6 | 529 | 9/3/2019 |
0.1.9 | 558 | 8/30/2019 |
0.1.8 | 569 | 8/15/2019 |
0.1.4 | 548 | 8/15/2019 |
0.1.3 | 513 | 8/15/2019 |
0.1.2 | 532 | 8/15/2019 |
0.1.1 | 514 | 8/15/2019 |
0.1.0 | 562 | 7/30/2019 |
0.0.32 | 568 | 7/26/2019 |
0.0.31 | 555 | 7/26/2019 |
0.0.24 | 563 | 7/25/2019 |
0.0.23 | 572 | 7/25/2019 |
0.0.22 | 539 | 7/25/2019 |
0.0.21 | 543 | 7/25/2019 |
0.0.20 | 531 | 7/25/2019 |
0.0.19 | 538 | 7/25/2019 |
0.0.18 | 563 | 7/25/2019 |
0.0.17 | 546 | 7/25/2019 |
0.0.16 | 579 | 7/23/2019 |
0.0.15 | 553 | 7/22/2019 |
0.0.14 | 601 | 7/22/2019 |
0.0.13 | 597 | 7/22/2019 |
0.0.12 | 561 | 7/22/2019 |
0.0.11 | 615 | 7/11/2019 |
0.0.10 | 597 | 7/10/2019 |
0.0.9 | 604 | 7/10/2019 |
0.0.8 | 566 | 7/9/2019 |
0.0.7 | 550 | 7/9/2019 |
0.0.6 | 550 | 7/9/2019 |
0.0.5 | 572 | 7/8/2019 |
0.0.4 | 572 | 7/8/2019 |
0.0.3 | 569 | 7/7/2019 |
0.0.2 | 549 | 7/4/2019 |
0.0.1 | 564 | 6/25/2019 |
Content type for create subscription changed