1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-18 02:11:22 +01:00
bitwarden-server/test/Api.Test
Alex Morask 06910175e2
[AC-2576] Replace Billing commands and queries with services (#4070)
* Replace SubscriberQueries with SubscriberService

* Replace OrganizationBillingQueries with OrganizationBillingService

* Replace ProviderBillingQueries with ProviderBillingService, move to Commercial

* Replace AssignSeatsToClientOrganizationCommand with ProviderBillingService, move to commercial

* Replace ScaleSeatsCommand with ProviderBillingService and move to Commercial

* Replace CancelSubscriptionCommand with SubscriberService

* Replace CreateCustomerCommand with ProviderBillingService and move to Commercial

* Replace StartSubscriptionCommand with ProviderBillingService and moved to Commercial

* Replaced RemovePaymentMethodCommand with SubscriberService

* Formatting

* Used dotnet format this time

* Changing ProviderBillingService to scoped

* Found circular dependency'

* One more time with feeling

* Formatting

* Fix error in remove org from provider

* Missed test fix in conflit

* [AC-1937] Server: Implement endpoint to retrieve provider payment information (#4107)

* Move the gettax and paymentmethod from stripepayment class

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add the method to retrieve the tax and payment details

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add unit tests for the paymentInformation method

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add the endpoint to retrieve paymentinformation

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add unit tests to the SubscriberService

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Remove the getTaxInfoAsync update reference

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
2024-05-23 10:17:00 -04:00
..
AdminConsole [AC-2576] Replace Billing commands and queries with services (#4070) 2024-05-23 10:17:00 -04:00
Auth [AC-2576] Replace Billing commands and queries with services (#4070) 2024-05-23 10:17:00 -04:00
Billing/Controllers [AC-2576] Replace Billing commands and queries with services (#4070) 2024-05-23 10:17:00 -04:00
Controllers [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
Models/Request/Accounts [PM-3565] Enforce higher minimum KDF (#3304) 2023-12-05 17:21:46 +01:00
SecretsManager [SM-1030] Cleanup old access policy management code (#4015) 2024-05-06 14:56:58 -05:00
Tools [PM-3797 Part 4] Add Sends to new Key Rotation (#3442) 2023-12-12 11:58:34 -05:00
Utilities [AC-1923] Add endpoint to create client organization (#3977) 2024-04-16 13:55:00 -04:00
Vault [AC-2447] Update PutCollection to return Unavailable cipher when last Can Manage Access is Removed (#4074) 2024-05-21 11:31:22 -04:00
Api.Test.csproj Support for passkey registration (#2885) 2023-10-30 09:40:06 -04:00