/* Options: Date: 2025-12-06 06:52:05 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: OrderLinesRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/OrderLines", Verbs="POST,PUT,DELETE,OPTIONS") // @Route(Path="/v1/OrderLines/OrderHeaders/{OrderHeaderUID}", Verbs="GET") public static class OrderLinesRequest implements IReturn { public UUID OrderHeaderUID = null; public ArrayList OrderLines = new ArrayList(); public UUID getOrderHeaderUID() { return OrderHeaderUID; } public OrderLinesRequest setOrderHeaderUID(UUID value) { this.OrderHeaderUID = value; return this; } public ArrayList getOrderLines() { return OrderLines; } public OrderLinesRequest setOrderLines(ArrayList value) { this.OrderLines = value; return this; } private static Object responseType = OrderLinesResponse.class; public Object getResponseType() { return responseType; } } public static class OrderLinesResponse { public ResponseStatus ResponseStatus = null; public ArrayList OrderLines = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public OrderLinesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getOrderLines() { return OrderLines; } public OrderLinesResponse setOrderLines(ArrayList value) { this.OrderLines = value; return this; } } public static class OrderLine { public Integer ID = null; public UUID OrderHeaderID = null; public Short OrderLineNumber = null; public Short ProductID = null; public String StripeProductId = null; public Short ProductCategory = null; public Short ProductSubCategory = null; public Short Quantity = null; public BigDecimal TotalOrderLineCost = null; public BigDecimal ProductCost = null; public BigDecimal PerUnitProductCost = null; public BigDecimal OrderLineTax = null; public BigDecimal OrderLineShippingCost = null; public BigDecimal PerUnitShippingCost = null; public Short OrderLineStatusID = null; public Short ShipMethodID = null; public Date EstimatedShipDate = null; public Date EstimatedDeliveryDate = null; public Date ActualShipDate = null; public Date ActualDeliveryDate = null; public Date OrderLineCreatedDate = null; public Date OrderLineModifiedDate = null; public UUID UID = null; public String ProductName = null; public Integer AgentId = null; public String Street = null; public String City = null; public String State = null; public String Zip = null; public String PhoneNumber = null; public Integer AddressId = null; public String ShippingAddress = null; public String FullName = null; public Integer getId() { return ID; } public OrderLine setId(Integer value) { this.ID = value; return this; } public UUID getOrderHeaderID() { return OrderHeaderID; } public OrderLine setOrderHeaderID(UUID value) { this.OrderHeaderID = value; return this; } public Short getOrderLineNumber() { return OrderLineNumber; } public OrderLine setOrderLineNumber(Short value) { this.OrderLineNumber = value; return this; } public Short getProductID() { return ProductID; } public OrderLine setProductID(Short value) { this.ProductID = value; return this; } public String getStripeProductId() { return StripeProductId; } public OrderLine setStripeProductId(String value) { this.StripeProductId = value; return this; } public Short getProductCategory() { return ProductCategory; } public OrderLine setProductCategory(Short value) { this.ProductCategory = value; return this; } public Short getProductSubCategory() { return ProductSubCategory; } public OrderLine setProductSubCategory(Short value) { this.ProductSubCategory = value; return this; } public Short getQuantity() { return Quantity; } public OrderLine setQuantity(Short value) { this.Quantity = value; return this; } public BigDecimal getTotalOrderLineCost() { return TotalOrderLineCost; } public OrderLine setTotalOrderLineCost(BigDecimal value) { this.TotalOrderLineCost = value; return this; } public BigDecimal getProductCost() { return ProductCost; } public OrderLine setProductCost(BigDecimal value) { this.ProductCost = value; return this; } public BigDecimal getPerUnitProductCost() { return PerUnitProductCost; } public OrderLine setPerUnitProductCost(BigDecimal value) { this.PerUnitProductCost = value; return this; } public BigDecimal getOrderLineTax() { return OrderLineTax; } public OrderLine setOrderLineTax(BigDecimal value) { this.OrderLineTax = value; return this; } public BigDecimal getOrderLineShippingCost() { return OrderLineShippingCost; } public OrderLine setOrderLineShippingCost(BigDecimal value) { this.OrderLineShippingCost = value; return this; } public BigDecimal getPerUnitShippingCost() { return PerUnitShippingCost; } public OrderLine setPerUnitShippingCost(BigDecimal value) { this.PerUnitShippingCost = value; return this; } public Short getOrderLineStatusID() { return OrderLineStatusID; } public OrderLine setOrderLineStatusID(Short value) { this.OrderLineStatusID = value; return this; } public Short getShipMethodID() { return ShipMethodID; } public OrderLine setShipMethodID(Short value) { this.ShipMethodID = value; return this; } public Date getEstimatedShipDate() { return EstimatedShipDate; } public OrderLine setEstimatedShipDate(Date value) { this.EstimatedShipDate = value; return this; } public Date getEstimatedDeliveryDate() { return EstimatedDeliveryDate; } public OrderLine setEstimatedDeliveryDate(Date value) { this.EstimatedDeliveryDate = value; return this; } public Date getActualShipDate() { return ActualShipDate; } public OrderLine setActualShipDate(Date value) { this.ActualShipDate = value; return this; } public Date getActualDeliveryDate() { return ActualDeliveryDate; } public OrderLine setActualDeliveryDate(Date value) { this.ActualDeliveryDate = value; return this; } public Date getOrderLineCreatedDate() { return OrderLineCreatedDate; } public OrderLine setOrderLineCreatedDate(Date value) { this.OrderLineCreatedDate = value; return this; } public Date getOrderLineModifiedDate() { return OrderLineModifiedDate; } public OrderLine setOrderLineModifiedDate(Date value) { this.OrderLineModifiedDate = value; return this; } public UUID getUid() { return UID; } public OrderLine setUid(UUID value) { this.UID = value; return this; } public String getProductName() { return ProductName; } public OrderLine setProductName(String value) { this.ProductName = value; return this; } public Integer getAgentId() { return AgentId; } public OrderLine setAgentId(Integer value) { this.AgentId = value; return this; } public String getStreet() { return Street; } public OrderLine setStreet(String value) { this.Street = value; return this; } public String getCity() { return City; } public OrderLine setCity(String value) { this.City = value; return this; } public String getState() { return State; } public OrderLine setState(String value) { this.State = value; return this; } public String getZip() { return Zip; } public OrderLine setZip(String value) { this.Zip = value; return this; } public String getPhoneNumber() { return PhoneNumber; } public OrderLine setPhoneNumber(String value) { this.PhoneNumber = value; return this; } public Integer getAddressId() { return AddressId; } public OrderLine setAddressId(Integer value) { this.AddressId = value; return this; } public String getShippingAddress() { return ShippingAddress; } public OrderLine setShippingAddress(String value) { this.ShippingAddress = value; return this; } public String getFullName() { return FullName; } public OrderLine setFullName(String value) { this.FullName = value; return this; } } }