/* Options: Date: 2026-04-05 18:16:45 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://internal.thebunkerbridge.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ConfirmationCreate.* //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="/Confirmations/Create", Verbs="POST") public static class ConfirmationCreate implements IReturn { public String IMONumberOrMMSI = null; public Integer VesselId = null; public Date DateFrom = null; public Date DateTo = null; public Integer PortId = null; public Integer DeliveryMethodId = null; public String Agent = null; public Integer SellingAccountId = null; public Integer BuyingAccountId = null; public String RequestedTermsType = null; public Integer CreditTermDays = null; public String VesselType = null; public String RecapComments = null; public String AgentDetails = null; public String AdditionalCosts = null; public String BuyerCompany = null; public String BuyerEmailAddress = null; public ArrayList ConfirmationGrades = null; public String getImoNumberOrMMSI() { return IMONumberOrMMSI; } public ConfirmationCreate setImoNumberOrMMSI(String value) { this.IMONumberOrMMSI = value; return this; } public Integer getVesselId() { return VesselId; } public ConfirmationCreate setVesselId(Integer value) { this.VesselId = value; return this; } public Date getDateFrom() { return DateFrom; } public ConfirmationCreate setDateFrom(Date value) { this.DateFrom = value; return this; } public Date getDateTo() { return DateTo; } public ConfirmationCreate setDateTo(Date value) { this.DateTo = value; return this; } public Integer getPortId() { return PortId; } public ConfirmationCreate setPortId(Integer value) { this.PortId = value; return this; } public Integer getDeliveryMethodId() { return DeliveryMethodId; } public ConfirmationCreate setDeliveryMethodId(Integer value) { this.DeliveryMethodId = value; return this; } public String getAgent() { return Agent; } public ConfirmationCreate setAgent(String value) { this.Agent = value; return this; } public Integer getSellingAccountId() { return SellingAccountId; } public ConfirmationCreate setSellingAccountId(Integer value) { this.SellingAccountId = value; return this; } public Integer getBuyingAccountId() { return BuyingAccountId; } public ConfirmationCreate setBuyingAccountId(Integer value) { this.BuyingAccountId = value; return this; } public String getRequestedTermsType() { return RequestedTermsType; } public ConfirmationCreate setRequestedTermsType(String value) { this.RequestedTermsType = value; return this; } public Integer getCreditTermDays() { return CreditTermDays; } public ConfirmationCreate setCreditTermDays(Integer value) { this.CreditTermDays = value; return this; } public String getVesselType() { return VesselType; } public ConfirmationCreate setVesselType(String value) { this.VesselType = value; return this; } public String getRecapComments() { return RecapComments; } public ConfirmationCreate setRecapComments(String value) { this.RecapComments = value; return this; } public String getAgentDetails() { return AgentDetails; } public ConfirmationCreate setAgentDetails(String value) { this.AgentDetails = value; return this; } public String getAdditionalCosts() { return AdditionalCosts; } public ConfirmationCreate setAdditionalCosts(String value) { this.AdditionalCosts = value; return this; } public String getBuyerCompany() { return BuyerCompany; } public ConfirmationCreate setBuyerCompany(String value) { this.BuyerCompany = value; return this; } public String getBuyerEmailAddress() { return BuyerEmailAddress; } public ConfirmationCreate setBuyerEmailAddress(String value) { this.BuyerEmailAddress = value; return this; } public ArrayList getConfirmationGrades() { return ConfirmationGrades; } public ConfirmationCreate setConfirmationGrades(ArrayList value) { this.ConfirmationGrades = value; return this; } private static Object responseType = SavingResult.class; public Object getResponseType() { return responseType; } } public static class SavingResult { public Integer Id = null; public UUID GuidId = null; public SavingResultStatus Status = null; public ArrayList Errors = null; public Integer getId() { return Id; } public SavingResult setId(Integer value) { this.Id = value; return this; } public UUID getGuidId() { return GuidId; } public SavingResult setGuidId(UUID value) { this.GuidId = value; return this; } public SavingResultStatus getStatus() { return Status; } public SavingResult setStatus(SavingResultStatus value) { this.Status = value; return this; } public ArrayList getErrors() { return Errors; } public SavingResult setErrors(ArrayList value) { this.Errors = value; return this; } } public static class ConfirmationGradesViewModel { public Integer Id = null; public Boolean Deleted = null; public Integer ProductId = null; public Integer VersionId = null; public Integer GradeId = null; public String SpecificationComments = null; public Integer VolumeFrom = null; public Integer VolumeTo = null; public Integer UnitId = null; public Integer VolumeUnitId = null; public Double UnitPrice = null; public Integer CurrencyId = null; public Integer getId() { return Id; } public ConfirmationGradesViewModel setId(Integer value) { this.Id = value; return this; } public Boolean isDeleted() { return Deleted; } public ConfirmationGradesViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } public Integer getProductId() { return ProductId; } public ConfirmationGradesViewModel setProductId(Integer value) { this.ProductId = value; return this; } public Integer getVersionId() { return VersionId; } public ConfirmationGradesViewModel setVersionId(Integer value) { this.VersionId = value; return this; } public Integer getGradeId() { return GradeId; } public ConfirmationGradesViewModel setGradeId(Integer value) { this.GradeId = value; return this; } public String getSpecificationComments() { return SpecificationComments; } public ConfirmationGradesViewModel setSpecificationComments(String value) { this.SpecificationComments = value; return this; } public Integer getVolumeFrom() { return VolumeFrom; } public ConfirmationGradesViewModel setVolumeFrom(Integer value) { this.VolumeFrom = value; return this; } public Integer getVolumeTo() { return VolumeTo; } public ConfirmationGradesViewModel setVolumeTo(Integer value) { this.VolumeTo = value; return this; } public Integer getUnitId() { return UnitId; } public ConfirmationGradesViewModel setUnitId(Integer value) { this.UnitId = value; return this; } public Integer getVolumeUnitId() { return VolumeUnitId; } public ConfirmationGradesViewModel setVolumeUnitId(Integer value) { this.VolumeUnitId = value; return this; } public Double getUnitPrice() { return UnitPrice; } public ConfirmationGradesViewModel setUnitPrice(Double value) { this.UnitPrice = value; return this; } public Integer getCurrencyId() { return CurrencyId; } public ConfirmationGradesViewModel setCurrencyId(Integer value) { this.CurrencyId = value; return this; } } public static enum SavingResultStatus { Success, Error; } public static class SavingResultErrors { public String Error = null; public String getError() { return Error; } public SavingResultErrors setError(String value) { this.Error = value; return this; } } }