-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e64f05
commit ded31d6
Showing
3 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
ShippingRates/ShippingProviders/UPSProviderConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,42 @@ | ||
namespace ShippingRates.ShippingProviders | ||
{ | ||
/// <summary> | ||
/// UPS Provider Configuration | ||
/// </summary> | ||
public class UPSProviderConfiguration | ||
{ | ||
/// <summary> | ||
/// UPS Client Id (required) | ||
/// </summary> | ||
public string ClientId { get; set; } | ||
/// <summary> | ||
/// UPS Client Secret (required) | ||
/// </summary> | ||
public string ClientSecret { get; set; } | ||
/// <summary> | ||
/// UPS Account Number (6 chars, required) | ||
/// </summary> | ||
public string AccountNumber { get; set; } | ||
/// <summary> | ||
/// Use production endpoint | ||
/// </summary> | ||
public bool UseProduction { get; set; } | ||
/// <summary> | ||
/// Optional. Service description from GetServiceCodes() values, e.g. "UPS Second Day Air". | ||
/// If omitted, all possible services will be fetched | ||
/// </summary> | ||
public string ServiceDescription { get; set; } | ||
/// <summary> | ||
/// Use retails rates (for shipping from a UPS retail location) | ||
/// </summary> | ||
public bool UseRetailRates { get; set; } | ||
/// <summary> | ||
/// Use daily rates (for customers who have a scheduled pickup and/or an account that provides you with daily rates) | ||
/// </summary> | ||
public bool UseDailyRates { get; set; } | ||
/// <summary> | ||
/// Use negotiated rates (only shippers approved to ship using negotiated rates can use negotiated rates) | ||
/// </summary> | ||
public bool UseNegotiatedRates { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# version format | ||
version: 2.0.{build}-beta | ||
version: 2.1.0 | ||
|
||
image: Visual Studio 2022 | ||
|
||
|