Skip to content

Commit

Permalink
updates for latest api version
Browse files Browse the repository at this point in the history
  • Loading branch information
djsteinmetz committed Sep 11, 2024
1 parent 72c143a commit 1b7b544
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/OrderCloud.SDK/Generated/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -923,13 +923,15 @@ public class ExtendedOrder : OrderCloudModel
public decimal ShippingCost { get => GetProp<decimal>("ShippingCost"); set => SetProp<decimal>("ShippingCost", value); }
/// <summary>Modifying requires TaxOverride Role.</summary>
public decimal TaxCost { get => GetProp<decimal>("TaxCost"); set => SetProp<decimal>("TaxCost", value); }
/// <summary>Gratuity of the extended order. Must be at least 0. Sortable.</summary>
public decimal Gratuity { get => GetProp<decimal>("Gratuity", 0); set => SetProp<decimal>("Gratuity", value); }
/// <summary>Sum of all Promotion.Amounts applied to the order.</summary>
[ApiReadOnly]
public decimal PromotionDiscount { get => GetProp<decimal>("PromotionDiscount"); set => SetProp<decimal>("PromotionDiscount", value); }
/// <summary>Inherited from the user placing the order.</summary>
[ApiReadOnly]
public string Currency { get => GetProp<string>("Currency"); set => SetProp<string>("Currency", value); }
/// <summary>Subtotal + TaxCost + ShippingCost - PromotionDiscount</summary>
/// <summary>Subtotal + TaxCost + ShippingCost + Gratuity - PromotionDiscount</summary>
[ApiReadOnly]
public decimal Total { get => GetProp<decimal>("Total"); set => SetProp<decimal>("Total", value); }
/// <summary>True if this Order has been passed from the Buyer to the Marketplace Owner.</summary>
Expand Down Expand Up @@ -1602,13 +1604,15 @@ public class Order : OrderCloudModel
public decimal ShippingCost { get => GetProp<decimal>("ShippingCost"); set => SetProp<decimal>("ShippingCost", value); }
/// <summary>Modifying requires TaxOverride Role.</summary>
public decimal TaxCost { get => GetProp<decimal>("TaxCost"); set => SetProp<decimal>("TaxCost", value); }
/// <summary>Gratuity of the order. Must be at least 0. Sortable.</summary>
public decimal Gratuity { get => GetProp<decimal>("Gratuity", 0); set => SetProp<decimal>("Gratuity", value); }
/// <summary>Sum of all Promotion.Amounts applied to the order.</summary>
[ApiReadOnly]
public decimal PromotionDiscount { get => GetProp<decimal>("PromotionDiscount"); set => SetProp<decimal>("PromotionDiscount", value); }
/// <summary>Inherited from the user placing the order.</summary>
[ApiReadOnly]
public string Currency { get => GetProp<string>("Currency"); set => SetProp<string>("Currency", value); }
/// <summary>Subtotal + TaxCost + ShippingCost - PromotionDiscount</summary>
/// <summary>Subtotal + TaxCost + ShippingCost + Gratuity - PromotionDiscount</summary>
[ApiReadOnly]
public decimal Total { get => GetProp<decimal>("Total"); set => SetProp<decimal>("Total", value); }
/// <summary>True if this Order has been passed from the Buyer to the Marketplace Owner.</summary>
Expand Down
2 changes: 1 addition & 1 deletion src/OrderCloud.SDK/OrderCloud.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- https://docs.microsoft.com/en-us/dotnet/core/tools/csproj -->
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>0.14.2</Version>
<Version>0.14.3</Version>
<PackageId>OrderCloud.SDK</PackageId>
<Title>OrderCloud SDK</Title>
<Authors>Todd Menier</Authors>
Expand Down

0 comments on commit 1b7b544

Please sign in to comment.