From 894d7252b6957d1ff97a349101e0856d49e0b773 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Wed, 11 Jan 2023 09:50:23 -0700 Subject: [PATCH] chore: prepare v2.11.0 for release --- CHANGELOG.md | 5 +++-- shipment_options.go | 2 ++ version.go | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44419c7..fe6e598 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ # CHANGELOG -## Next Release +## v2.11.0 (2023-01-11) -- [ADDED] Adds new beta billing functionality for ReferralCustomer users +- Adds new beta billing functionality for ReferralCustomer users - `BetaAddPaymentMethod` can add a pre-existing Stripe bank account or credit card to your EasyPost account - `BetaRefundByAmount` refunds your wallet by a dollar amount - `BetaRefundByPaymentLog` refunds you wallet by a PaymentLog ID +- Adds new `PickupMinDatetime` and `DeliveryMaxDatetime` Shipment options ## v2.10.0 (2022-12-07) diff --git a/shipment_options.go b/shipment_options.go index c77dec3..3579385 100644 --- a/shipment_options.go +++ b/shipment_options.go @@ -22,6 +22,7 @@ type ShipmentOptions struct { CODAddressID string `json:"cod_address_id,omitempty"` Currency string `json:"currency,omitempty"` DeliveryConfirmation string `json:"delivery_confirmation,omitempty"` + DeliveryMaxDatetime *time.Time `json:"delivery_max_datetime,omitempty"` DutyPayment *Payment `json:"duty_payment,omitempty"` DutyPaymentAccount string `json:"duty_payment_account,omitempty"` DropoffType string `json:"dropoff_type,omitempty"` @@ -41,6 +42,7 @@ type ShipmentOptions struct { LabelSize string `json:"label_size,omitempty"` Machinable bool `json:"machinable,omitempty"` Payment *Payment `json:"payment,omitempty"` + PickupMinDatetime *time.Time `json:"pickup_min_datetime,omitempty"` PrintCustom1 string `json:"print_custom_1,omitempty"` PrintCustom2 string `json:"print_custom_2,omitempty"` PrintCustom3 string `json:"print_custom_3,omitempty"` diff --git a/version.go b/version.go index 01a8563..11c285d 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package easypost -const Version = "2.10.0" +const Version = "2.11.0"