Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description Currently, the `checkout_session_ext` is not being exported, which makes the `RetrieveCheckoutSessionLineItems` not being able to be used. With this change, the following should now be possible: ```rust use std::str::FromStr; use stripe::{CheckoutSession, CheckoutSessionId, Client, RetrieveCheckoutSessionLineItems}; #[tokio::main] async fn main() { let secret_key = std::env::var("STRIPE_SECRET_KEY").expect("Missing STRIPE_SECRET_KEY in env"); let client = Client::new(secret_key); let _line_items = CheckoutSession::retrieve_line_items( &client, &CheckoutSessionId::from_str("").unwrap(), &RetrieveCheckoutSessionLineItems::default(), ) .await .unwrap(); } ``` Closes #614
- Loading branch information