See our Upgrade Guide for more details.
- Minimum .NET Framework is now v4.7.2
- Adds custom webhook headers when creating/updating a webhook
- Adds the following functions to assist ReferralCustomer in adding credit cards and bank accounts:
Beta.ReferralCustomer.CreateCreditCardClientSecret
Beta.ReferralCustomer.CreateBankAccountClientSecret
ReferralCustomer.AddCreditCardFromStripe
ReferralCustomer.AddBankAccountFromStripe
- Adds
MerchantId
as Shipment option (closes #592) - Adds missing tracker props
- Routes
AmazonShippingAccount
to the correct endpoint on create - Fixes error parsing
- Allows for alternative format of
errors
field (previously we deserialized theerrors
field into a list ofError
objects; however, sometimes the errors are simply a list of strings. This change make theerrors
field a list ofobjects
allowing for either the newFieldError
object or a list of strings. Users will need to check for the type of error returned and handle appropriately) - Removed the unused
Error
model - Added an explicit
AddressVerificationFieldError
model - The
PaymentRefund
class now uses a list ofFieldError
instead ofError
for theerrors
field
- Allows for alternative format of
- Remove previously-marked obsolete parameter, functions and classes:
EasyPost.Models.API.DeliveryDateForZipPairEstimate.EasyPostTimeInTransitData
property (useEasyPost.Models.API.DeliveryDateForZipPairEstimate.TimeInTransitDetails
instead)EasyPost.Models.API.Options.BillReceiverAccount
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillReceiverPostalCode
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyAccount
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyCountry
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Options.BillThirdPartyPostalCode
property (useEasyPost.Models.API.Options.Payment
instead)EasyPost.Models.API.Rate.EstDeliveryDays
property (useEasyPost.Models.API.Rate.DeliveryDays
instead)EasyPost.Models.API.SmartRate.EstDeliveryDays
property (useEasyPost.Models.API.SmartRate.DeliveryDays
instead)EasyPost.Models.API.RateWithEstimatedDeliveryDate.EasyPostTimeInTransitData
property (useEasyPost.Models.API.RateWithEstimatedDeliveryDate.TimeInTransitDetails
instead)EasyPost.Models.API.RecommendShipDateForShipmentResult.EasyPostTimeInTransitData
property (useEasyPost.Models.API.RecommendShipDateForShipmentResult.TimeInTransitDetails
instead)EasyPost.Models.API.ShipDateForZipPairRecommendation.EasyPostTimeInTransitData
property (useEasyPost.Models.API.ShipDateForZipPairRecommendation.TimeInTransitDetails
instead)EasyPost.Models.API.Tracker.TrackingUpdatedAt
property (useEasyPost.Models.API.Tracker.UpdatedAt
instead)EasyPost.Models.API.TimeInTransitDetails
class (useEasyPost.Models.API.TimeInTransitDetailsForDeliveryDateEstimate
instead)EasyPost.Parameters.Tracker.CreateList
class (related function was removed in v6.8.0)EasyPost.Constants.CarrierAccounts.FedExAccount
variable (useEasyPost.Models.API.CarrierAccountType.FedEx
instead)EasyPost.Constants.CarrierAccounts.UpsAccount
variable (useEasyPost.Models.API.CarrierAccountType.Ups
instead)