Skip to content

Commit

Permalink
Add legacy docs and remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBenzSW committed Jul 9, 2024
1 parent 28b7661 commit 5176c5c
Show file tree
Hide file tree
Showing 241 changed files with 32 additions and 322 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,22 @@ API | Method | HTTP request | Description
- [Model.WeightUnit](docs/WeightUnit.md)



## Legacy Methods

These methods have been deprecated in favor of the methods listed above, but are still in the SDK.

- [`CreateLabelFromRate`](./docs/legacy/CreateLabelFromRate.md) - When retrieving rates for shipments using the `GetRatesWithShipmentDetails` method, the returned information contains a `RateId` property that can be used to purchase a label without having to refill in the shipment information repeatedly.
- [`CreateLabelFromShipmentDetails`](./docs/legacy/CreateLabelFromShipmentDetails.md) - Purchase and print a label for shipment.
- [`GetRatesWithShipmentDetails`](./docs/legacy/GetRatesWithShipmentDetails.md) - Given some shipment details and rate options, this method returns a list of rate quotes.
- [`ListCarriers`](./docs/legacy/ListCarriers.md) - Returns a list of carrier accounts that have been connected through
the [ShipEngine dashboard](https://www.shipengine.com/docs/carriers/setup/).
- [`TrackUsingLabelId`](./docs/legacy/TrackUsingLabelId.md) - Track a package by its associated label ID.
- [`TrackUsingCarrierCodeAndTrackingNumber`](./docs/legacy/TrackUsingCarrierCodeAndTrackingNumber.md) - Track a package for a given carrier and tracking number.
- [`ValidateAddresses`](./docs/legacy/ValidateAddresses.md) - Indicates whether the provided addresses are valid. If the addresses are valid, the method returns a normalized version based on the standards of the country in which the address resides. If an address cannot be normalized, an error is returned.
- [`VoidLabelWithLabelId`](./docs/legacy/VoidLabelWithLabelId.md) - Void a label with its Label ID.
- [`CreateManifests`](./docs/legacy/CreateManifest.md) - Create a shipment manifest.

## Contributing

Contributions, enhancements, and bug-fixes are welcome! [Open an issue](https://github.com/ShipEngine/shipengine-dotnet/issues) on GitHub and [submit a pull request](https://github.com/ShipEngine/shipengine-dotnet/pulls).
Expand Down
84 changes: 0 additions & 84 deletions README_old.md

This file was deleted.

1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AccountSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A ShipEngine account settings response body
/// </summary>
//[DataContract(Name = "account_settings")]
public partial class AccountSettings
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AccountSettingsImages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A ShipEngine account images body
/// </summary>
//[DataContract(Name = "account_settings_images")]
public partial class AccountSettingsImages
{
//
Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddFundsToCarrierRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An add funds to carrier request body
/// </summary>
//[DataContract(Name = "add_funds_to_carrier_request_body")]
public partial class AddFundsToCarrierRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddFundsToCarrierResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// The current balance of the requested carrier account
/// </summary>
//[DataContract(Name = "add_funds_to_carrier_response_body")]
public partial class AddFundsToCarrierResponseBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddFundsToInsuranceRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An add funds to insurance request body
/// </summary>
//[DataContract(Name = "add_funds_to_insurance_request_body")]
public partial class AddFundsToInsuranceRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddFundsToInsuranceResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Add funds to insurance response body
/// </summary>
//[DataContract(Name = "add_funds_to_insurance_response_body")]
public partial class AddFundsToInsuranceResponseBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddToBatchRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An add to batch request body
/// </summary>
//[DataContract(Name = "add_to_batch_request_body")]
public partial class AddToBatchRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Any residential or business mailing address, anywhere in the world. &gt; **Note:** Either &#x60;name&#x60; or &#x60;company_name&#x60; must be set. Both may be specified, if relevant.
/// </summary>
//[DataContract(Name = "address")]
public partial class Address
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddressToValidate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Any residential or business mailing address, anywhere in the world.
/// </summary>
//[DataContract(Name = "address_to_validate")]
public partial class AddressToValidate
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddressValidatingShipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An address validating shipment
/// </summary>
//[DataContract(Name = "address_validating_shipment")]
public partial class AddressValidatingShipment
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AddressValidationResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An address validation result
/// </summary>
//[DataContract(Name = "address_validation_result")]
public partial class AddressValidationResult
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AdvancedShipmentOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Advanced shipment options
/// </summary>
//[DataContract(Name = "advanced_shipment_options")]
public partial class AdvancedShipmentOptions
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Contact information for Dangerous goods
/// </summary>
//[DataContract(Name = "advanced_shipment_options_dangerous_goods_contact")]
public partial class AdvancedShipmentOptionsDangerousGoodsContact
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AdvancedShipmentOptionsFedexFreight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Provide details for the Fedex freight service
/// </summary>
//[DataContract(Name = "advanced_shipment_options_fedex_freight")]
public partial class AdvancedShipmentOptionsFedexFreight
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AlternativeIdentifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Additional information some carriers may provide by which to identify a given label in their system.
/// </summary>
//[DataContract(Name = "alternative_identifier")]
public partial class AlternativeIdentifier
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/AlternativeIdentifiers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// AlternativeIdentifiers
/// </summary>
//[DataContract(Name = "alternative_identifiers")]
public partial class AlternativeIdentifiers
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/Batch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Batches are an advanced feature of ShipEngine designed for users who need to generate hundreds or thousands of labels at a time.
/// </summary>
//[DataContract(Name = "batch")]
public partial class Batch
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/BatchResponseError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A batch response error
/// </summary>
//[DataContract(Name = "batch_response_error")]
public partial class BatchResponseError
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/BulkRate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A bulk rate
/// </summary>
//[DataContract(Name = "bulk_rate")]
public partial class BulkRate
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/CalculateRatesResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A rate shipment response body
/// </summary>
//[DataContract(Name = "calculate_rates_response_body")]
public partial class CalculateRatesResponseBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/Carrier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A carrier object that represents a provider such as UPS, USPS, DHL, etc that has been tied to the current account.
/// </summary>
//[DataContract(Name = "carrier")]
public partial class Carrier
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/CarrierAdvancedOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Advanced options that are specific to the carrier
/// </summary>
//[DataContract(Name = "carrier_advanced_option")]
public partial class CarrierAdvancedOption
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/CollectOnDelivery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// Defer payment until package is delivered, instead of when it is ordered.
/// </summary>
//[DataContract(Name = "collect_on_delivery")]
public partial class CollectOnDelivery
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectAccessWorldwideRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An Access Worldwide account information request body
/// </summary>
//[DataContract(Name = "connect_access_worldwide_request_body")]
public partial class ConnectAccessWorldwideRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectAmazonBuyShippingRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An Amazon account information request body
/// </summary>
//[DataContract(Name = "connect_amazon_buy_shipping_request_body")]
public partial class ConnectAmazonBuyShippingRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectAmazonShippingUk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An Amazon Shipping UK account information request body
/// </summary>
//[DataContract(Name = "connect_amazon_shipping_uk")]
public partial class ConnectAmazonShippingUk
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectApcRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An APC account information request body
/// </summary>
//[DataContract(Name = "connect_apc_request_body")]
public partial class ConnectApcRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectAsendiaRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An Asendia account information request body
/// </summary>
//[DataContract(Name = "connect_asendia_request_body")]
public partial class ConnectAsendiaRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectAustraliaPostRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// An Australia Post account information request body
/// </summary>
//[DataContract(Name = "connect_australia_post_request_body")]
public partial class ConnectAustraliaPostRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectCanadaPostRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A Canada Post account information request body
/// </summary>
//[DataContract(Name = "connect_canada_post_request_body")]
public partial class ConnectCanadaPostRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectCarrierResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A connect account response body
/// </summary>
//[DataContract(Name = "connect_carrier_response_body")]
public partial class ConnectCarrierResponseBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectDhlEcommerceRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A DHL Ecommerce account information request body
/// </summary>
//[DataContract(Name = "connect_dhl_ecommerce_request_body")]
public partial class ConnectDhlEcommerceRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectDhlExpressAuRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A DHL Express AU account information request body
/// </summary>
//[DataContract(Name = "connect_dhl_express_au_request_body")]
public partial class ConnectDhlExpressAuRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectDhlExpressCaRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A DHL Express CA account information request body
/// </summary>
//[DataContract(Name = "connect_dhl_express_ca_request_body")]
public partial class ConnectDhlExpressCaRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectDhlExpressRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A DHL express account information request body
/// </summary>
//[DataContract(Name = "connect_dhl_express_request_body")]
public partial class ConnectDhlExpressRequestBody
{

Expand Down
1 change: 0 additions & 1 deletion ShipEngineSDK/Model/ConnectDhlExpressUkRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ShipEngineSDK.Model;
/// <summary>
/// A DHL Express UK account information request body
/// </summary>
//[DataContract(Name = "connect_dhl_express_uk_request_body")]
public partial class ConnectDhlExpressUkRequestBody
{

Expand Down
Loading

0 comments on commit 5176c5c

Please sign in to comment.