From efed1de437aa090732bbe6c27336c239e858dfa8 Mon Sep 17 00:00:00 2001 From: Niels van Brakel Date: Wed, 13 Sep 2023 21:49:35 +0200 Subject: [PATCH] added more todo's --- docs/stripe.md | 15 +++++++++++++++ wrappers/src/fdw/stripe_fdw/README.md | 2 +- wrappers/src/fdw/stripe_fdw/stripe_fdw.rs | 2 +- wrappers/src/fdw/stripe_fdw/tests.rs | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/stripe.md b/docs/stripe.md index 74055746..bc4b4df6 100644 --- a/docs/stripe.md +++ b/docs/stripe.md @@ -65,6 +65,7 @@ The Stripe Wrapper supports data read and modify from Stripe API. | [Balance Transactions](https://stripe.com/docs/api/balance_transactions/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Charges](https://stripe.com/docs/api/charges/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Checkout Sessions](https://stripe.com/docs/api/checkout/sessions/list) | :white_check_mark:| :x: | :x: | :x: | :x: | +| [Coupons](https://stripe.com/docs/api/coupons/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Customers](https://stripe.com/docs/api/customers/list) | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :x: | | [Disputes](https://stripe.com/docs/api/disputes/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Events](https://stripe.com/docs/api/events/list) | :white_check_mark:| :x: | :x: | :x: | :x: | @@ -76,10 +77,14 @@ The Stripe Wrapper supports data read and modify from Stripe API. | [Payouts](https://stripe.com/docs/api/payouts/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Prices](https://stripe.com/docs/api/prices/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Products](https://stripe.com/docs/api/products/list) | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :x: | +| [Promotion Codes](https://stripe.com/docs/api/promotion_codes/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Refunds](https://stripe.com/docs/api/refunds/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [SetupAttempts](https://stripe.com/docs/api/setup_attempts/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [SetupIntents](https://stripe.com/docs/api/setup_intents/list) | :white_check_mark:| :x: | :x: | :x: | :x: | +| [Shipping Rates](https://stripe.com/docs/api/shipping_rates/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Subscriptions](https://stripe.com/docs/api/subscriptions/list) | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :x: | +| [Tax Codes](https://stripe.com/docs/api/tax_codes/list) | :white_check_mark:| :x: | :x: | :x: | :x: | +| [Tax Rates](https://stripe.com/docs/api/tax_rates/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Tokens](https://stripe.com/docs/api/tokens) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Topups](https://stripe.com/docs/api/topups/list) | :white_check_mark:| :x: | :x: | :x: | :x: | | [Transfers](https://stripe.com/docs/api/transfers/list) | :white_check_mark:| :x: | :x: | :x: | :x: | @@ -249,6 +254,8 @@ While any column is allowed in a where clause, it is most efficient to filter by - payment_intent - subscription +// TODO: Add coupons docs + ### Customers *read and modify* @@ -564,6 +571,8 @@ While any column is allowed in a where clause, it is most efficient to filter by - id - active +// TODO: Add promotion_codes docs + ### Refunds *read only* @@ -657,6 +666,8 @@ While any column is allowed in a where clause, it is most efficient to filter by - customer - payment_method +// TODO: Add shipping_rates docs + ### Subscriptions *read and modify* @@ -688,6 +699,10 @@ While any column is allowed in a where clause, it is most efficient to filter by - price - status +// TODO: Add tax_codes docs + +// TODO: Add tax_rates docs + ### Tokens *read only* diff --git a/wrappers/src/fdw/stripe_fdw/README.md b/wrappers/src/fdw/stripe_fdw/README.md index 8b9e0127..5d4bf486 100644 --- a/wrappers/src/fdw/stripe_fdw/README.md +++ b/wrappers/src/fdw/stripe_fdw/README.md @@ -10,7 +10,7 @@ This is a foreign data wrapper for [Stripe](https://stripe.com/) developed using | Version | Date | Notes | | ------- | ---------- | ---------------------------------------------------------------------------------------------------- | -| 0.1.8 | 2023-09-13 | Added objects for coupons, promotion_codes, tax_codes, tax_rates and shipping rates | +| 0.1.8 | 2023-09-13 | Added objects for Coupons, Promotion Codes, Tax codes, Tax rates and Shipping rates | | 0.1.7 | 2023-07-13 | Added fdw stats collection | | 0.1.6 | 2023-05-30 | Added Checkout Session object | | 0.1.5 | 2023-05-01 | Added 'prices' object and empty result improvement | diff --git a/wrappers/src/fdw/stripe_fdw/stripe_fdw.rs b/wrappers/src/fdw/stripe_fdw/stripe_fdw.rs index d0223f9d..e189b8f2 100644 --- a/wrappers/src/fdw/stripe_fdw/stripe_fdw.rs +++ b/wrappers/src/fdw/stripe_fdw/stripe_fdw.rs @@ -1022,4 +1022,4 @@ impl ForeignDataWrapper for StripeFdw { Ok(()) } -} \ No newline at end of file +} diff --git a/wrappers/src/fdw/stripe_fdw/tests.rs b/wrappers/src/fdw/stripe_fdw/tests.rs index de51d4c6..321bd173 100644 --- a/wrappers/src/fdw/stripe_fdw/tests.rs +++ b/wrappers/src/fdw/stripe_fdw/tests.rs @@ -978,4 +978,4 @@ mod tests { */ }); } -} \ No newline at end of file +}