public interface CartByIdGet extends MetaModelGetDsl<Cart,Cart,CartByIdGet,CartExpansionModel<Cart>>
final Cart cart = createCartWithCountry(client()); final String id = cart.getId(); final Cart fetchedCart = client().executeBlocking(CartByIdGet.of(id)); assertThat(fetchedCart).isEqualTo(cart);
See the test code.
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<Cart>> |
expansionPaths() |
static CartByIdGet |
of(Identifiable<Cart> resource) |
static CartByIdGet |
of(String id) |
CartByIdGet |
plusExpansionPaths(ExpansionPath<Cart> expansionPath) |
CartByIdGet |
withExpansionPaths(ExpansionPath<Cart> expansionPath) |
CartByIdGet |
withExpansionPaths(List<ExpansionPath<Cart>> expansionPaths) |
deserialize
canDeserialize, httpRequestIntent
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, withExpansionPaths
static CartByIdGet of(String id)
static CartByIdGet of(Identifiable<Cart> resource)
List<ExpansionPath<Cart>> expansionPaths()
expansionPaths
in interface ExpansionPathContainer<Cart>
expansionPaths
in interface ReferenceExpansionSupport<Cart>
CartByIdGet plusExpansionPaths(ExpansionPath<Cart> expansionPath)
plusExpansionPaths
in interface ReferenceExpansionDsl<Cart,CartByIdGet>
CartByIdGet withExpansionPaths(ExpansionPath<Cart> expansionPath)
withExpansionPaths
in interface ReferenceExpansionDsl<Cart,CartByIdGet>
CartByIdGet withExpansionPaths(List<ExpansionPath<Cart>> expansionPaths)
withExpansionPaths
in interface ReferenceExpansionDsl<Cart,CartByIdGet>