From 9e6e7e2b362292be1c9fd1807a5ade7ac5827b9c Mon Sep 17 00:00:00 2001 From: quanwenshuang Date: Thu, 27 Aug 2026 22:22:39 +0800 Subject: [PATCH] test(rest/python): use create model for shipping destinations --- rest/python/server/integration_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest/python/server/integration_test.py b/rest/python/server/integration_test.py index 55b0ba6..1e55400 100644 --- a/rest/python/server/integration_test.py +++ b/rest/python/server/integration_test.py @@ -81,7 +81,7 @@ line_item_create_request as line_item_create_req, ) from ucp_sdk.models.schemas.shopping.types import ( - shipping_destination as shipping_destination_req, + shipping_destination_create_request as shipping_destination_req, ) FLAGS = flags.FLAGS @@ -250,7 +250,7 @@ def _create_checkout_payload( payment = payment_create_req.PaymentCreateRequest(instruments=[]) # Hierarchical Fulfillment Construction - destination = shipping_destination_req.ShippingDestination( + destination = shipping_destination_req.ShippingDestinationCreateRequest( id="dest_1", address_country="US" ) group = fulfillment_group_create_req.FulfillmentGroupCreateRequest(