Skip to content

Update generated SDKs #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
**Api changes**

<details>
<summary>Required Property(s)</summary>
<summary>Added Property(s)</summary>

- changed property `priceMode` of type `CustomLineItemDraft` to be optional
- changed property `oldShipmentState` of type `OrderShipmentStateChangedMessage` to be optional
- changed property `oldOrderState` of type `OrderStateChangedMessage` to be optional
- changed property `oldShipmentState` of type `OrderShipmentStateChangedMessagePayload` to be optional
- changed property `oldOrderState` of type `OrderStateChangedMessagePayload` to be optional
- added property `totalTax` to type `TaxedPriceDraft`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ public partial interface ITaxedPriceDraft
IEnumerable<ITaxPortionDraft> TaxPortionsEnumerable { set => TaxPortions = value.ToList(); }


ITypedMoneyDraft TotalTax { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ public partial class TaxedPriceDraft : ITaxedPriceDraft
public IList<ITaxPortionDraft> TaxPortions { get; set; }
public IEnumerable<ITaxPortionDraft> TaxPortionsEnumerable { set => TaxPortions = value.ToList(); }


public ITypedMoneyDraft TotalTax { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ public ICollectionPredicateBuilder<TaxedPriceDraftQueryBuilderDsl> TaxPortions()
return new CollectionPredicateBuilder<TaxedPriceDraftQueryBuilderDsl>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("taxPortions")),
p => new CombinationQueryPredicate<TaxedPriceDraftQueryBuilderDsl>(p, TaxedPriceDraftQueryBuilderDsl.Of));
}
public CombinationQueryPredicate<TaxedPriceDraftQueryBuilderDsl> TotalTax(
Func<commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl>> fn)
{
return new CombinationQueryPredicate<TaxedPriceDraftQueryBuilderDsl>(ContainerQueryPredicate.Of()
.Parent(ConstantQueryPredicate.Of().Constant("totalTax"))
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl.Of())),
TaxedPriceDraftQueryBuilderDsl.Of);
}


}
}
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
45d710745130242337bd593c44bcdcbedd249313
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,4 @@ ffed231e91d01608e1bb08ecc1883cf00d9d9293
2645451ae6aef245e333b2f30cf5cb3627f71403
65619eef7e065950cbb92467d72eaacc68004a14
65619eef7e065950cbb92467d72eaacc68004a14
48bbac8851ae864319c404607e9f10b874df0e3f