From 251aff95f1a61b3f5c5d35e74d18512c39e09598 Mon Sep 17 00:00:00 2001 From: Michael Woodward Date: Thu, 19 Dec 2024 17:45:34 +0000 Subject: [PATCH] fix: Remove writeonly `items` from PricePreview entity --- pricing_preview.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pricing_preview.go b/pricing_preview.go index b8f2969..e62a490 100644 --- a/pricing_preview.go +++ b/pricing_preview.go @@ -65,8 +65,6 @@ type PricePreview struct { Address *AddressPreview `json:"address,omitempty"` // CustomerIPAddress: IP address for this transaction preview. Send one of `address_id`, `customer_ip_address`, or the `address` object when previewing. CustomerIPAddress *string `json:"customer_ip_address,omitempty"` - // Items: List of items to preview price calculations for. - Items []PricePreviewItem `json:"items,omitempty"` // Details: Calculated totals for a price preview, including discounts, tax, and currency conversion. Details PricePreviewDetails `json:"details,omitempty"` // AvailablePaymentMethods: List of available payment methods for Paddle Checkout given the price and location information passed.