feat: add checkout session and quote management - #18
Open
fern-api[bot] wants to merge 3 commits into
Open
Conversation
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
4 times, most recently
from
August 25, 2026 14:28
c86c539 to
db04531
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
6 times, most recently
from
August 28, 2026 09:37
2c9b949 to
09647e3
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
3 times, most recently
from
September 1, 2026 16:00
2cd8c34 to
9043e49
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
from
September 2, 2026 14:55
9043e49 to
6313871
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
from
September 2, 2026 18:31
6313871 to
680a7f9
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
2 times, most recently
from
September 4, 2026 10:42
e4f27d4 to
6acd7d5
Compare
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
2 times, most recently
from
September 6, 2026 09:02
9667f83 to
8eeb600
Compare
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.27.1
Introduce a new `checkout` submodule with sync and async clients for managing checkout sessions and quotes. This enables consumers to create pricing quotes, refine them, retrieve checkout sessions, and confirm payment completion. Key changes: - Add `CheckoutClient` and `AsyncCheckoutClient` with `get_checkout_session()`, `confirm_checkout_session()`, `create_quote()`, `refine_quote()`, and `get_quote()` methods - Add new types: `CheckoutQuote`, `CheckoutQuoteLineItem`, `CheckoutQuoteLineItemCode`, `CheckoutSession`, `CheckoutSessionStatus`, and `ClientFacingCheckoutQuoteCreated` - Add expanded pricing model types: `OrderSetPricing`, `OrderSetPricingAggregatePricing`, `OrderSetPricingComponentsItem`, `EstimateOrderSetPricingResponse`, `GenericPricingComponent`, `GenericPricingComponentPricing`, `LabChargePricingComponent`, `LabChargePricePricingComponentPricing`, `PricingComponentId`, `ComponentPricingConditions`, `CriticalCarePricingCondition`, `PricingModifierComponentPricingConditions`, `SpecifiedPricingComponentPricingConditions`, and `WalkInCollectionNetworkSlug` 🌿 Generated with Fern
fern-api
Bot
force-pushed
the
fern-bot/2026-08-18_07-46-35_262
branch
from
September 6, 2026 13:19
8eeb600 to
b633490
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.4.0 → 1.5.0
Added
CheckoutClientandAsyncCheckoutClient— newcheckoutsub-client (accessible viajunction.checkout) for managing checkout sessions (get_checkout_session(),confirm_checkout_session()) and pricing quotes (create_quote(),refine_quote(),get_quote()).LabTestsClient.estimate_order_set_pricing()andAsyncLabTestsClient.estimate_order_set_pricing()— new method to estimate aggregate pricing for one or more order sets given a collection modality, US state, and optional billing type.CheckoutQuote,CheckoutQuoteLineItem,CheckoutQuoteLineItemCode,CheckoutSession,CheckoutSessionStatus, andClientFacingCheckoutQuoteCreatedsupporting the full checkout workflow.OrderSetPricing,OrderSetPricingAggregatePricing,EstimateOrderSetPricingResponse, and a suite of pricing-component types (GenericPricingComponent,LabChargePricingComponent,PricingComponentId,ComponentPricingConditions,CriticalCarePricingCondition,PricingModifierComponentPricingConditions,SpecifiedPricingComponentPricingConditions) for fine-grained price breakdown.Billing.UPFRONT_PAYMENT,MatchReviewStatus.PENDING_CUSTOMER_REVIEW_IN_PROGRESS, and the newWalkInCollectionNetworkSlugenum (QUEST,SONORA_QUEST,LABCORP,BIOREFERENCE).Changed
PricingModifierMarkerPricingConditions— added akeysfield listing the property names present inconditions, including names unknown to the deserializer.See full changelog