|
| 1 | +// Copyright © Anointed Automation, LLC., 2024. All Rights Reserved. Created by Alexander Fields https://www.alexanderfields.me on 2024-01-16 19:19:01 |
| 2 | +// Edited by Alexander Fields https://www.alexanderfields.me 2025-07-02 11:48:25 |
| 3 | +//Created by Alexander Fields |
| 4 | + |
| 5 | +namespace AnointedAutomation.Enums |
| 6 | +{ |
| 7 | + /// <summary> |
| 8 | + /// Defines the types of operations that can be performed with a payment processor. |
| 9 | + /// Used for audit logging and tracking payment processor communications. |
| 10 | + /// </summary> |
| 11 | + public enum PaymentOperation : int |
| 12 | + { |
| 13 | + /// <summary> |
| 14 | + /// Unknown or unspecified operation. |
| 15 | + /// </summary> |
| 16 | + Unknown = 0, |
| 17 | + /// <summary> |
| 18 | + /// Create a new payment charge. |
| 19 | + /// </summary> |
| 20 | + CreateCharge = 1, |
| 21 | + /// <summary> |
| 22 | + /// Create a refund for a previous charge. |
| 23 | + /// </summary> |
| 24 | + CreateRefund = 2, |
| 25 | + /// <summary> |
| 26 | + /// Create a new customer in the payment system. |
| 27 | + /// </summary> |
| 28 | + CreateCustomer = 3, |
| 29 | + /// <summary> |
| 30 | + /// Retrieve customer details. |
| 31 | + /// </summary> |
| 32 | + GetCustomer = 4, |
| 33 | + /// <summary> |
| 34 | + /// Update customer information. |
| 35 | + /// </summary> |
| 36 | + UpdateCustomer = 5, |
| 37 | + /// <summary> |
| 38 | + /// Delete a customer from the payment system. |
| 39 | + /// </summary> |
| 40 | + DeleteCustomer = 6, |
| 41 | + /// <summary> |
| 42 | + /// Create a new subscription. |
| 43 | + /// </summary> |
| 44 | + CreateSubscription = 7, |
| 45 | + /// <summary> |
| 46 | + /// Update an existing subscription. |
| 47 | + /// </summary> |
| 48 | + UpdateSubscription = 8, |
| 49 | + /// <summary> |
| 50 | + /// Cancel a subscription. |
| 51 | + /// </summary> |
| 52 | + CancelSubscription = 9, |
| 53 | + /// <summary> |
| 54 | + /// Pause a subscription. |
| 55 | + /// </summary> |
| 56 | + PauseSubscription = 10, |
| 57 | + /// <summary> |
| 58 | + /// Resume a paused subscription. |
| 59 | + /// </summary> |
| 60 | + ResumeSubscription = 11, |
| 61 | + /// <summary> |
| 62 | + /// Retrieve transaction details. |
| 63 | + /// </summary> |
| 64 | + GetTransaction = 12, |
| 65 | + /// <summary> |
| 66 | + /// Verify a webhook signature. |
| 67 | + /// </summary> |
| 68 | + VerifyWebhook = 13, |
| 69 | + /// <summary> |
| 70 | + /// Handle an incoming webhook event. |
| 71 | + /// </summary> |
| 72 | + HandleWebhookEvent = 14, |
| 73 | + /// <summary> |
| 74 | + /// Create a payment intent for future payment. |
| 75 | + /// </summary> |
| 76 | + CreatePaymentIntent = 15, |
| 77 | + /// <summary> |
| 78 | + /// Confirm a payment intent. |
| 79 | + /// </summary> |
| 80 | + ConfirmPaymentIntent = 16, |
| 81 | + /// <summary> |
| 82 | + /// Cancel a payment intent. |
| 83 | + /// </summary> |
| 84 | + CancelPaymentIntent = 17, |
| 85 | + /// <summary> |
| 86 | + /// Capture a previously authorized payment. |
| 87 | + /// </summary> |
| 88 | + CapturePayment = 18, |
| 89 | + /// <summary> |
| 90 | + /// Void a previously authorized payment. |
| 91 | + /// </summary> |
| 92 | + VoidPayment = 19, |
| 93 | + /// <summary> |
| 94 | + /// Add a payment method to a customer. |
| 95 | + /// </summary> |
| 96 | + AddPaymentMethod = 20, |
| 97 | + /// <summary> |
| 98 | + /// Remove a payment method from a customer. |
| 99 | + /// </summary> |
| 100 | + RemovePaymentMethod = 21, |
| 101 | + /// <summary> |
| 102 | + /// Set the default payment method for a customer. |
| 103 | + /// </summary> |
| 104 | + SetDefaultPaymentMethod = 22, |
| 105 | + /// <summary> |
| 106 | + /// Create an invoice. |
| 107 | + /// </summary> |
| 108 | + CreateInvoice = 23, |
| 109 | + /// <summary> |
| 110 | + /// Pay an invoice. |
| 111 | + /// </summary> |
| 112 | + PayInvoice = 24, |
| 113 | + /// <summary> |
| 114 | + /// Void an invoice. |
| 115 | + /// </summary> |
| 116 | + VoidInvoice = 25 |
| 117 | + } |
| 118 | +} |
0 commit comments