AnointedAutomation.Enums 1.0.7

dotnet add package AnointedAutomation.Enums --version 1.0.7
                    
NuGet\Install-Package AnointedAutomation.Enums -Version 1.0.7
                    
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="AnointedAutomation.Enums" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AnointedAutomation.Enums" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="AnointedAutomation.Enums" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AnointedAutomation.Enums --version 1.0.7
                    
#r "nuget: AnointedAutomation.Enums, 1.0.7"
                    
#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.
#:package AnointedAutomation.Enums@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AnointedAutomation.Enums&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=AnointedAutomation.Enums&version=1.0.7
                    
Install as a Cake Tool

AnointedAutomation.Enums

Jesus is King ✝️

Shared enumerations for the AnointedAutomation packages: payment methods, providers, transaction and subscription states, payment operations, card brands, webhook event types, and moderation categories. Centralizing them in one small package keeps the numeric values consistent across every package and service that stores or exchanges them.

NuGet Downloads

Installation

dotnet add package AnointedAutomation.Enums
  • Target framework: net10.0
  • Dependencies: none

Quick start

using AnointedAutomation.Enums;

PaymentProvider provider = PaymentProvider.Stripe;
TransactionStatus status = TransactionStatus.Succeeded;
CardType card = CardType.Visa;

bool settled = status == TransactionStatus.Succeeded || status == TransactionStatus.PartiallyRefunded;

Enums

All enums live in the AnointedAutomation.Enums namespace. Every value is assigned explicitly, so persisted integers stay stable.

Enum Underlying type Purpose
PaymentType int Supported payment methods.
PaymentProvider int Supported payment gateway providers.
TransactionStatus int Status of a payment transaction across providers.
SubscriptionStatus int Status of a subscription.
PaymentOperation int Operations performed against a payment processor, for audit logging.
CardType int Credit and debit card brands.
WebhookEventType int Common webhook event types across payment providers.
Sin uint Moderation categories: prohibited conduct that can get a person flagged or banned on Anointed Automation platforms.

PaymentType

None (0), PayPalToken (1), MasterCard (2), Visa (3), ACH (4)

PaymentProvider

None (0), Stripe (1), PayPal (2), Braintree (3), Checkout (4, Checkout.com), Square (5), Adyen (6), AuthorizeNet (7)

TransactionStatus

None (0), Pending (1), Processing (2), RequiresAction (3, e.g. 3D Secure), RequiresPaymentMethod (4), RequiresConfirmation (5), RequiresCapture (6), Succeeded (7), Failed (8), Canceled (9), Refunded (10), PartiallyRefunded (11), Disputed (12), Expired (13), Authorized (14), Voided (15)

SubscriptionStatus

None (0), Active (1), Trialing (2), PastDue (3), Cancelled (4), Suspended (5), Paused (6), Expired (7), Pending (8), NotRenewed (9)

PaymentOperation

Unknown (0), CreateCharge (1), CreateRefund (2), CreateCustomer (3), GetCustomer (4), UpdateCustomer (5), DeleteCustomer (6), CreateSubscription (7), UpdateSubscription (8), CancelSubscription (9), PauseSubscription (10), ResumeSubscription (11), GetTransaction (12), VerifyWebhook (13), HandleWebhookEvent (14), CreatePaymentIntent (15), ConfirmPaymentIntent (16), CancelPaymentIntent (17), CapturePayment (18), VoidPayment (19), AddPaymentMethod (20), RemovePaymentMethod (21), SetDefaultPaymentMethod (22), CreateInvoice (23), PayInvoice (24), VoidInvoice (25)

CardType

Unknown (0), Visa (1), MasterCard (2), AmericanExpress (3), Discover (4), DinersClub (5), JCB (6), UnionPay (7), Maestro (8)

WebhookEventType

Unknown (0), PaymentCreated (1), PaymentSucceeded (2), PaymentFailed (3), PaymentCanceled (4), RefundCreated (5), RefundSucceeded (6), RefundFailed (7), DisputeCreated (8), DisputeUpdated (9), DisputeClosed (10), CustomerCreated (11), CustomerUpdated (12), CustomerDeleted (13), SubscriptionCreated (14), SubscriptionUpdated (15), SubscriptionCanceled (16), SubscriptionTrialEnding (17), InvoiceCreated (18), InvoicePaid (19), InvoicePaymentFailed (20), PaymentMethodAttached (21), PaymentMethodDetached (22), PayoutCreated (23), PayoutPaid (24), PayoutFailed (25)

Sin

Grounded in Galatians 5:19-21 and the classic deadly sins. Serialized as its unsigned integer value.

Blasphemy (0), Idolatry (1), Sorcery (2), SexualImmorality (3), Pride (4), Greed (5), Lust (6), Wrath (7), Envy (8), Gluttony (9), Sloth (10), Deceit (11), Theft (12), Murder (13)

Note the spellings: TransactionStatus.Canceled and WebhookEventType.SubscriptionCanceled use one "l", while SubscriptionStatus.Cancelled uses two.

License

MIT. See LICENSE. Copyright © Anointed Automation Corporation. Stewarded by Alexander Fields.

Support This Project

This library is free and open source. The best way to support the work is to shop with us:

Found a bug or have a request? Open an issue: https://github.com/AnointedAutomation/AnointedAutomation/issues

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AnointedAutomation.Enums:

Package Downloads
AnointedAutomation.Objects

Plain POCO models for user accounts, billing and payments, single sign-on identities (Google, Microsoft, Apple, Facebook, Discord, GitHub, LinkedIn, Twitch, Yahoo, Amazon, Reddit, Shopify), and standard API response envelopes.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7 150 10/26/2026
1.0.6 655 10/1/2026
1.0.5 158 10/1/2026
1.0.4 314 9/25/2026
1.0.3 638 8/23/2026
1.0.2 194 7/29/2026
1.0.1 1,282 5/30/2026
1.0.0 1,034 3/15/2026
0.0.4 432 3/11/2026
0.0.3 461 3/1/2026
0.0.2 142 2/27/2026
0.0.1 203 2/26/2026