/* Options: Date: 2025-09-22 22:12:39 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDiscountedPurchaseOrderItems.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/purchaseorder/discounteditems", Verbs="POST") public static class GetDiscountedPurchaseOrderItems implements IReturn { public ShoppingCartDto shoppingCart = null; public ShoppingCartDto getShoppingCart() { return shoppingCart; } public GetDiscountedPurchaseOrderItems setShoppingCart(ShoppingCartDto value) { this.shoppingCart = value; return this; } private static Object responseType = GetDiscountedPurchaseOrderItemsResponse.class; public Object getResponseType() { return responseType; } } public static class GetDiscountedPurchaseOrderItemsResponse { public ShoppingCartDto shoppingCart = null; public String message = null; public HttpStatusCode status = null; public ResponseStatus responseStatus = null; public ShoppingCartDto getShoppingCart() { return shoppingCart; } public GetDiscountedPurchaseOrderItemsResponse setShoppingCart(ShoppingCartDto value) { this.shoppingCart = value; return this; } public String getMessage() { return message; } public GetDiscountedPurchaseOrderItemsResponse setMessage(String value) { this.message = value; return this; } public HttpStatusCode getStatus() { return status; } public GetDiscountedPurchaseOrderItemsResponse setStatus(HttpStatusCode value) { this.status = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetDiscountedPurchaseOrderItemsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class ShoppingCartDto { public String couponCode = null; public ArrayList items = null; public BigDecimal total = null; public String getCouponCode() { return couponCode; } public ShoppingCartDto setCouponCode(String value) { this.couponCode = value; return this; } public ArrayList getItems() { return items; } public ShoppingCartDto setItems(ArrayList value) { this.items = value; return this; } public BigDecimal getTotal() { return total; } public ShoppingCartDto setTotal(BigDecimal value) { this.total = value; return this; } } public static class ShoppingCartItemDto { public String id = null; public String name = null; public Integer quantity = null; public BigDecimal price = null; public String discountDescription = null; public String discountSource = null; public BigDecimal discount = null; public BigDecimal total = null; public String getId() { return id; } public ShoppingCartItemDto setId(String value) { this.id = value; return this; } public String getName() { return name; } public ShoppingCartItemDto setName(String value) { this.name = value; return this; } public Integer getQuantity() { return quantity; } public ShoppingCartItemDto setQuantity(Integer value) { this.quantity = value; return this; } public BigDecimal getPrice() { return price; } public ShoppingCartItemDto setPrice(BigDecimal value) { this.price = value; return this; } public String getDiscountDescription() { return discountDescription; } public ShoppingCartItemDto setDiscountDescription(String value) { this.discountDescription = value; return this; } public String getDiscountSource() { return discountSource; } public ShoppingCartItemDto setDiscountSource(String value) { this.discountSource = value; return this; } public BigDecimal getDiscount() { return discount; } public ShoppingCartItemDto setDiscount(BigDecimal value) { this.discount = value; return this; } public BigDecimal getTotal() { return total; } public ShoppingCartItemDto setTotal(BigDecimal value) { this.total = value; return this; } } }