v7.0.0
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.CreateCreditCardClientSecretBeta.ReferralCustomer.CreateBankAccountClientSecretReferralCustomer.AddCreditCardFromStripeReferralCustomer.AddBankAccountFromStripe
- Adds
MerchantIdas Shipment option (closes #592) - Adds missing tracker props
- Routes
AmazonShippingAccountto the correct endpoint on create - Fixes error parsing
- Allows for alternative format of
errorsfield (previously we deserialized theerrorsfield into a list ofErrorobjects; however, sometimes the errors are simply a list of strings. This change make theerrorsfield a list ofobjectsallowing for either the newFieldErrorobject or a list of strings. Users will need to check for the type of error returned and handle appropriately) - Removed the unused
Errormodel - Added an explicit
AddressVerificationFieldErrormodel - The
PaymentRefundclass now uses a list ofFieldErrorinstead ofErrorfor theerrorsfield
- Allows for alternative format of
- Remove previously-marked obsolete parameter, functions and classes:
EasyPost.Models.API.DeliveryDateForZipPairEstimate.EasyPostTimeInTransitDataproperty (useEasyPost.Models.API.DeliveryDateForZipPairEstimate.TimeInTransitDetailsinstead)EasyPost.Models.API.Options.BillReceiverAccountproperty (useEasyPost.Models.API.Options.Paymentinstead)EasyPost.Models.API.Options.BillReceiverPostalCodeproperty (useEasyPost.Models.API.Options.Paymentinstead)EasyPost.Models.API.Options.BillThirdPartyAccountproperty (useEasyPost.Models.API.Options.Paymentinstead)EasyPost.Models.API.Options.BillThirdPartyCountryproperty (useEasyPost.Models.API.Options.Paymentinstead)EasyPost.Models.API.Options.BillThirdPartyPostalCodeproperty (useEasyPost.Models.API.Options.Paymentinstead)EasyPost.Models.API.Rate.EstDeliveryDaysproperty (useEasyPost.Models.API.Rate.DeliveryDaysinstead)EasyPost.Models.API.SmartRate.EstDeliveryDaysproperty (useEasyPost.Models.API.SmartRate.DeliveryDaysinstead)EasyPost.Models.API.RateWithEstimatedDeliveryDate.EasyPostTimeInTransitDataproperty (useEasyPost.Models.API.RateWithEstimatedDeliveryDate.TimeInTransitDetailsinstead)EasyPost.Models.API.RecommendShipDateForShipmentResult.EasyPostTimeInTransitDataproperty (useEasyPost.Models.API.RecommendShipDateForShipmentResult.TimeInTransitDetailsinstead)EasyPost.Models.API.ShipDateForZipPairRecommendation.EasyPostTimeInTransitDataproperty (useEasyPost.Models.API.ShipDateForZipPairRecommendation.TimeInTransitDetailsinstead)EasyPost.Models.API.Tracker.TrackingUpdatedAtproperty (useEasyPost.Models.API.Tracker.UpdatedAtinstead)EasyPost.Models.API.TimeInTransitDetailsclass (useEasyPost.Models.API.TimeInTransitDetailsForDeliveryDateEstimateinstead)EasyPost.Parameters.Tracker.CreateListclass (related function was removed in v6.8.0)EasyPost.Constants.CarrierAccounts.FedExAccountvariable (useEasyPost.Models.API.CarrierAccountType.FedExinstead)EasyPost.Constants.CarrierAccounts.UpsAccountvariable (useEasyPost.Models.API.CarrierAccountType.Upsinstead)