Closed augustoccesar closed 1 year ago
Running ci, thanks!
Merging #383 (34e800e) into master (b3732b1) will increase coverage by
0.00%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #383 +/- ##
======================================
Coverage 6.07% 6.08%
======================================
Files 142 142
Lines 21718 21718
======================================
+ Hits 1319 1321 +2
+ Misses 20399 20397 -2
Impacted Files | Coverage Δ | |
---|---|---|
src/params.rs | 79.19% <ø> (ø) |
|
src/resources/generated/checkout_session.rs | 0.00% <ø> (ø) |
|
src/resources/generated/coupon.rs | 0.00% <ø> (ø) |
|
src/resources/generated/invoice.rs | 0.15% <ø> (ø) |
|
src/resources/generated/price.rs | 2.48% <ø> (+0.55%) |
:arrow_up: |
src/resources/generated/product.rs | 0.00% <ø> (ø) |
|
src/resources/generated/promotion_code.rs | 0.00% <ø> (ø) |
|
src/resources/generated/shipping_rate.rs | 0.00% <ø> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
@arlyon Is there anything else that I need to do here?
Nope! thanks for the ping, I have been out for the last 2 weeks on holiday 🏄 and have been working through the backlog. Merging :)
Summary
Currency_options field is represented by an optional HashMap<Currency, T>.
This affects the following resources:
CheckoutSession
: When defining the shipping rate fixed amount, there is the option of setting specific amounts per currency. See: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_options-shipping_rate_data-fixed_amount-currency_optionsCoupon
: Can have different amounts for different currencies. Which means that it can contain it, be created with it or be updated to have it. See: https://stripe.com/docs/api/coupons/object#coupon_object-currency_optionsInvoice
: When defining shipping rate fixed amount, there is the option of setting specific amounts per currency. See: https://stripe.com/docs/api/invoices/create#create_invoice-shipping_cost-shipping_rate_data-fixed_amount-currency_optionsPrice
: A price can have different amounts available on different currencies. Which means that it can contain it, be created with it or be updated to have it. See: https://stripe.com/docs/api/invoices/create#create_invoice-shipping_cost-shipping_rate_data-fixed_amount-currency_optionsProduct
: When creating a product, it can be defined currency options of the nested prices (as defined above on Price). See: https://stripe.com/docs/api/products/create#create_product-default_price_data-currency_optionsPromotionCode
: Promotion codes can have restrictions based on defined currencies. See: https://stripe.com/docs/api/promotion_codes/object#promotion_code_object-restrictions-currency_optionsShippingRate
: As seen onCheckoutSession
andInvoice
, a shipping rate can be defined per specific currency. See: https://stripe.com/docs/api/shipping_rates/object#shipping_rate_object-fixed_amount-currency_optionsCloses #351
Checklist
cargo make fmt